IsUnmanaged
<< Click to Display Table of Contents >> IsUnmanaged |
Determines if the strategy will be using Unmanaged order methods.
Note: Unmanaged order methods and Managed order methods CANNOT be used interchangeably. When IsUnmanaged is set to true, calling managed order methods such as EnterLong(), SetStopLoss(), etc, will generate an error which will be displayed on the Log tab of the Control Center. |
This property returns true if the strategy will use Unmanaged order methods; otherwise, false. Default is set to false.
Warning: This property should ONLY bet set from the OnStateChange() method during State.SetDefaults or State.Configure |
IsUnmanaged
protected override void OnStateChange() |