CLI Reference
High-level command map for the current Market Lab CLI surface.
CLI Reference
Current top-level commands:
inspectreplaysourcestudystrategyhealth
Inspect
Historical or reconstructed market-state inspection.
Example:
cargo run -- inspect --provider mmt --exchange binancef --symbol BTC/USDT --at 1779399687271 --depth 20 --output terminalSource
Raw provider-facing commands.
Current source commands:
source orderbooksource candlessource vd
Examples:
cargo run -- source orderbook --provider mmt --exchange bybitf --symbol BTC/USDT --depth 100 --output jsoncargo run -- source candles --provider mmt --exchange binancef --symbol BTC/USDT --timeframe 60 --from 1779880000000 --to 1779883600000 --output jsoncargo run -- source vd --provider mmt --exchange bybitf --symbol BTC/USDT --timeframe 60 --from 1779620400000 --to 1779624000000 --bucket 1 --output jsonStudy
Derived metrics and calculations.
Current study commands:
study spreadstudy depthstudy imbalancestudy slippagestudy vampstudy cvd
Examples:
cargo run -- study spread --provider mmt --exchange bybitf --symbol BTC/USDT --depth 20 --output jsoncargo run -- study slippage --provider mmt --exchange bybitf --symbol BTC/USDT --side buy --notional 100000 --depth 100 --output jsonStrategy
Time-series logic over provider data.
Current strategy commands:
strategy run sma-crossoverstrategy backtest sma-crossover
Run mode:
cargo run -- strategy run sma-crossover --provider mmt --exchange bybitf --symbol BTC/USDT --timeframe 60 --output terminalBacktest mode:
cargo run -- strategy backtest sma-crossover --provider mmt --exchange bybitf --symbol BTC/USDT --timeframe 60 --from 1779660000000 --to 1779705600000 --fast 20 --slow 50 --confirm-bars 1 --output terminalNotes:
strategy runis live modestrategy backtestis historical modestrategy runcan accept optional--fromas a warmup anchorstrategy backtestrequires--fromand--to
Health
Provider health and connectivity checks.
cargo run -- health --provider mmt --output json