/portfolio/positions not reporting pnl , it was workign fine till friday 20241206

zhkas
zhkas edited December 9 in API clients
Hi,
I am getting pnl value as 0 in all of my symbols.
I have attached a partial response.
Please check.


{
"tradingsymbol": "NIFTY24D1223300PE",
"exchange": "NFO",
"instrument_token": 11788802,
"product": "MIS",
"quantity": 0,
"overnight_quantity": 0,
"multiplier": 1,
"average_price": 0,
"close_price": 0,
"last_price": 0,
"value": -3120,
"pnl": 0,
"m2m": 0,
"unrealised": 0,
"realised": 0,
"buy_quantity": 7850,
"buy_price": 2.3420382165605096,
"buy_value": 18385,
"buy_m2m": 18385,
"sell_quantity": 7850,
"sell_price": 1.9445859872611464,
"sell_value": 15265,
"sell_m2m": 15265,
"day_buy_quantity": 7850,
"day_buy_price": 2.3420382165605096,
"day_buy_value": 18385,
"day_sell_quantity": 7850,
"day_sell_price": 1.9445859872611464,
"day_sell_value": 15265
},

Tagged:
  • sujith
    We will ask the team to investigate but you will anyways need to fetch latest data and check new pnl at your end. You can know more here.
  • zhkas
    Today I am getting the value and my scripts are running fine again.
  • sujith
    We haven't made any changes to positions API.
Sign In or Register to comment.