Table of Contents

Class MaxProfitParameter

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

The maximal profit value for the entire period.

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

Constructors

MaxProfitParameter()

Initialize MaxProfitParameter.

public MaxProfitParameter()

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.