IsWaitUntilFlat
<< Click to Display Table of Contents >> IsWaitUntilFlat |
Indicates the strategy is currently waiting until a flat position is detected before submitting live orders.
Note: This property would only apply if the strategy StartBehavior was set to StartBehavior.WaitUntilFlat or StartBehavior.WaitUntilFlatSynchronizeAccount. |
This property returns true if the strategy has detected it is either in a long or short position during State.Transition; otherwise false. Default value is set to false.
IsWaitUntilFlat
// If a strategy is waiting for a flat position, return and print a message |