Some of my open positions missing in API

sudipto
Hi,
I have currently 22 open positions as can be seen in the first screen shot from the Kite Trading platform. However when I use the API (I am using Java library btw), I get only 15 of those open positions listed as can be seen in the 2nd screen shot. What am I doing wrong? I am using the following API call:

Map> positions = KiteConnect.getPositions();

... and from the returned Map, I am using the list marked as "net".

  • sujith
    We can see 22 positions on your account. Can you elaborate the issue? Are you still able to see only 15 on positions.net list?
    Do you have any filter applied?
  • sudipto
    @sujith
    Sorry for the trouble. You are right, there was a filter applied, which I didn't see. I removed the filter and now all positions are visible. Thanks.
This discussion has been closed.