ChristTrade Documentation

Two things are documented here. Depth is the charting library the platform is built on: open source, React, and it renders anything from plain OHLCV candles up to a full order-by-order book. STD script is an older Pine Script transpiler, kept for reference and no longer developed.

Most of what you want is under Depth.

And check out the GitHub! There is where you'll find the source code to Depth. Or just click this link.

Start here

  1. Introduction - what Depth is and why it exists
  2. Installation - the package and the bundler setup it needs
  3. Quick Start - write a data adapter and get a chart on screen
  4. Configuration - every option on a chart, and what the non-obvious ones do

How it works

  • Architecture - how data moves from your adapter to the screen
  • Data Levels - L3, L2, tick or OHLCV, and what each one unlocks
  • Data Adapters - the interface you implement to feed the chart

Building on it

  • Chart Types - candlestick, line, footprint, heatmap, and your own
  • Indicators - writing them, drawing from them, the standard library
  • Plugin System - the shared API behind TypeScript, scripted and WASM plugins
  • Trading - the matching engine, accounts and trade lines
  • API Reference - DepthChart, ChartOptions, useDepthChart and the rest

Note

Plenty of these pages are still stubs. The library is further along than its documentation, and the gaps are being filled - the Quick Start and Configuration pages are the most complete.

Help

Ask in the Discord or email hi@christtrade.com.

Was this page helpful?