Use the Take profit percent field to dynamically calculate a limit price for your take profit using a relative percentage. For example, if you configured your Take profit percent to be 10% and we enter at $100, the limit price would be $110.
You can also control this from the webhook as well. Any take profit 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,
"takeProfit": {
"percent": 10
}
}
Or if you want to calculate your own take profit limit price, you can do so as well by sending an explicit limitPrice in your webhook.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"takeProfit": {
"limitPrice": 110
}
}