Skip to content

Examples

Source files and sample data are in docs/examples/.

Example Language What it shows
Backtest & live Python Same strategy class runs in backtest, sync live, and threaded live
Multi-symbol Python Two symbols, two timeframes, pairs spread strategy
Live via ccxt Python Binance WebSocket feed wired to a live strategy
Backtest & live Node.js Same strategy object runs in backtest, sync, and threaded modes
Backtest & live Codon Same as Python example, compiled to native
Full API Codon Exercises indicators, order books, profiles, statistics, position tracking
SMA backtest C++ SMA crossover replayed through BacktestRunner