Table of Contents

Class CommissionTradePriceRule

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

Trade price commission.

[Display(ResourceType = typeof(LocalizedStrings), Name = "TradePrice", Description = "TradePriceCommission", GroupName = "Trades")]
public class CommissionTradePriceRule : CommissionRule, INotifyPropertyChangedEx, INotifyPropertyChanged, INotifyPropertyChanging, ICommissionRule, IPersistable
Inheritance
CommissionTradePriceRule
Implements
Inherited Members
Extension Methods

Constructors

CommissionTradePriceRule()

public CommissionTradePriceRule()

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.