Skip to main content

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

  1. pending — order received and being validated.
  2. open — active on the book, waiting for matches.
  3. partial_filled — some shares executed, remainder still on book (GTC/GTD only).
  4. filled — completely executed.
  5. cancelled — cancelled by user or system.
  6. rejected — failed validation.
  7. expired — GTD order reached expiry time without filling.