Class RiskTradeCommissionRule
- Namespace
- StockSharp.Algo.Risk
- Assembly
- StockSharp.Algo.dll
Risk-rule, tracking total commission for own trades.
[Display(ResourceType = typeof(LocalizedStrings), Name = "TradeCommission", Description = "RiskTradeCommission", GroupName = "PnL")]
public class RiskTradeCommissionRule : RiskTransactionCommissionRule, ILogReceiver, IRiskRule, ILogSource, IDisposable, IPersistable, INotifyPropertyChanged
- Inheritance
-
RiskTradeCommissionRule
- Implements
- Inherited Members
- Extension Methods
Constructors
RiskTradeCommissionRule()
public RiskTradeCommissionRule()
Methods
IsMatch(ExecutionMessage)
Determine whether the commission is applicable to this rule.
protected override bool IsMatch(ExecutionMessage execMsg)
Parameters
execMsg
ExecutionMessage
Returns
- bool
Check result.