How ATLAS works
Where your funds sit, how orders are checked and matched, and what happens when margin runs out.
On this page
Every order takes one path, under three design rules: strict FIFO sequencing, firm liquidity and final fills. A margin check admits it, the book matches it, and the fill updates your position.
Where your funds sit
Your wallet is your account, opened by a deposit (no fee, no minimum) and your first signature. Its Main account and each sub-account have their own balance; one never backs another. Your owner key moves money out; instruction keys trade but never move funds out of the wallet. A token with no route into ATLAS isn't credited or refunded. See Account model and Deposits.
Margin
Each perp position is cross or isolated; many launch markets are isolated only. Cross positions share one pool. An isolated position has its own, and its loss stops there. The instrument's maximum leverage sets the initial margin an order needs and the maintenance margin a position must keep; there is no leverage setting. See Margin modes and Margin requirements.
Matching
ATLAS sequences orders strictly by arrival, with no priority lane, not even for cancels, and fills them best price first, then earliest. Liquidity is firm: a maker can't decline a fill, and there's no last look. A limit order never fills worse than its limit; a market order never trades past its price cap. See Orders.
A fill is final: nothing cancels, reprices or reverses it, even at a price you didn't intend. Your protection comes first: pre-trade checks reject an order off its tick or lot, below the minimum order value, outside the price band or short of initial margin.
Positions, prices and funding
Fills on a perp net into one position per account. PnL stays unrealised until you reduce or close, then goes into your USDT balance. The mark price, anchored to an outside index price, values positions and drives liquidation. Funding settles hourly in USDT: longs pay shorts when the contract trades above the index, shorts pay longs below it. See Funding.
When margin runs out
When your cross book, or an isolated position on its own, falls below maintenance margin at the mark, liquidation closes it in parts on the book at the normal taker fee, with no liquidation fee at launch; leftover equity stays with you. If the book can't finish, the position backstop can take it over at the mark, and auto-deleveraging is the last step. An isolated liquidation never reaches your cross book, or the reverse. See Liquidation and Risk waterfall.