Click or drag to resize

PnLInfo Constructor

Initializes a new instance of the PnLInfo.

Namespace:  StockSharp.Algo.PnL
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public PnLInfo(
	ExecutionMessage trade,
	decimal closedVolume,
	decimal pnL
)

Parameters

trade
Type: StockSharp.MessagesExecutionMessage
Own trade.
closedVolume
Type: SystemDecimal
The volume of position, which was closed by own trade.
pnL
Type: SystemDecimal
The profit, realized by this trade.
See Also