How - Bracket Order through Order API with no LTP API call?

Hi Team,
While a long requested feature for LTP API call in trading API is still pending, I see you have added the same in paid Data APIs. So we cannot use bracket orders unless we pay for Data APIs? If there is a way to use bracket orders through order API then please explain.

A critical input for bracket order is Target and StopLoss value difference that is needed in order API. That difference can only be calculated based on the price of the instrument. Since you do not accept percentage (or basis point) for target/stoploss, one must give an exact value for that difference. But there is no way to automatically get the price of the instrument on basis of which the target/stoploss value difference can be calculated.

So essentially, bracket orders are useless through order/trading API unless we pay for data API. Is that correct? If not, please suggest how we can use bracket orders.

Thanks,
DJ

Hi @Djain ,

Super Order lets you set Entry, Target, Stop-Loss & Trailing SL from one window—streamlining your trades. Unlike Bracket & Cover Orders (NSE-only), Super Orders work across NSE, BSE & MCX for all order types (Intraday, Delivery, Carry Forward) and assets (Stocks, F&O, Commodities).

Powered by DEXT, they run seamlessly across App, Web, Charts & API with built-in OCO (One Cancels Other) functionality. Plus, track your trades in real time with the dedicated Super Position & Order Book.

Learn more here: Introducing: Super Orders on Dhan | All-in-One Order from Dhan that serves everyone

1 Like

I am not able to place Bracket order with DataAPI on tradehull . Can you give me the code