Dear Upstox Team,
I hope this message finds you well. I am currently utilizing the Upstox API to retrieve position data from my account. However, I have noticed some discrepancies in the response I am receiving.
Here is the response for your reference:
Positions Response:
{
"status": "success",
"data": [
{
"exchange": "NSE",
"multiplier": 1,
"value": 0,
"pnl": -0.45,
"product": "I",
"instrument_token": "NSE_EQ|INE008A01015",
"average_price": 0,
"buy_value": 89.35,
"overnight_quantity": 0,
"day_buy_value": 89.35,
"day_buy_price": 89.35,
"overnight_buy_amount": 0,
"overnight_buy_quantity": 0,
"day_buy_quantity": 1,
"day_sell_value": 88.9,
"day_sell_price": 88.9,
"overnight_sell_amount": 0,
"overnight_sell_quantity": 0,
"day_sell_quantity": 1,
"quantity": 0,
"last_price": 88.45,
"unrealised": 0,
"realised": -0.45,
"sell_value": 88.9,
"tradingsymbol": "IDBI",
"close_price": 87.15,
"buy_price": 89.35,
"sell_price": 88.9
}
]
}
Despite placing multiple buy orders, the response does not seem to reflect the average price of these orders. And a I would appreciate your assistance in resolving this issue.