Installation
Install the Market Lab CLI and connect it to MMT.
Installation
Market Lab is distributed as a downloadable CLI binary.
Requirements
curltar- an MMT API key for provider-backed commands
Supported Platforms
Current binary releases are published for:
- macOS arm64
- Linux x64
- Linux arm64
Install
curl -fsSL https://marketlab.sh/install.sh | shInstall a specific version:
curl -fsSL https://marketlab.sh/install.sh | sh -s -- v0.0.1Environment
Get an API key from Market Monkey Terminal
export MMT_API_KEY=your_keyVerify Install
mlab --version
mlab --helpQuickstart in 60 Seconds
Export your MMT API key:
export MMT_API_KEY=your_keyCheck connectivity:
mlab health --provider mmtInspect the orderbook:
mlab source orderbook \
--provider mmt \
--exchange bybitf \
--symbol BTC/USDT \
--depth 20Estimate slippage:
mlab study slippage \
--provider mmt \
--exchange bybitf \
--symbol BTC/USDT \
--side buy \
--notional 100000Run a historical strategy backtest:
mlab strategy backtest sma-crossover \
--provider mmt \
--exchange bybitf \
--symbol BTC/USDT \
--timeframe 60 \
--from 1779660000000 \
--to 1779705600000Provider Support
Market Lab currently supports only one external provider/data source:
More providers will be integrated over time, but the current docs and examples assume mmt.