Holdings
Using the Holdings API, the user can get the holdings with them.
Type | Endpoint | Description |
---|---|---|
GET | /user/holdings | Get the margin limits details of the user to place trades |
Sample Request
curl --location 'https://api.tiqs.trading/user/holdings' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>'
Sample Response
{
"data": [
{
"authorizedQty": "0",
"avgPrice": "332.54",
"brokerCollateralQty": "0",
"close": 321.7,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "6",
"exchange": "NSE",
"haircut": "0.13",
"ltp": 324.65,
"nonPOAQty": "",
"pnl": "-47.34",
"qty": "6",
"sellableQty": "6",
"t1Qty": "0",
"token": "526",
"tradingSymbol": "BPCL-EQ",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "821.48",
"brokerCollateralQty": "0",
"close": 797.55,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "21",
"exchange": "NSE",
"haircut": "0.12",
"ltp": 803,
"nonPOAQty": "",
"pnl": "-388.08",
"qty": "21",
"sellableQty": "21",
"t1Qty": "0",
"token": "3045",
"tradingSymbol": "SBIN-EQ",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "151.87",
"brokerCollateralQty": "0",
"close": 148.88,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "19",
"exchange": "NSE",
"haircut": "0.12",
"ltp": 145,
"nonPOAQty": "",
"pnl": "-130.53",
"qty": "19",
"sellableQty": "19",
"t1Qty": "0",
"token": "3499",
"tradingSymbol": "TATASTEEL-EQ",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "393.00",
"brokerCollateralQty": "0",
"close": 371.35,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "3",
"exchange": "NSE",
"haircut": "0.20",
"ltp": 374.9,
"nonPOAQty": "",
"pnl": "-54.30",
"qty": "3",
"sellableQty": "3",
"t1Qty": "0",
"token": "1406",
"tradingSymbol": "HINDPETRO-EQ",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "135.16",
"brokerCollateralQty": "0",
"close": 128.13,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "83",
"exchange": "NSE",
"haircut": "0.20",
"ltp": 125.9,
"nonPOAQty": "",
"pnl": "-768.58",
"qty": "83",
"sellableQty": "83",
"t1Qty": "0",
"token": "2963",
"tradingSymbol": "SAIL-EQ",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "489.60",
"brokerCollateralQty": "0",
"close": 490,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "3",
"exchange": "NSE",
"haircut": "0.09",
"ltp": 491.65,
"nonPOAQty": "",
"pnl": "6.15",
"qty": "3",
"sellableQty": "3",
"t1Qty": "0",
"token": "1660",
"tradingSymbol": "ITC-EQ",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "1772.56",
"brokerCollateralQty": "0",
"close": 1752.05,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "6",
"exchange": "NSE",
"haircut": "0.09",
"ltp": 1750,
"nonPOAQty": "",
"pnl": "-135.36",
"qty": "6",
"sellableQty": "6",
"t1Qty": "0",
"token": "1922",
"tradingSymbol": "KOTAKBANK-EQ",
"unPledgedQty": "0",
"usedQty": "0"
}
],
"status": "success"
}