Class CommissionParameter
- Namespace
- StockSharp.Algo.Statistics
- Assembly
- StockSharp.Algo.dll
Total commission.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Commission", Description = "TotalCommissionDesc", GroupName = "PnL", Order = 10)]
public class CommissionParameter : BasePnLStatisticParameter<decimal>, IStatisticParameter<decimal>, IPnLStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
- Inheritance
-
CommissionParameter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
CommissionParameter()
Initialize CommissionParameter.
public CommissionParameter()
Methods
Add(DateTimeOffset, decimal, decimal?)
To add new data to the parameter.
public override void Add(DateTimeOffset marketTime, decimal pnl, decimal? commission)
Parameters
marketTime
DateTimeOffsetThe exchange time.
pnl
decimalThe profit-loss value.
commission
decimal?Commission.