AMM orders
AMM orders execute instantly at the calculated price.CLOB orders
CLOB orders support different execution strategies through time-in-force options.Time-in-force options
- GTC (Good Till Cancel) — stays on the book until filled or manually cancelled. Default for limit orders.
- FAK (Fill and Kill) — execute as much as possible immediately, cancel any unfilled portion.
- FOK (Fill or Kill) — execute entirely or cancel completely. No partial fills.
- GTD (Good Till Date) — remains active until a specified expiry time.
Order types
- Limit orders — specify the max price you’ll pay (buy) or min price you’ll accept (sell). Execute at your price or better.
- Market orders — execute immediately at the best available price.
Order statuses
- pending — order received and being validated.
- open — active on the book, waiting for matches.
- partial_filled — some shares executed, remainder still on book (GTC/GTD only).
- filled — completely executed.
- cancelled — cancelled by user or system.
- rejected — failed validation.
- expired — GTD order reached expiry time without filling.