CommissionOrderRule
StockSharp.Algo.Commissions
Auftragskommission.
Erbt von: CommissionRule
Methoden
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
Rückgabe: The commission. If the commission cannot be calculated then will be returned.