# Market Lab - **Getting Started** - [Introduction](/): Market Lab is a terminal-native runtime for market data, research, scripting, backtesting, and execution. - [Quickstart](/getting-started): Authenticate providers, inspect market data, run a backtest, and preview execution. - [Installation](/installation): Install Market Lab and configure provider credentials securely. - [Configuration](/configuration): Reuse Market Lab command settings with marketlab.toml. - [Concepts](/concepts): Understand the core Market Lab model before using individual commands. - [Examples](/examples): Real command examples for sources, studies, and strategies. - **Trading & Execution** - [Execution](/execution): Plan, simulate, submit, and monitor BULK trades through Market Lab. - Strategies - [Strategies](/strategies): Use Market Lab's native execution strategies as supervised jobs. - [TWAP](/strategies/twap): Execute a parent order through time-weighted child orders on BULK. - **Scripting** - Scripting - [Scripting](/scripting): Write local JavaScript scripts for Market Lab. - [Script API Reference](/scripting/api-reference): Reference for the script manifest, hooks, input, history, studies, and execution functions. - [Scripts](/scripting/scripts): Write, backtest, and deploy Market Lab scripts in JavaScript. - [Source History](/scripting/history): Read retained source records in live Market Lab scripts and backtests. - [Script Execution](/scripting/execution): Simulate and execute strategy scripts with ctx.trade, ctx.cancel, and onExecution. - Sources - [Sources](/scripting/sources): Market data sources and exact runtime selectors for Market Lab scripts. - [Candles](/scripting/sources/candles): Live trade-derived and historical candle behavior for Market Lab scripts. - [Orderbook](/scripting/sources/orderbook): Orderbook source configuration for Market Lab scripts. - [VD](/scripting/sources/vd): Volume delta source configuration for Market Lab scripts. - [Open Interest](/scripting/sources/oi): Open interest source configuration for Market Lab scripts. - [Volumes](/scripting/sources/volumes): Volume source configuration for Market Lab scripts. - [Built-In Functions](/scripting/built-ins): Market Lab helper functions exposed to JavaScript scripts. - Data Types - [Data Types](/scripting/data-types): Data shapes available inside Market Lab scripts. - [Candles](/scripting/data-types/candles): Normalized candle shape available to Market Lab scripts. - [Orderbook](/scripting/data-types/orderbook): Normalized orderbook snapshots for Market Lab scripts. - [VD](/scripting/data-types/vd): Normalized volume-delta records for Market Lab scripts. - [Open Interest](/scripting/data-types/oi): Normalized open interest records for Market Lab scripts. - [Volumes](/scripting/data-types/volumes): Normalized volume records for Market Lab scripts. - **Providers** - [MMT Market Data](/providers-mmt): Important behavior and constraints when using Market Lab with the MMT market-data provider. - [BULK Provider](/providers-bulk): Use BULK market data, market rules, agent credentials, and live order execution through Market Lab. - **Reference** - [CLI Reference](/cli-reference): High-level command map for the current Market Lab CLI surface. - [JSON Output](/json-output): Compact machine output, verbose mode, and stream-friendly JSONL behavior. - [v0.0.5](/changelog): Native BULK execution, detached runtimes, multi-exchange scripting, execution-aware backtesting, and TWAP.