Sets the action a NinjaScript strategy will take after a disconnection occurs:
Keep Running: Keeps the strategy running and logs the disconnection. When the connection is reestablished, the strategy will resume as if no disconnection occurred.
Recalculate: The strategy will attempt to recalculate its strategy position when a connection is reestablished and held for longer than 10 seconds. Recalculations will only occur if the strategy was stopped based on one of the conditions below. Should the connection be reestablished before the strategy is stopped, the strategy will continue running without recalculating as if no disconnection occurred.
•If data feed disconnects for longer than the time specified in “Disconnect delay seconds”, the strategy is stopped and the disconnection is logged. •If the order feed disconnects and the strategy places an order while disconnected, the strategy is stopped and the disconnection is logged. •If both the data and order feeds disconnect for longer than the time specified in “Disconnect delay seconds”, the strategy is stopped and the disconnection is logged.
Stop Strategy: Automatically stops the strategy and logs the disconnection when disconnected for more than "Disconnect Delay Seconds". No action will be taken when a connection is reestablished.
|