StopConditionValues
StockSharp.Fix
Reads and writes the values of a stop condition that is held as a plain OrderCondition.
Methoden
GetStopFlavour
public static FixStopOrderTypes? GetStopFlavour(OrderCondition condition)
result = StopConditionValues.GetStopFlavour(condition)
The flavour of the stop: which way it triggers, and whether it follows the price.
- condition
- The condition, which may be .
Rückgabe: The flavour, or when it states none.
SetStopFlavour
public static void SetStopFlavour(OrderCondition condition, FixStopOrderTypes flavour)
StopConditionValues.SetStopFlavour(condition, flavour)
States the flavour of the stop.
- condition
- The condition.
- flavour
- Which way it triggers, and whether it follows the price.