Class CommissionPerTradeRule
- Namespace
- StockSharp.Algo.Commissions
- Assembly
- StockSharp.Algo.dll
Trade commission.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Trade", Description = "TradeCommission", GroupName = "Trades")]
public class CommissionPerTradeRule : CommissionRule, ICommissionRule, IPersistable
- Inheritance
-
CommissionPerTradeRule
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
CommissionPerTradeRule()
public CommissionPerTradeRule()
Methods
Process(ExecutionMessage)
To calculate commission.
public override decimal? Process(ExecutionMessage message)
Parameters
message
ExecutionMessageThe message containing the information about the order or own trade.