Delay in PNL info for kite v3 positions call

The PNL info is not updated instantly in the positions call response. Please close this urgently
  • sujith
    Can you add more details about this?
  • vvijay
    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 .
  • sujith
    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.
  • vvijay
    Fine. I am just comparing with what was working in V2 vs not working in V3
  • sujith
    sujith edited January 2018
    We will look into this, but relying on API response for P&L is a bad practice.
  • dajinkya
    dajinkya edited January 2018
    @vvijay Hi, can see same code of process position object?

    When I try to access dictionary , I am getting this

    print pos("net").get("day_buy_price")
    TypeError: 'dict' object is not callable
Sign In or Register to comment.