NinjaScript > Language Reference > Strategy > RealtimeErrorHandling |
|
Definition Defines the behaviour of a strategy when a strategy generated order is returned from the broker's server in a "Rejected" state. Default behaviour is to stop the strategy, cancel any remaining working orders, and then close any open positions managed by the strategy by submitting one "Close" order for each unique position.
Property Value RealtimeErrorHandling.TakeNoAction RealtimeErrorHandling.StopStrategyCancelOrdersClosePosition (Default value of a strategy)
Syntax RealtimeErrorHandling
Examples
|