Table of Contents

Class NetProfitPercentParameter

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

Net profit for whole time period in percent.

[Display(ResourceType = typeof(LocalizedStrings), Name = "NetProfitPercent", Description = "NetProfitPercentDesc", GroupName = "PnL", Order = 1)]
public class NetProfitPercentParameter : BasePnLStatisticParameter<decimal>, INotifyPropertyChangedEx, INotifyPropertyChanging, IStatisticParameter<decimal>, IPnLStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged, IBeginValueStatisticParameter
Inheritance
NetProfitPercentParameter
Implements
Inherited Members
Extension Methods

Constructors

NetProfitPercentParameter()

public NetProfitPercentParameter()

Properties

BeginValue

The initial value of the parameter.

public decimal BeginValue { get; set; }

Property Value

decimal

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.