I used to call the positions call once in 10 seconds. The pnl value returned against each open position used to be live and in sync with the value seen in the kite3 website. But in the V3 positions call the pnl value is constant for more than a minute .
Hi @vvijay, It is bad to poll positions for P&L. I would suggest fetching positions and calculating p&L at your end. It would save your bandwidth also.
It is bad to poll positions for P&L. I would suggest fetching positions and calculating p&L at your end. It would save your bandwidth also.
When I try to access dictionary , I am getting this
print pos("net").get("day_buy_price")
TypeError: 'dict' object is not callable