Order Types
N1 supports four CLOB order types.
| Type | Execution |
|---|---|
| Limit | Trades at the limit price or better, then posts any remaining quantity |
| Post-only | Posts only if it would not execute immediately; otherwise the entire action is rejected |
| Immediate-or-cancel (IOC) | Executes immediately up to the order constraints and cancels the remainder |
| Fill-or-kill (FOK) | Fills the entire requested amount immediately or cancels without a partial fill |
IOC and FOK orders do not rest on the book. An immediate order without a price limit executes against available liquidity and remains limited by its specified amount.
Reduce-only
Reduce-only may be applied to a perpetual order. The order must be opposite the current position and cannot increase exposure or flip the position.
Reduce-only execution is capped at the current position size. If the position changes, open reduce-only orders may be resized or canceled to prevent them from exceeding the remaining position.