- Wait until flat before executing live
- Disconnect delay seconds: 15
- Number of restart attempts: 4
- Restarts within x minutes: 5
- Handling: Recalculate
- Cancel entry orders when a strategy is disabled (checked)
- Cancel exit orders when a strategy is disabled (checked)
With these settings, I have three questions:
1) Suppose our strategy places an entry order and we lose our internet connection and the order is filled while the connection is lost. Then suppose the connection is restored in less than 15 seconds (the Disconnect delay period), so when the strategy resumes there is a naked position, with no stop or target in place. With the above settings, will NT7 (external to the strategy), submit a market order to exit the position when the connection is restored? If so, then will we need to tell the strategy that the entry order it placed is no longer valid? (I assume so.)
2) Suppose we lose our internet connection after the entry order is filled and a stop and target are already in place with broker, managed by our ATM. Then the connection is restored in less than 15 seconds (the Disconnect delay period), and when the strategy resumes there is a position, a stop, and a target previously managed by the ATM. Will NT7 exit the position with a market order and cancel the open stop and target, external to the strategy? Again, if so, I assume we will need to tell the strategy to ignore the trade and reset it's AtmStrategyId.
3) Finally, under these same two scenarios, if the Disconnect Delay is exceeded and the strategy is stopped and not just paused, will NT7 still exit positions and cancel the outstanding orders with the settings above when the connection is resumed?
If I understand the help files, the answer to the above questions would be yes, but I'd like to confirm that I understand correctly.
Thank you again for your help.
Best wishes,
Light
Comment