Is there a way to access actual account position from within ExecutionUpdate event handler?
I reviewed all ExecutionEventArgs field, and all of them shows only direction and quantity of execution but any - of actual resulting account position:
e.MarketPosition
e.Quantity
e.Execution.MarketPosition
<int>e.Execution.Position most of time shows correct quantity with sign corresponding actual MarketPosition (e.g. +1 means Long position with Quantity 1; -2 means Short position with Quantity 2). But, from time to time, it shows Quantity too far from reality. And it does not provide any hint about the Average Price.
e.Account.Positions array provides position before execution.
Is there a place to see actual position inside ExecutionUpdate handler?
Thanks in advance.
Comment