API | When will Trigger Price be supported in Super Order API?

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:

  1. 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?

  2. Will there be a dedicated triggerPrice field in the payload structure?

  3. 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

Hello @aditya43 ,

We understand your requirement for supporting a trigger price field in the Super Order API, similar to the functionality available on the Dhan app and web platform for placing SL orders.

At present, this feature is not supported via the Super Order API. However, please note that we are already actively working on enabling trigger price support for Super Orders, which will allow greater flexibility in placing stop-loss orders directly through the API.

We assure you that this enhancement is part of our planned improvements and will be made available in a future release.

In the meantime, you may continue to place trigger-based super orders through the Dhan app or web platform, which already supports this functionality.

We appreciate your patience and valuable feedback, as it helps us improve our API offerings for algorithmic trading use cases.