Class MaxLongPositionParameter
- Namespace
- StockSharp.Algo.Statistics
- Assembly
- StockSharp.Algo.dll
Maximum long position size.
[Display(ResourceType = typeof(LocalizedStrings), Name = "MaxLongPos", Description = "MaxLongPosDesc", GroupName = "Positions", Order = 200)]
public class MaxLongPositionParameter : BaseStatisticParameter<decimal>, INotifyPropertyChangedEx, INotifyPropertyChanging, IStatisticParameter<decimal>, IPositionStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
- Inheritance
-
MaxLongPositionParameter
- Implements
- Inherited Members
- Extension Methods
Constructors
MaxLongPositionParameter()
Initialize MaxLongPositionParameter.
public MaxLongPositionParameter()
Methods
Add(DateTimeOffset, decimal)
To add the new position value to the parameter.
public void Add(DateTimeOffset marketTime, decimal position)
Parameters
marketTimeDateTimeOffsetThe exchange time.
positiondecimalThe new position value.