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

    Function getStrategyCode

    • Get a registered strategy's source, if you still have one to read The exact source you last submitted for this id — the same text POST /strategy derives strategyId from, whitespace and comments included.

      "If available", not "always". A strategy you resolve only through a shared/marketplace listing you copied by reference carries no source of its own, and reads as a 404 here the same as a strategyId you never registered — that is the honest answer either way, since from this endpoint's point of view nothing is there to return.

      Type Parameters

      • ThrowOnError extends boolean = false

      Returns RequestResult<{ code: string; strategyId: string }, ResponseError, ThrowOnError>