Skip to main content

Position

To get characters you need to make a GET call to the following url :

RESPONSE ATTRIBUTES

ParameterDescription
exchangeExchange name
productProduct code
tsymTrading symbol
tokenToken of the scrip
cfbuyqtyCF buy quantity
cfbuyavgprcCF net buy average price
cfsellqtyCF sell quantity
cfsellavgprcCF net sell average price
bqtyBuy quantity
buyavgprcBuy average price
sqtySell quantity
sellavgprcSell average price
netqtyNet quantity
netbuyavgprcNet Buy Average price
netsellavgprcNet Sell Average price
netamtNet amount
ltpLast trade price of the scrip
bepBreak-even price of the position
realisedprofitlossRealized profit loss
unrealisedprofitlossUnrealized profit loss
curl / cURL
curl --location --request GET 'https://api.gwcindia.in/v1/positions' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 05b8167eed78367034cb5ed4a8c15930'
Success Response Body
{
"status": "success",
"data": [
{
"exchange": "NSE",
"product": "MIS",
"tsym": "IDEA-EQ",
"token": "14366",
"cfbuyqty": "0",
"cfbuyavgprc": "",
"cfsellqty": "0",
"cfsellavgprc": "",
"bqty": "0",
"buyavgprc": "0.00",
"sqty": "0",
"sellavgprc": "0.00",
"netqty": "0",
"netbuyavgprc": "655.00",
"netsellavgprc": "650.00",
"netamt": "0",
"ltp": "6.60",
"bep": "",
"realisedprofitloss": "-0.75",
"unrealisedprofitloss": "0.00"
}
]

}