Global Stocks

Retrieve holdings for the user.

get/globalstocks/holdings

Request

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

Headers

access-tokenstring required

Response

Successful operation

dhanClientIdstring

User specific identification generated by Dhan

tradingSymbolstring

Trading symbol

displayNamestring

Display name of the security

securityIdstring

Exchange standard identification for each scrip

exchangestring

Exchange where the security is listed

quantitynumber float

Quantity held (fractional supported)

avgCostPricenumber float

Average cost price per share

costValuenumber float

Total cost value

currentValuenumber float

Current market value

gainValuenumber float

Gain/Loss value

ltpnumber float

Last traded price

prevClosenumber float

Previous close price

longTermFlagstring

Long term holding flag (S=Short term, N=Not applicable)

lastUpdatedstring

Last updated timestamp

Changes