Skip to Content

Holdings

This API allows you to fetch the equity and mutual fund holdings in your demat account.

USE CASE

Show a portfolio view with quantity, cost price, market value and profit or loss for each holding.

Details

  • Fetches the equity and mutual fund holdings which the user has in this demat account. This will include T1 and demat holdings.
  • Your app needs the Transactions Info permission. Holdings is part of that template, along with Orders, Positions, Trades, Funds and Market Status.
  • The request takes no parameters. The holdings list returns equity and mutual fund holdings, including T1 holdings and holdings already in demat.
  • holdingType tells the kind of holding. See Holding Types for the values.
  • quantity is the quantity at the start of the day. remainingQuantity is that quantity minus what was sold during the day. qty_t1 is the T+1 quantity.
  • collateralQuantity is the pledged quantity and remainingPledgeQuantity is the pledged quantity still remaining.
  • The overall object gives count_total, total_investment, total_current_value, total_pl and pnl_perc for the whole portfolio.
  • Rate limits differ between the Standard and Prime plans. See Plans & rate limits.

Request Attributes - For each holding

AttributeData TypeDescription
symbolstringEg: NSE:RCOM-EQ
holdingTypestring
quantityintThe quantity of the symbol which the user has at the beginning of the day
remainingQuantityintThis reflects the quantity - the quantity sold during the day
plfloatProfit and loss made
costPricefloatThe original buy price of the holding
marketValfloatThe Market value of the current holding
ltpfloatLTP is the price from which the next sale of the stocks happens
idintThe unique value for each holding
fytokenstring
  • Fytoken is a unique identifier for every symbol.
  • View Details
exchangeint
segmentint
isinstringUnique ISIN provided by exchange for each symbol
qty_t1intQuantity t+1 day
remainingPledgeQuantityintRemaining Pledged quantity
collateralQuantityintPledged quantity

Response Attributes - Overall holdings

AttributeData TypeDescription
count_totalintTotal number of holdings present
total_investmentfloatInvested amount for the current holdings
total_current_valuefloatThe present value of the holdings
total_plfloatTotal profit and loss made
pnl_percfloatPercentage value of the total pnl
Last updated on