Skip to content

Orders and order options

Limit and Market orders, price collars, time in force, and the post-only, reduce-only and self-trade prevention options.

On this page

Every order has an order type, Limit or Market, which sets the worst price you accept, and a time in force, GTC, IOC or FOK, which decides what happens to size that doesn't fill on arrival. Both work on every perp and spot pair. Every order needs a time in force: Market doesn't imply IOC. Good-til-date and iceberg orders aren't offered.

Limit orders

A limit order names the worst price you accept: a buy fills at your price or lower, a sell at or above. Whatever crosses on arrival trades as a taker at the resting orders' prices; a GTC leftover rests at your limit price.

Market orders

A market order has no price of its own: ATLAS sweeps the book up to a protective cap, never past it.

The protective cap

The cap sits the market's aggressive collar width away from the mark price: above mark for a buy, below for a sell. Because it comes from the mark, not the book, a Market order can fill nothing if the book has moved further from the mark than that. With GTC, size the sweep couldn't fill rests at the cap as a limit order; a later mark move doesn't reprice it.

Price collars

A limit price must sit inside a price collar around the mark price, or the order is rejected; ATLAS never moves it to fit.

WidthWhat it limitsAllowed rangeAt launch
PassiveHow far from mark a resting order may sit (buy below, sell above)1% to 50%50% on every market
AggressiveHow far through mark an order may be priced (buy above, sell below)0% to 15%1.25% (BTC), 2.5% (ETH, SOL, XRP, XAU, US500, US100), 5% (every other perp and both spot pairs)

The edges are inclusive. The collar is checked only at placement, so a resting order isn't cancelled when the mark moves. Widths are on Perpetual markets and in the Market data API.

Time in force

What crosses on arrivalThe restLeftover price
GTC, good til cancelledTradesRests until it fills or you cancel it. ATLAS never expires itYour limit, or the Market cap
IOC, immediate or cancelTradesCancelled. Nothing restsNone
FOK, fill or killTrades only if the whole size fills nowNone. Otherwise the whole order is cancelled and nothing tradesNone

A TP or SL exit has its own time in force: see Market or limit exit.

FOK

A FOK order fills its whole size or not at all, at your limit or better (inside the cap for a Market order). A killed FOK changes nothing, pays no fee and shows as cancelled, not rejected.

  • Your own resting orders don't count (self-trade prevention, by your STP level), so a FOK can be killed when the book looked deep enough.
  • FOK can't be reduce-only, so a Close position can't be FOK (send IOC). It isn't offered on TP or SL exits or entries with an attached TP/SL.

Rejections

An order is rejected whole if it lacks a time in force or (for a limit) a price, has a zero quantity, breaks the market's tick, lot, collar, size or minimum value limits, lacks margin, or is a disallowed combination. A perp order that reduces your position is rejected if priced past your bankruptcy price: see Closing positions. Every check is on Pre-trade checks, and the reject codes on Errors.

Order options

Three options change how an order behaves: post-only, reduce-only and self-trade prevention.

Post-only

If any part of a post-only order would match on arrival, ATLAS rejects the whole order rather than repricing it; otherwise it rests as a maker. A buy of 1 that would take 0.4 is rejected.

  • The check uses the book on arrival, not when you sent it.
  • It needs Limit + GTC; any other combination is rejected.
  • One that would cross your own resting order is rejected, and your resting order stays.

Post-only suits quoting: you never pay a taker fee by accident. See Maker rebates.

Reduce-only

A reduce-only order can only make your position smaller. When placed, it is sized so it can't open a position or flip you. Closes, triggered take profits and stop losses and liquidation orders are all reduce-only.

Your position, for this orderResult
None, or on the order's own side (a buy while long)Rejected
At least the order's sizeAccepted in full
Smaller than the order's sizeAccepted at your position size

Reduce-only works on perps only (rejected on spot), with GTC or IOC.

Your older orders make room

When a reduce-only order trades or rests and your resting orders on that side, reduce-only or not, would together close more than your position, the oldest give way first: wholly covered ones are cancelled, and the last is shrunk, keeping its price and queue place.

Auto-deleveraging shrinks your orders the same way. An unfired take profit or stop loss doesn't count.

Self-trade prevention

Self-trade prevention (STP) is always on, in every market, with no per-order setting. When your incoming order would match your own resting order, ATLAS cancels the whole resting order, prints no self-trade, and the incoming order continues down the book. The incoming order, such as a hedge, is never the one cancelled.

STP level

One wallet-wide setting decides whose orders count as yours:

LevelYour orders are "you" when they are onUse it when
Account (default)The same accountYour accounts may trade with each other, for example to move a position to a sub-account
WalletAny account of the wallet: Main and every sub-accountDesks or strategies on sub-accounts must never trade with each other

STP never reaches past one wallet. Your owner key sets the level; it applies from the next match and cancels nothing. A new sub-account takes the wallet's level.