In my Addon, I am performing some calculations using the updated PnL value of the open position using the AccountItemUpdate event.
I am using two different Continuum connections 1) Phillip Capital futures account, 2) OANDA forex account.
On the forex account, Account.AccountItemUpdate event fires as expected each time the open equity of the position changes. On the futures account, the only event firing is PositionUpdate when a position is opened or closed.
Logically, this behavior doesn't make any sense. I am using multi-threading practices where needed. I don't understand how the PnL would be getting calculated in the Control Center but yet events aren't firing in my Addon (for the futures account). Am I missing something here? Is this a bug?
Thank you in advance for your help.
Comment