Installation
Install Market Lab and configure provider credentials securely.
Installation
Market Lab is distributed as a downloadable CLI binary.
Requirements
curltar- an MMT API key only when using the MMT provider
- a BULK account only if you want to prepare an agent wallet for the upcoming execution adapter
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.1MMT Market Data
Get an API key from Market Monkey Terminal
mlab auth set mmtMarket Lab stores the key in the operating system keychain. Use MMT_API_KEY only for CI or other non-interactive environments.
BULK Market Catalog
Inspect the BULK market catalog without credentials or a network request:
mlab markets --provider bulk
mlab markets --provider bulk --symbol BTC/USDTPublic BULK market data also works without credentials:
mlab health --provider bulk
mlab source orderbook --provider bulk --symbol BTC/USDT --depth 20BULK Agent Wallet
Market Lab can prepare an authorized BULK agent wallet:
mlab auth set bulkThe command generates the agent locally, stores it in the operating system keychain, and asks for the main wallet private key through a hidden prompt to authorize the agent. Market Lab does not store the main wallet private key.
Check both credential integrations:
mlab auth statusMarket Lab order execution is not available yet. See BULK Provider for market-data behavior, catalog rules, agent setup, retry, removal, and security behavior.
Verify Install
mlab --version
mlab --helpQuickstart in 60 Seconds
Configure your MMT API key:
mlab auth set mmtCheck 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 1779705600000Integration Support
Market data currently comes from:
MMT provides multi-venue data and requires an API key. BULK public market data requires no credential. Current built-in study, strategy, and script examples use --provider mmt; BULK is currently available through source, health, and markets.