Hello DHAN Team,
I’m currently using the DHAN Super Order API for automated trading and would like to inquire about trigger price support for placing stop-loss and target orders.
Current Situation
As per the current API documentation, the Super Order API payload structure is:
{
"dhanClientId": "1000000003",
"correlationId": "123abc678",
"transactionType": "BUY",
"exchangeSegment": "NSE_EQ",
"productType": "INTRADAY",
"orderType": "LIMIT",
"validity": "DAY",
"securityId": "1333",
"quantity": 5,
"disclosedQuantity": 0,
"price": 1800.00,
"afterMarketOrder": false,
"boProfitValue": 20.00,
"boStopLossValue": 5.00
}
Feature Request
While the API supports Bracket Orders with boProfitValue and boStopLossValue, I would like to know:
-
When will direct trigger price support be added for placing SL-M (Stop Loss Market) and SL-L (Stop Loss Limit) orders through the Super Order API?
-
Will there be a dedicated
triggerPricefield in the payload structure? -
Is this feature on the roadmap, and if so, what’s the expected timeline?
Use Case
Having trigger price support would enable:
-
Placing stop-loss orders independently without bracket orders
-
More flexible order management strategies
-
Better alignment with manual trading capabilities available on the DHAN platform
Expected Payload Structure (Proposed)
{
"dhanClientId": "1000000003",
"correlationId": "123abc678",
"transactionType": "SELL",
"exchangeSegment": "NSE_FO",
"productType": "INTRADAY",
"orderType": "STOP_LOSS_LIMIT",
"validity": "DAY",
"securityId": "52175",
"quantity": 50,
"disclosedQuantity": 0,
"price": 150.00,
"triggerPrice": 155.00,
"afterMarketOrder": false
}
This feature would greatly enhance the API’s capabilities for algorithmic trading strategies that rely on stop-loss triggers.
Looking forward to your response!
Thank you,
Aditya Hajare