Retrieving Position of Particular Instrument

Hi Everyone

Instead of getting all open positions, I want to check whether a position exist for a particular instrument

Anyone know how to do that?
    Every position has a tradingsymbol field .

    You can fetch all positions and look for a particular tradingsymbol in the response.
  • satheesh7134
    Hi Srijan


    May I know how to see whether the position associated with the instrument is a long position or short position?
    You can know this by checking the quantity.

    If quantity is positive, it's a long position,if negative, it's a short position,and if zero,it means the position has been closed.
Sign In or Register to comment.