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

    Function validateStrategy

    • Check that a registered strategy can actually run Instantiates the compiled class and drives it through a bounded synthetic series, so a wiring fault surfaces here instead of at your first backtest. The verdict — pass or fail, plus any engine notices — is recorded and served from GET /strategy/{strategyId}.

      Idempotent. If a verdict already exists for the current compilation it comes straight back with 200 and nothing is queued. Otherwise the check is queued and this returns 202; poll GET /strategy/{strategyId} until validation is passed or failed.

      Recompiling supersedes a verdict, which makes this callable again — the old answer described bytecode that is no longer what would run.

      Type Parameters

      • ThrowOnError extends boolean = false

      Returns RequestResult<ValidateStrategyResponse, ResponseError, ThrowOnError>