MaxLongPositionParameter
StockSharp.Algo.Statistics
Maximum long position size.
Inherits: BaseStatisticParameter<decimal>
Implements: IPositionStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged, IDisposable
Constructors
MaxLongPositionParameter
public MaxLongPositionParameter()
maxLongPositionParameter = MaxLongPositionParameter()
Initialize MaxLongPositionParameter.
Methods
Add
public void Add(DateTime marketTime, decimal position)
maxLongPositionParameter.Add(marketTime, position)
To add the new position value to the parameter.
- marketTime
- The exchange time.
- position
- The new position value.