Market LabDocs

Introduction

Market Lab is a terminal-native runtime for market data, research, scripting, backtesting, and execution.

Market Lab gives traders, researchers, scripts, and AI agents one command surface for market data, quantitative studies, historical simulation, and validated execution.

Install:

curl -fsSL https://marketlab.sh/install.sh | sh

The CLI is organized around these command groups:

  • markets
  • source
  • study
  • script
  • strategy
  • trade
  • positions
  • orders
  • fills
  • cancel
  • close
  • daemon
  • auth
  • health
  • status
  • upgrade

Market Lab currently integrates with:

  • Market Monkey Terminal provides multi-venue market data
  • BULK provides native public market data, embedded market rules, account state, and live order execution through mlabd

Live execution is explicit. CLI orders require confirmation; script execution requires --venue bulk and direct ctx.trade or ctx.cancel calls. --dry-run and script backtest never sign or submit live orders.

Start Here

  1. Quickstart
  2. Installation
  3. Examples
  4. Execution
  5. Strategies
  6. Scripting
  7. CLI Reference
  8. v0.0.5 Changelog

On this page