How to close a particular position using some Position id OR reference


  • Dear Admin,

    It will be really helpful if the response structure for Get_position includes a Position ID.
    This way we can track different positions of the same instrument using their individual IDs.


  • @madhavthkr
    "tradingsymbol" is the key to identify the position

    Position ID is not there to identify the position

    "netqty": will tell it is a open position or not

    if "netqty" is zero means position closed
    otherwise still position is open and not yet closed

    if "netqty" is grater than zero means we are in Long position

    if "netqty" is less than zero means we are in short position

    what else details is required ?