position.get("net") return position grouped by product (BO) and instrumentToken (symbol).
At any point, all the following show same value when I do position.get("net") for the group: m2m, pnl, unrealised
My issue is, I have placed 2 BO orders for same Symbol. One at 10AM, exit at 11AM. 2nd order placed at 2pm.
Now at 2:30pm, I know my 1 BO is open, but the net position shows m2m, pnl, unrealised as net of both the orders combined. I'm no longer interested in the order placed earlier, but want to know the position status of the 2nd order ONLY. How do I get the m2m/pnl of the 2nd BO order only?