Skip to content

Take profit and stop loss

Close a position automatically when price reaches a target or a stop. How a TP or SL fires, which price it watches, how it attaches to an entry or a position, and when it cancels.

On this page

A take profit (TP) closes your position when price moves your way to a level you set; a stop loss (SL) closes it when price moves against you. You set the trigger price, the price it watches and the exit type, but no size: it closes the whole position open when it fires. TP and SL work on perps, one of each per position (market and margin mode).

How it fires

ATLAS watches the trigger source, so you needn't be online. At the trigger it sends an ordinary reduce-only exit order, filled at book prices, not the trigger. Until it fires, only you can see it.

Your positionTP fires when the source isSL fires when the source isExit
Longat or above the TP triggerat or below the SL triggerSell, reduce-only
Shortat or below the TP triggerat or above the SL triggerBuy, reduce-only

Trigger price

Each side can watch a different source:

SourceWhat it followsOn a single thin trade
Mark (front-end default)The mark price, used for margin and PnLBarely moves
IndexThe index price from other venuesIgnores the ATLAS book
LastThe last trade on the ATLAS bookCan fire it

Market or limit exit

ExitWhat it doesTime in force
MarketTakes liquidity up to the protective capGTC (leftover rests at the cap) or IOC (leftover cancelled)
LimitFills at your limit or better, otherwise restsAlways GTC

FOK isn't offered. If price gaps through a limit exit, it rests unfilled, leaving you in the position with the other side active.

Attaching a TP and SL

Attach a TP, an SL or both to an entry order or to a position you hold (front ends call this Auto Close). On an entry they activate at its first fill, full or partial, and can fire before the rest fills. If you replace the entry, they follow it. With both set (an OCO), the other side is cancelled when the position is flat, not when one side fires.

An entry can be post-only, as a limit order can. An isolated entry that creates the market's isolated pool opens at the market's maximum leverage unless it names an opening margin: name one to open at a lower leverage.

Changing and cancelling

You can update a waiting side or add a missing one; a fired side can only be cancelled, with its exit. A second TP/SL on the same market and margin mode is rejected whole, entry included. Cancelling one side leaves the other; cancelling both leaves a working entry.

When ATLAS cancels a TP or SL

EventWaiting sidesA fired exit
Position goes flat or flipsCancelledKeeps working. Cancel it yourself, or it can open a position the other way
A newer reduce-only order, such as a closeStayShrunk or cancelled to make room
Mass cancel or dead-man switchActive ones stay; pending ones go with their entryCancelled
Position liquidatedCancelledCancelled
Market closed to new ordersCancelled instead of firing; a new or changed TP/SL there is refusedKeeps working

Who places your exit

ATLAS's TP/SL service sends the exit with an instruction key you bind to it with your owner key, once per account and sub-account: Reduce Only for a position you hold, Full to attach one to an entry.