Need Response structure of Positions API - Python

PJ_2018
Hi,

Can someone please post the response of positions API from python client. [Would prefer for derivative instrument]. I require both Net positions and Day positions response to check. Also, want to understand why buy_quantity, buy_price, buy_value, sell_quantity, sell_price, sell_value, etc are showing zeroes in "Net" position response in the following thread(see the link below). I suppose, if these positions are open, there have to be some values there other than zeroes.

https://kite.trade/forum/discussion/576/response-of-positions-api-python

It will be very much helpful for me if I get to compare the response values for both "Net" and "Day" positions.

Thanks a lot.
  • sujith
    That is an older version of the Kite Connect APIs. There are new fields like day_buy_price and buy_price to denote each day's activity for a position.
    You can refer to the example response here.
Sign In or Register to comment.