CommissionOrderVolumeRule

StockSharp.Algo.Commissions

Комиссия за объем заказа.

Наследует: CommissionRule

Методы

OnProcessAsync
protected override ValueTask<decimal?> OnProcessAsync(ExecutionMessage message, CancellationToken cancellationToken)
result = commissionOrderVolumeRule.OnProcessAsync(message, cancellationToken)

To calculate commission, before Min is applied.

message
The message containing the information about the order or own trade.
cancellationToken
CancellationToken

Возвращает: The commission. If the commission cannot be calculated then will be returned.