once per day. By doing so, I normally have to "sync" existing (overnite) positons.
When re-starting NT automated strategy with TWS, I choose to execute live and therefore submit an OCA order to an existing positon (at broker). When running live each OCA submits a unique Tag # (identifier) or "OCA group" The problem is when you manually re-sync, NT submits "OCA Group" number like 0002, 0003. Where
0002 = 2 historical trades in the chart that you chose to trade from, 0003 is 3 trades etc.
Now the real problem is that if you have say 5 charts, with 5 strategies that by chance have say 5 historical trades, then you will have= 5 positions at IB each with OCA orders but your "OCA Group" will have 5 OCA's = 10 orders all with the same number
0005. If any one one those orders is filled, then all orders will cancel.
The workaround presented to me 5 months ago was to simply go to a chart Format data series and change "days back" to different settings, in hopes of the number of historical trades would be different.
This works but now I need to trade 2 accounts under my advisor. By by resyncing everyday, how can you turn on a strategy on 2 seperate accounts without duplicating "OCA group". ty
Comment