I'm using RE v48 and TWSplugin for trading.
I would like to synchronise from time to time my IB account with RE positions. I believe the "SyncAccountState" and "SetAccountState" should be helpful here.
I' ve logic in the Newbar on the system level to run the SyncAccountState method on regular intervals. In the TWSlog I see this is executed but no sync between IB and my RE positions occur.
Same for SetAccounState. Setting the BrokerAccountState.BrokerOverride = true doesn't do anything. Inspecting the TWSPlugin code delivered I can't find any code using this BrokerAccountState.BrokerOverride.
Am I doing something wrong or is this synchronization functionality not yet fully implemented in the current TWSplugin?
Can RE provide some code snippets / approach to start this synchronisation development effort.