IsAdoptAccountPositionAware
<< Click to Display Table of Contents >> IsAdoptAccountPositionAware |
![]() ![]() ![]() |
Determines if the strategy is programmed in a manner capable of handling real-world account positions. Once set to true, your strategy's "Start behavior" options will include an additional parameter named "Adopt account position" which can bet set at run-time. Only set to true if you have specifically programmed your strategy to be able to adopt account positions.
This property returns true if the strategy can adopt account positions; otherwise, false. Default is set to false.
Note: This property should ONLY be set from the OnStateChange() method during State.SetDefaults. |
IsAdoptAccountPositionAware
protected override void OnStateChange() |