PnLInfo

StockSharp.Algo.PnL

Information on trade, its closed volume and its profitability.

Constructors

PnLInfo
public PnLInfo(DateTime serverTime, decimal closedVolume, decimal pnL)
pnLInfo = PnLInfo(serverTime, closedVolume, pnL)

Initializes a new instance of the PnLInfo.

serverTime
ServerTime.
closedVolume
The volume of position, which was closed by own trade.
pnL
The profit, realized by this trade.

Properties

ClosedVolume
public decimal ClosedVolume { get; }
value = pnLInfo.ClosedVolume

The volume of position, which was closed by own trade.

PnL
public decimal PnL { get; }
value = pnLInfo.PnL

The profit, realized by this trade.

ServerTime
public DateTime ServerTime { get; }
value = pnLInfo.ServerTime

Time.