PnLManager

StockSharp.Algo.PnL

The profit-loss manager.

Implementa: IPnLManager, IPersistable, ICloneable<IPnLManager>, ICloneable

Construtores

PnLManager()

Initializes a new instance of the PnLManager.

Propriedades

RealizedPnL : decimal

The value of realized profit-loss.

UnrealizedPnL : decimal

The value of unrealized profit-loss.

UseCandles : bool

Use IsCandles for UnrealizedPnL calculation.

UseLevel1 : bool

Use Level1 for UnrealizedPnL calculation.

UseOrderBook : bool

Use MarketDepth for UnrealizedPnL calculation.

UseOrderLog : bool

Use OrderLog for UnrealizedPnL calculation.

UseTick : bool

Use Ticks for UnrealizedPnL calculation.

Métodos

Clone() : IPnLManager

Creates a deep copy of a DataSeries

Load(SettingsStorage)

Load settings.

storage
Storage.
Reset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Storage.