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 when Allow signal override next to the stop loss settings (or the global Allow signal overrides) is enabled. 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
By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.