Thanks for your reply rakeshr, I am not checking pnl, I am trying to calculate pnl using 'last_price'(LTP) and suggested formula in your referred thread. but 'last_price' value is not changing. Then how to use this formula
pnl = (sellValue - buyVal…
Thanks for your reply, This is my code, I am trying to read Last_price, but its value is not changing over time.
ppp = kcon.positions()['day']
for i in p…