NinjaScript > Language Reference > Strategy > Order Methods > Unmanaged Approach > IgnoreOverFill |
|
Definition Defines the behaviour of a strategy when an overfill is detected. This property is only relevant when using Unmanaged order methods.
NOTE: An overfill is categorized as when an order returns a "Filled" or "PartFilled" state after the order was already marked for cancellation. The cancel request could have been induced by an explicit CancelOrder() call, from more implicit cancellations like those that occur when another order sharing the same OCO ID is filled, or from things like order expirations.
Property Value This property returns true if the strategy will ignore overfills; otherwise, false. Default is set to false.
Syntax IgnoreOverFill
Examples
|