> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notional.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Order Types

Notional supports the core order types traders expect from a perpetuals exchange.

* Market: An order that attempts immediate execution using exchange liquidity.
* Limit: An order that executes at the selected limit price or better.
* Stop market: A market order that activates when the stop-loss trigger price is reached.
* Stop limit: A limit order that activates when the stop-loss trigger price is reached.
* Take market: A market order that activates when the take-profit trigger price is reached.
* Take limit: A limit order that activates when the take-profit trigger price is reached.
* TWAP: A larger order divided into smaller suborders over time.
* Reverse: Closes the current position and opens an equal-size position in the opposite direction.

Notional does not currently support Scale orders.

## TWAP

During execution, a TWAP attempts to stay on pace with its schedule. If earlier suborders do not
fully fill because of market conditions, later suborders may be larger as the TWAP tries to catch up.

TWAP orders may not fully complete if market conditions do not allow enough suborders to fill by the
end of the schedule.

Perp TWAPs can be reduce-only. Spot TWAPs execute against `HL_SpotPair` markets and are not
reduce-only; spot buy slices use the protocol spot-prefund flow before reaching the venue.

## Order Options

| Time in force             | Meaning                                                       |
| ------------------------- | ------------------------------------------------------------- |
| Good Til Cancel (GTC)     | The order remains open until filled or canceled               |
| Immediate or Cancel (IOC) | Any unfilled amount is canceled immediately                   |
| Post Only (ALO)           | The order must rest on the book rather than cross immediately |

Traders can mark supported orders as reduce-only. A reduce-only order reduces a current position
instead of opening or increasing one in the opposite direction.

TP/SL orders are trigger orders. They can be associated with a parent order or attached to an
existing position. They are commonly used to set targets, protect profits, or limit losses.
