-X POST https://amapi.algomojo.com/v1/AllPositions
{
"api_key":"your_api_key",
"api_secret":"your_api_secret",
"data":
{
"broker":"sm",
"symbol":"YESBANK",
"exchange":"BSE",
"product":"MIS"
}
}
{
"status": "success",
"data": {
"exchange": "BSE",
"token": "532648_BSE",
"product": "MIS",
"symbol": "YESBANK",
"cfbuyqty": 0,
"cfbuyavgprc": 0,
"cfsellqty": 0,
"cfsellavgprc": 0,
"bqty": 1,
"buyavgprc": 15.34,
"sqty": 0,
"sellavgprc": 0,
"netqty": 1,
"netbuyavgprc": -15.34,
"netsellavgprc": 0,
"netamt": 1,
"ltp": 15.36,
"bep": -15.34,
"realisedprofitloss": 0,
"unrealisedprofitloss": 0.02,
"mtm": 0.02,
"netavgprc": -15.34,
"tick_size": 0.01,
"lot_size": 1,
"broker_exchange": "BSE",
"broker_token": "",
"ws_msg": {
"exchange": "BSE",
"token": "532648_BSE"
}
}
}