The performance chart of your strategy
/strategies /{strategyId} /performanceThe strategy's performance as one continuous line of daily values: a backtest, where one
was published, then the live model from launched_on. The body is the same one followers
see for a published strategy, and it is also served for your draft strategies. Empty
segments and points mean no line exists yet. A line starts on its own at the first daily
update after your first target weights reach a final status (completed, lapsed or
halted) while the strategy is active, at a value of 1 on the last market close.
days counts back from the newest point on the line.
Request
Responses
- 200
- 400
- 401
- 403
- 429
OK
invalid_request: an unknown query parameter or days outside 1 to 1100. invalid_strategy_id when the path segment is empty or longer than 64 characters.
unauthorized: no credential was sent at all (breaking change: this used to beinvalid_api_key), or a dashboard session failed verification: the access token is missing, malformed or expired, or the identity token is missing or belongs to a different login.invalid_api_key:X-API-Keyis malformed, unknown, or belongs to a different Treasures API.key_revoked: this key has been revoked; mint a new one or ask Treasures.
strategy_forbidden: this strategy is not assigned to you. The same response is returned for a strategy id that does not exist, so the id space cannot be probed; check the id with your Treasures contact. It is decided before the query string is read.manager_suspended: your account is suspended; every key you hold and your dashboard session are refused until Treasures reactivates it.manager_not_linked: a valid dashboard login that is a Member of no Organization with a manager account.organization_suspendedandpermission_deniedas on every route.
More than 60 requests in the last minute across every key you hold, or more than 120 across your dashboard sessions; each kind has its own budget. The Retry-After header carries the seconds to wait.
Response Headers
Seconds to wait before retrying.