If you check the Allow signal override checkbox, then the stopLoss parameter in your webhook will be used if it exists. If the parameter does not exist in your webhook, then the stop loss configured in the strategy settings will be used.
You can control stop losses with a relative dollar amount, a relative percentage, absolute stopPrice / limitPrice, or a portfolio PnL cap (pnlAmount) for stop and stop limit types. Do not mix pnlAmount with percent, amount, or absolute stop fields in the same stopLoss object. PnL stop loss does not apply to trailing stops.
In the following example, a stopLoss.stopPrice of $90 is calculated from the stopLoss.amount of $10 and the entry price of $100.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"amount": 10
}
}
In this example, a stopLoss.stopPrice of $90 is calculated from the stopLoss.percent of 10% and the entry price of $100.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"percent": 10
}
}
Or if you want to control the stopLoss.stopPrice directly, you can do so as well.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"stopPrice": 90
}
}
PnL-based stop loss from the webhook (stopLoss.type stop or stop_limit with pnlAmount):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"pnlAmount": 100
}
}
Free 7-day trial
Set-up in 3 minutes
Paper account for testing
Your browser didn't send the information this action needs.
That usually means a privacy tool, ad blocker, or other browser extension changed the page before you clicked. Nothing is wrong with your account.
What to try: allow this site in your ad blocker or privacy extension, use a private window with extensions turned off, or reload the page and try again.
Still stuck? Contact support and we can help.