@qtsurfer/api-client
    Preparing search index...

    Function startLive

    • Start a strategy on a live market feed Starts your strategy against a live market feed. A new run always begins in the sandbox stage — a short trial that compares an independent second execution against the first for agreement — before it is eligible for promotion to the live stage where it actually publishes signals other systems can act on. Poll GET /strategy/{strategyId}/live (or PATCH/DELETE /live/{runId} once you have the runId) to watch stage move from SANDBOX to LIVE.

      Only one run per strategy at a time — starting again while one is already running is 409; stop the current one first.

      sources takes exactly one entry today (multi-source strategies are not supported yet). type is ticker or kline; anything else is rejected. Both connect to the lightest (fastest) cadence available for the exchange — today that is 1 tick/second on every supported exchange; choosing among several cadences is not offered yet.

      params is passed straight through to the strategy at start — the same free-form object POST /strategy/{strategyId}/validate and the backtest endpoints already accept. To change a parameter while the run is live, use PUT /live/{runId}/params instead; this endpoint only sets the values a run starts with.

      Consuming a run's own output — its signals, and updating its parameters over a live connection instead of polling — is a WebSocket protocol on top of these REST endpoints; see the "Live execution" guide linked from this tag's description for the full flow (minting a connection token, the channel and RPC method).

      Type Parameters

      • ThrowOnError extends boolean = false

      Parameters

      Returns RequestResult<LiveRun, ResponseError, ThrowOnError>