Table of Contents

Class NetProfitParameter

Namespace
StockSharp.Algo.Statistics
Assembly
StockSharp.Algo.dll

Net profit for whole time period.

[Display(ResourceType = typeof(LocalizedStrings), Name = "NetProfit", Description = "NetProfitWholeTime", GroupName = "PnL", Order = 0)]
public class NetProfitParameter : BasePnLStatisticParameter<decimal>, IStatisticParameter<decimal>, IPnLStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
Inheritance
NetProfitParameter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

NetProfitParameter()

Initialize NetProfitParameter.

public NetProfitParameter()

Methods

Add(DateTimeOffset, decimal, decimal?)

To add new data to the parameter.

public override void Add(DateTimeOffset marketTime, decimal pnl, decimal? commission)

Parameters

marketTime DateTimeOffset

The exchange time.

pnl decimal

The profit-loss value.

commission decimal?

Commission.