Introduction
Market Lab is a local terminal for algorithmic trading and market making.
Market Lab is a local terminal for algorithmic trading and market making.
Use it to inspect markets, write custom script (strategies) in Python (V2) or JavaScript, deploy automated trading jobs, and manage live execution from the command line.
Earn from Outcome’s $1M reward poolChoose a live campaign market and run a Market Lab bot. The builder fee is 0%.What You Can Do
| Task | Command | Guide |
|---|---|---|
| Find markets and symbols | mlab markets | Market catalog |
| Read market data | mlab source | Sources |
| Calculate a market study | mlab study | Studies |
| Place a direct order | mlab trade | Execution |
| Run an execution algorithm | mlab strategy | Strategies |
| Run a market maker | mlab bot | Bots |
| Backtest or deploy code | mlab script | Python · JavaScript |
| Supervise live jobs | mlab daemon | Daemon |
How It Fits Together
market data -> strategy, bot, or script -> mlabd -> execution venue- Market data can come directly from an exchange or through MMT.
- Your logic can be built in or written in Python or JavaScript.
mlabdkeeps live jobs, orders, fills, and state running after the terminal closes.- Execution goes directly to the selected venue from your machine.
Market data and execution are separate. A script can read one exchange and execute on another.
Install
curl -fsSL https://marketlab.sh/install.sh | bashmlab --version
mlab --helpContinue with Installation for backend and PATH options, or Quickstart to run the first commands.
Symbols
Perpetual markets use the base asset:
BTC
ETH
TSLASpot markets use the exact pair:
BTC/USDT
HYPE/USDCUse mlab markets or the web catalog when unsure.
Authentication
Standalone public market data does not need a credential. MMT data, private account state, and live execution do.
See Authentication.