Hi there
Please have a look at below json response that I am receiving after exiting delivery position.
{
"exchange": "NSE",
"multiplier": 1.0,
"value": 0.0,
"pnl": 351.75,
"product": "MTF",
"instrument_token": "NSE_EQ|INE733E01010",
"average_price": 0.0,
"buy_value": 0.0,
"overnight_quantity": 35,
"day_buy_value": 0.0,
"day_buy_price": 0.0,
"overnight_buy_amount": 0.0,
"overnight_buy_quantity": 35,
"day_buy_quantity": 0,
"day_sell_value": 11991.0,
"day_sell_price": 342.6,
"overnight_sell_amount": 0.0,
"overnight_sell_quantity": 0,
"day_sell_quantity": 35,
"quantity": 0,
"last_price": 343.2,
"unrealised": 0.0,
"realised": 351.75,
"sell_value": 11991.0,
"trading_symbol": "NTPC",
"close_price": 337.45,
"buy_price": 0.0,
"sell_price": 342.6
}
Can you please tell me why buy price is getting zero(0) after selling?