It looks like you're new here. If you want to get involved, click one of these buttons!
It is not recommended to poll positions for updated P&L. You need to calculate that at your end using this formula:-.
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);