Hello MadeForTrade Team,
I am implementing Super Orders using the Dhan API (v2) and need an official clarification regarding placing Super Orders as AMO (After Market Orders).
From the Dhan trading UI (TradingView charts), Super Orders support the option “Execute when Market Opens”, with choices like:
-
OPEN
-
OPEN_30
-
OPEN_60
However, while using the Super Orders API, attempts to place Super Orders outside market hours result in the error:
DH-906: Market is Closed! Want to place an offline order?
I would appreciate your guidance on the following:
-
Is AMO supported for Super Orders via the API, similar to the Dhan UI behavior?
-
If yes, what is the correct request payload to place a Super Order as AMO?
-
Should
afterMarketOrder = truebe used? -
Is the
amoTimeparameter supported for Super Orders? -
Are the values
OPEN,OPEN_30, andOPEN_60applicable for Super Orders via API?
-
-
If AMO Super Orders are not supported via API, is the recommended approach to:
-
Place Super Orders only during market hours, or
-
Use an alternative order type (e.g., Regular AMO / Forever Order) for off-market execution?
-
An example payload snippet or documentation reference would be extremely helpful.
Thank you for your support and clarification.
Best regards,
Suraj