Hi Dhan Team,
I would like to know whether the normal Trailing Stop-Loss with SL-Limit (SL-L) is available in DhanHQ API.
My requirement is specifically for option buying.
Currently:
- Normal Dhan API supports
STOP_LOSSwithtriggerPriceandprice, so SL-Limit orders can be placed. - However, I do not see any native
trailingJumpparameter for a normal SL-Limit order. - Super Order API provides
trailingJump, but the Super Order SL/TP exits are executed as Market orders once triggered. - I specifically want to avoid Market exits in options because of potential slippage.
The Dhan app/web already provides:
Position → Trailing SL → SL-L
Can the same native Trailing SL-L functionality be exposed through DhanHQ API?
Implementing the trail ourselves by repeatedly modifying the SL-L order is not ideal because:
- It requires continuous LTP monitoring.
- It generates many API order modifications.
- There is a modification limit per Order ID.
- It duplicates functionality that Dhan already provides natively in the app.
Ideally, something like this should be possible for a normal SL-L order:
orderType = STOP_LOSS
triggerPrice = 93
price = 92
trailingJump = 5
where Dhan manages the trailing internally and the eventual exit remains an SL-Limit / Limit execution, not a Market order.
Could you please confirm:
1. Is native Trailing SL-L already available through any DhanHQ API?
2. If not, is it planned?
3. Can the same Trailing SL-L engine available in the Dhan app be exposed through the API?
This would be very useful for automated option-buying strategies where traders want trailing protection without unrestricted Market-order slippage.