MarketLab Docs
Scripting

Scripting

Write local JavaScript extensions for Market Lab.

Scripting

Market Lab scripting lets you write local JavaScript that runs inside the CLI.

The CLI owns provider access, market data loading, validation, and output envelopes. Your script owns the study or strategy logic.

Start with study scripts:

Strategy scripting will follow the same boundary later: script logic returns structured output, and Market Lab owns runtime, risk, and actions.

On this page