Positions & Portfolio

exit all position

Changed on

The Exit All Position API allows users to exit all active positions and cancel all open orders for the authenticated account. Note: All open orders and positions are exited for the current trading day only.

delete/positions

Request

  • Base URL
    https://api.dhan.co/v2
  • URL
    https://api.dhan.co/v2/positions
  • Auth
    none declared. Required headers: access-token

Headers

access-tokenstring required

Response

Successful operation

messagestring
statusstring
Enum ValuesDescription
SUCCESSOperation was successful
ERROROperation failed

Changes