Placing Orders
Place quote-gated market orders and resting limit or stop orders with correct sizing, idempotency, and lifecycle handling.
Market order sequence
- Request
GET /quote/{symbol}with the account, side, and exactquantityorcashValue. - Validate
quoteExpiresAt, fees, currency, and sufficient funds. - Submit
POST /tradeorPOST /users/{userId}/tradewith the matchingquoteId. - Include a unique
Idempotency-Key. - Follow the order through REST, SSE, or signed webhooks.
Resting order sequence
LIMIT, STOP, and STOP_LIMIT orders supply trigger/limit prices and do not use quoteId. They return WORKING while resting, may trigger later as order.triggered, and can be cancelled while active.
Every write must be safe to retry with the same idempotency key. A new key represents a new operation, not a retry of the previous request. See Order Lifecycles for terminal states and Advanced Order Types for triggers and expiry.
Was this page useful?
Your signal helps us tighten partner onboarding docs.
Last updated on