Table of Contents

Class CommissionPerOrderRule

Namespace
StockSharp.Algo.Commissions
Assembly
StockSharp.Algo.dll

Order commission.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Order", Description = "OrderCommission", GroupName = "Orders")]
public class CommissionPerOrderRule : CommissionRule, ICommissionRule, IPersistable
Inheritance
CommissionPerOrderRule
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

CommissionPerOrderRule()

public CommissionPerOrderRule()

Methods

Process(ExecutionMessage)

To calculate commission.

public override decimal? Process(ExecutionMessage message)

Parameters

message ExecutionMessage

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

Returns

decimal?

The commission. If the commission cannot be calculated then null will be returned.