Class MaxShortPositionParameter
- Namespace
- StockSharp.Algo.Statistics
- Assembly
- StockSharp.Algo.dll
Maximum short position size.
[Display(ResourceType = typeof(LocalizedStrings), Name = "MaxShortPos", Description = "MaxShortPosDesc", GroupName = "Positions", Order = 201)]
public class MaxShortPositionParameter : BaseStatisticParameter<decimal>, IStatisticParameter<decimal>, IPositionStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
- Inheritance
-
MaxShortPositionParameter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
MaxShortPositionParameter()
Initialize MaxShortPositionParameter.
public MaxShortPositionParameter()
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.