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": "99.81",
"brokerCollateralQty": "0",
"close": 92.2,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "1",
"exchange": "BSE",
"haircut": "0.23",
"ltp": 93.55,
"nonPOAQty": "",
"pnl": "-6.26",
"qty": "1",
"sellableQty": "1",
"symbol": "ATHENAGLO",
"t1Qty": "0",
"token": "1516429",
"tradingSymbol": "ATHENAGLO",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "1917.96",
"brokerCollateralQty": "0",
"close": 1962.2,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "1",
"exchange": "NSE",
"haircut": "0.09",
"ltp": 1938,
"nonPOAQty": "",
"pnl": "20.04",
"qty": "1",
"sellableQty": "1",
"symbol": "INFY-EQ",
"t1Qty": "0",
"token": "1594",
"tradingSymbol": "INFY-EQ",
"unPledgedQty": "0",
"usedQty": "0"
},
{
"authorizedQty": "0",
"avgPrice": "19.87",
"brokerCollateralQty": "0",
"close": 17.12,
"collateralQty": "0",
"depositoryQty": "0",
"effectiveQty": "250",
"exchange": "NSE",
"haircut": "0.20",
"ltp": 18.09,
"nonPOAQty": "",
"pnl": "-445.00",
"qty": "250",
"sellableQty": "250",
"symbol": "YESBANK-EQ",
"t1Qty": "0",
"token": "11915",
"tradingSymbol": "YESBANK-EQ",
"unPledgedQty": "0",
"usedQty": "0"
}
],
"status": "success"
}