I thought I had a handle on exactly how NT operated with the combination of "Sync Account" and the associated parameters available (cancel all orders on disconnect, wait until flat, etc.)
In these cases, I've set my strategies to "sync account = false", and "submit live working orders immediately."
To test the behavior, I had two separate live positions on that were generated by my strategies, both of which had submitted legitimate, working GTC orders to exchanges.
I then disconnected NT and reconnected. As per the instructions, I expected the following:
- The active orders that I had submitted to the exchange that had been previously generated by the strategy to "match up" with what I had submitted prior, and be mapped to an active strategy order
What happened instead was that the local NT orders were all canceled immediately on strategy startup, and the exchange orders were subsequently deleted as well. The positions remained unchanged.
I do have "cancel entry orders when a strategy is disabled" checked, but the orders were not canceled when the strategy was disabled - they were canceled when it was re-started.
So, to you guys I ask: How exactly does NT "map" exchange orders to strategy orders, and how can I ensure that this is what's going to happen in the future?
This is important due to the need for a nightly restart while ensuring that positions and orders submitted to exchanges remain once I restart NT.
Kind Regards,
CG
Comment