Order types
limit rests at a price you set. market executes immediately against the book at the best available prices.buy or sell.How long an order stays active:
gtc rests until filled or cancelled, ioc fills what it can immediately then cancels the rest, fok fills fully or cancels entirely.Rejects the order if it would take liquidity — guarantees you stay on the maker side.
Prevents the order from increasing your position — used for exit-only orders.
Your own id for idempotent tracking of an order.
marginMode (isolated or cross) and optional protective triggers (stopPrice, takeProfitPrice, stopLossPrice).
Preview before you trade
Every order endpoint has a preview sibling that dry-runs the order with no side effects. It returns the notional, estimated fee, your fee role and tier, the margin required, and whether the order would be approved. Use it to size safely.Placing orders
Perp and futures orders share the same API (
/perps/orders). Option and spot orders use /orders (with an /options/orders alias). Multi-leg option strategies use /orders/strategy.Multi-leg option strategies
Combine 2–8 option legs into a single strategy (for example a call spread or straddle). Strategies are all-or-none-immediate: every leg must fully fill or the whole strategy is rejected.Order lifecycle
Submit
You place (or preview) an order. It passes a margin check before acceptance; a rejected order returns an insufficient-margin error.
Match or rest
A marketable order matches immediately against the book. Any unfilled remainder either rests (
gtc), cancels (ioc), or voids the whole order (fok). A postOnly order that would take liquidity is rejected outright.Fill
As the order executes, fills are generated. Each fill records its price, quantity, and whether you were the maker or taker (
liquidity). Fills update your position in real time.Fees: the maker–taker model
OCX uses a standard maker–taker fee model with volume-based tiers — the higher your rolling 30-day volume, the better your rates. On the top tiers the maker side can be a rebate (a negative maker fee), rewarding you for providing liquidity.- Maker — your order rests on the book and is filled by someone else. Lower fee, and potentially a rebate.
- Taker — your order removes liquidity from the book. Higher fee.