Conditional and Multi Order

modify conditional order

Changed on

Modify an existing alert order by updating its conditional trigger logic and/or the associated order execution parameters.

put/alerts/orders/{alertId}

Request

  • Base URL
    https://api.dhan.co/v2
  • URL
    https://api.dhan.co/v2/alerts/orders/{alertId}
  • Auth
    none declared. Required headers: access-token

Path parameters

alertIdstring required

Headers

access-tokenstring required

Request body

dhanClientIdstring required

User specific identification generated by Dhan

alertIdstring required

Unique ID generated by Dhan
For eg. "12345"

Response

Successful operation

alertIdstring

Alert ID generated by Dhan

alertStatusstring
StatusDescription
ACTIVEAlert is currently active
TRIGGEREDAlert condition has been met
EXPIREDAlert expired without triggering
CANCELLEDAlert was manually cancelled

Changes