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>, IStatisticParameter<decimal>, IPositionStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
- Inheritance
-
MaxLongPositionParameter
- Implements
-
IPersistable
- 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
marketTime
DateTimeOffsetThe exchange time.
position
decimalThe new position value.