Click or drag to resize

CommissionPerOrderVolumeRuleOnProcessExecution Method

To calculate commission.

Namespace:  StockSharp.Algo.Commissions
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected override Nullable<decimal> OnProcessExecution(
	ExecutionMessage message
)

Parameters

message
Type: StockSharp.MessagesExecutionMessage
The message containing the information about the order or own trade.

Return Value

Type: NullableDecimal
The commission. If the commission cannot be calculated then will be returned.
See Also