@qtsurfer/sdk
    Preparing search index...

    Interface BacktestOptions

    interface BacktestOptions {
        maxPollIntervalMs?: number;
        onProgress?: (p: BacktestProgress) => void;
        pollIntervalMs?: number;
        signal?: AbortSignal;
        timeoutMs?: number;
    }
    Index
    maxPollIntervalMs?: number

    Upper bound for exponential backoff. Default 5000ms.

    onProgress?: (p: BacktestProgress) => void

    Called on stage transitions and after each poll with updated progress.

    pollIntervalMs?: number

    Initial interval between polls. Default 500ms, backed off up to maxPollIntervalMs.

    signal?: AbortSignal

    Abort the workflow. Cancels the current poll and calls cancelBacktest server-side if execution has started.

    timeoutMs?: number

    Per-stage timeout. Default none.