POST /orders/, listed via GET /orders/, and canceled via PATCH /orders/{id}/cancel/. For higher-throughput flows, you can also submit, update, or cancel up to 20 orders at once, or cancel everything on your account in a single call.
Order types
- Market order
- Limit order
Set
price to null to place a market order. The order executes immediately at the best available price in the order book.Use market orders when you want guaranteed execution and don’t need to control the exact price.Side: bid vs ask
Theside field specifies whether you are buying or selling shares.
Position: long vs short
Theposition field specifies which direction you are betting.
Long and short positions can both be bought (
bid) or sold (ask). For example, selling a long position (ask + long) reduces your existing long exposure.Order lifecycle
Order fields reference
expired_at
expired_at
Set
expired_at to an ISO 8601 datetime string to automatically cancel any unfilled portion of the order after that time.If omitted, the order remains open until filled, manually canceled, or the event closes.cancel_conflicting_orders
cancel_conflicting_orders
Set
cancel_conflicting_orders to true to automatically cancel any of your existing open orders on the same market that would conflict with the new order before placing it.This is useful when you want to change your position without manually canceling previous orders first.