Preview Deploy

PREVIEW, THEN COMMIT (2026-10-14): what POST .../deploy with this SAME body would do — computed on the deploy's own code path — with NOTHING written except one agent-audit row (action deploy_preview).

Same auth as the deploy: the session owner, or the desk's OWN account key pair (a pair for another desk is 403, an unknown pair 401, a stranger's session the same 403 "not your account" a missing desk gets). A pair needs only the 'read' capability — a preview changes nothing — and rides the same per-key rate limit every pair read does.

Runs the deploy's spec resolution + normalization (side aliases, the universe default, the name) and its checks (validate_spec(for_live=True), the plan's clock, the walker's vehicles, survivorship) — the SAME helper functions, not a copy — so errors are the deploy's own words and normalized_spec is exactly what a deploy would store. Returns the resolved caps (named member-set / platform default / unset), the disclosures + defaults the deploy response would carry, a per-trade cost estimate where it is knowable, the desk's available buying power, a plain-words risk summary, and preview_id to pass to the deploy. ADVISORY ONLY: nothing here can refuse a later deploy.

post/v1/me/accounts/{account_id}/deploy/preview

Request

  • Base URL: https://api.quantradin.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.quantradin.com/v1/me/accounts/{account_id}/deploy/preview
  • Auth: none declared

Path parameters

account_idinteger required

Request body

strategy_specobject nullable
strategy_idinteger nullable
namestring nullable
descriptionstring nullable
acknowledge_weakboolean
requires_approvalboolean
preview_idstring nullable

Response

Successful Response

preview_idstring nullable
account_idinteger required
read_onlyboolean
validboolean required
errorsstring[]
would_deployboolean
blocked_byobject[]
normalized_specobject nullable
namestring nullable
modestring
statusstring
capsobject nullable
disclosuresstring[]
defaults_appliedstring[]
estimated_trade_costobject nullable
deskobject nullable
risk_summarystring[]
next_stepstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.