Click or drag to resize

CommissionRule Class

The commission calculating rule.
Inheritance Hierarchy
SystemObject
  NotifiableObject
    StockSharp.Algo.CommissionsCommissionRule
      More...

Namespace:  StockSharp.Algo.Commissions
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public abstract class CommissionRule : NotifiableObject, 
	ICommissionRule, IPersistable

The CommissionRule type exposes the following members.

Constructors
  NameDescription
Protected methodCommissionRule
Initialize CommissionRule.
Top
Properties
  NameDescription
Public propertyCommission
Total commission.
Public propertyTitle
Header.
Public propertyValue
Commission value.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyChanged (Inherited from NotifiableObject.)
Protected methodNotifyChanging (Inherited from NotifiableObject.)
Public methodNotifyPropertyChanged (Inherited from NotifiableObject.)
Protected methodOnProcessExecution
To calculate commission.
Public methodProcess
To calculate commission.
Public methodReset
To reset the state.
Public methodSave
Save settings.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from NotifiableObject.)
Public eventPropertyChanging (Inherited from NotifiableObject.)
Top
See Also
Inheritance Hierarchy
SystemObject
  NotifiableObject
    StockSharp.Algo.CommissionsCommissionRule
      StockSharp.Algo.CommissionsCommissionBoardCodeRule
      StockSharp.Algo.CommissionsCommissionPerOrderCountRule
      StockSharp.Algo.CommissionsCommissionPerOrderRule
      StockSharp.Algo.CommissionsCommissionPerOrderVolumeRule
      StockSharp.Algo.CommissionsCommissionPerTradeCountRule
      StockSharp.Algo.CommissionsCommissionPerTradePriceRule
      StockSharp.Algo.CommissionsCommissionPerTradeRule
      StockSharp.Algo.CommissionsCommissionPerTradeVolumeRule
      StockSharp.Algo.CommissionsCommissionSecurityIdRule
      StockSharp.Algo.CommissionsCommissionSecurityTypeRule
      StockSharp.Algo.CommissionsCommissionTurnOverRule