CommissionOrderRule

StockSharp.Algo.Commissions

注文手数料。

継承元: CommissionRule

メソッド

OnProcessAsync
protected override ValueTask<decimal?> OnProcessAsync(ExecutionMessage message, CancellationToken cancellationToken)
result = commissionOrderRule.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.