Get active positions netQuantity.

manan164
I am trading in F&O daily. Earlier I used to see that kiteconnect.getPositions() API used to return all the positions with the correct net quantity. However last few days it has not updated the quantity when I place an order from Kite web UI. How can I get the correct quantity? I tried listening to order updates and creating position on my side but because buyValue and sellValue are wrong I am getting the wrong MTM and my stoploss gets hit frequently.
  • rakeshr
    kiteconnect.getPositions() API used to return all the positions with the correct net quantity. However last few days it has not updated the quantity when I place an order from Kite web UI
    Position APIs will show all the open positions irrespective of the order placement source(API, Web, or Mobile apps). Make sure, your API/web session is active and fetching the latest data.
Sign In or Register to comment.