Market LabDocs

Concepts

Understand Market Lab's core terms and boundaries.

Core Terms

TermMeaning
ProviderA service that routes data, such as MMT
ExchangeThe market-data exchange selected with --exchange
VenueThe live execution destination selected with --venue or a Python request
SourceRaw market data such as candles, trades, or an orderbook
StudyA calculation over market data
StrategyA built-in algorithm that executes a side and amount you chose
BotAn autonomous trading system that makes its own quoting decisions
ScriptCustom Python or JavaScript logic
JobA deployed strategy, bot, or script
Daemonmlabd, the supervisor that keeps live jobs and order state running

Data and Execution Are Separate

A script can read one exchange and execute on another:

Binance data -> your script -> mlabd -> Hyperliquid execution

Reading public market data never enables trading. Live execution requires an explicit venue or exchange request and a configured credential.

Strategy, Bot, or Script

  • Use a strategy when you already know the side and amount but want Market Lab to schedule the order.
  • Use a bot when the system should decide what to quote as the market changes.
  • Use a script when you need custom logic.

Symbols

Perpetual markets use the base asset, such as BTC. Spot markets use the exact pair, such as HYPE/USDC. Outcome markets use <outcome-id>:<side>, such as 1009:0.

See Markets.

Time

CLI ranges use UTC dates or date-times:

--from 2026-07-15
--to "2026-07-15 16:00:00"

Date-only values mean midnight UTC. Data records may still expose millisecond fields such as t or ts_ms; Market Lab converts provider-specific units internally.

Output

  • terminal: human-readable output
  • json: one machine-readable result
  • jsonl: stream of machine-readable events

See JSON Output.

On this page