All docs
Account-level stoploss and trailing stoploss
An account-level stoploss sets the loss at which Quantplay closes every open position on an account. It exits after the limit is crossed, so slippage can take the final loss slightly past it.
How it works

- Enter the stoploss as a negative number: the maximum loss you accept on the account.
- For a trailing stoploss, add a positive trail value. The stoploss then moves up as your profit grows.
- When the limit is reached, Quantplay squares off all open positions on the account, usually within 5 to 10 seconds.
The stoploss runs on Quantplay's servers, so it applies even when your browser is closed, and it covers orders placed by an AI agent too. It exits positions after the limit is crossed; it doesn't block new orders.
Need help?
Message us on WhatsApp or email hello@quantplay.tech.