Use the Stop loss percent field to dynamically calculate a stop price for your stop loss using a relative percentage. For example, if you configured your Stop loss percent to be 10% and we enter at $100, the stop price would be $90.
You can also control this from the webhook as well. Any stop loss you send in your webhook will be used instead of the one configured in the strategy settings.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"percent": 10
}
}
Or if you want to calculate your own stop loss stop price, you can do so as well by sending an explicit stopPrice in your webhook.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"stopPrice": 90
}
}
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.