Orders
Buying opens or adds to a long, selling opens or adds to a short. Every order is checked against your margin before it is placed. See Margin.
Order types
- Market fills against the book straight away at the best available prices.
- Limit fills at your price or better. Choose how long it lives with Time in force:
| Name | What happens | |
|---|---|---|
| GTC | Good til cancelled | Rests on the book until it fills or you cancel it. The default on perps |
| IOC | Immediate or cancel | Fills whatever is available at your price or better right now; the rest is cancelled |
| FOK | Fill or kill | Fills the whole size immediately, or places nothing at all |
| ALO | Add liquidity only | Only rests as a maker, and is rejected if any of it would fill immediately |
Reduce-only orders can only shrink a position, never open or flip one.
Price limits
A limit order can't rest on the book too far through the mark price: a buy more than the market's band above the mark, or a sell more than the band below it, is rejected. The band is 2.5% on BTC-PERP and ETH-PERP, 5% on BNB-PERP, HYPE-PERP, SOL-PERP and XRP-PERP, and 10% on every other market. It only applies to the part of an order that would rest; an order that fills straight away is bounded by its own limit price instead.
Take profit and stop loss
A take profit (TP) closes a position when the price reaches your target, and a stop loss (SL) closes it when the price moves against you. Both are reduce-only.
- Set them on a new order, or on an open position from the positions table.
- On a limit order, TP/SL can be armed before it fills only with GTC or ALO, the time-in-force options that rest on the book.
- They show as lines on the chart, where you can drag them to a new price or cancel them.
TP and SL are not available on LIT-PERP.
TP and SL hold a little SOMI
Each pending TP or SL holds 0.15 SOMI from your account. It pays for the transaction that fires the trigger: it is used if the order triggers, and refunded if you cancel it. Keep enough SOMI in the account for every TP and SL you want open.