I understand that per default the automatic sync can only work to update the account position as dictated by the strategy position, and that the strategy could not adopt the real world account position. I am looking for the best way to work around that as my strategy is always long or short and exits at the end of the week. It seems to me the best way is to manually update it into the history when restart the strategy.
Can anyone give me their input on how to deal with this? How would I programmatically enter on a historical bar the needed qty currently present in your account so the strategy would manage this strategy position then when restarted which would then be in sync to my account? Thanks. ~ Jeremiah
Comment