Strategy

List your registered strategies

Every strategy you have registered and not deleted, most recently compiled first.

Each entry carries the same provenance GET /strategy/{strategyId} does — compiledAt, requiredSources — but not its validation state, so listing stays cheap regardless of how many strategies you have. Check a specific strategy's validation with GET /strategy/{strategyId}.

With includeDeleted=true, strategies you have deleted are listed too, each with the deletedAt it was deleted at — useful to keep a copy of your list in sync, telling a deleted strategy apart from one that never existed.

get/strategies

Request

  • Base URL: https://api.qtsurfer.net/v1
  • URL: https://api.qtsurfer.net/v1/strategies
  • Auth: HTTP bearer

Query parameters

includeDeletedboolean

true also lists the strategies you have deleted, each with its deletedAt. Any other value, or leaving it out, lists only the ones you have not deleted.

Response

Your registered strategies. An empty array if you have none — this is never a 404.

Example response

{
  "strategies": [
    {
      "strategyId": "6bsh31ikwkuivhtgcoa6s4"
    }
  ]
}

Changes

No operation changes recorded.