Documentation menu
Documentation

Use Lightwick through your agent.

Connect Codex—or any MCP client—to research strategies against the completed market data Lightwick has captured. You can review the script, but you do not need to write one yourself.

Research only. Lightwick MCP cannot place orders, activate a strategy, or access live-trading state.

The research loop

The safest path is also the most useful one: inspect the data, understand the signals, and reserve judgment until the result survives data it was not fitted against.

  1. 1

    Discover the data

    list_series

    See which completed-bar series Lightwick has captured.

  2. 2

    Inspect its quality

    get_bars

    Check date coverage, price scale, and the largest observed gap.

  3. 3

    Create safely

    create_strategy

    Compile before saving; invalid source never reaches the library.

  4. 4

    Explain the behavior

    evaluate

    Inspect every signal, plot coverage, risk value, and diagnostic.

  5. 5

    Test the idea

    backtest

    Apply instrument sizing, costs, slippage, and next-bar execution.

  6. 6

    Challenge the result

    optimize

    Compare in-sample and withheld data, then inspect grid stability.

  7. 7

    Commit before believing

    start_forward_test

    Freeze the source and inputs before future bars arrive.

One workflow, two surfaces

MCP is the primary interface. Lightwick Script is the deterministic strategy format the agent reads and writes underneath it.

Before you begin

  • Lightwick for macOSThe app captures completed bars and owns the strategy library.
  • An MCP clientCodex, Claude Code, Cursor, or another client that launches stdio servers.
  • Captured dataOpen a symbol and timeframe in Lightwick, or queue a backfill while the app is connected.
  • Lightwick Pro for researchAuthoring and validation remain available; backtesting and optimization are entitlement-gated.