CommissionSecurityTypeRule

StockSharp.Algo.Commissions

Security type commission.

Erbt von: CommissionRule

Konstruktoren

CommissionSecurityTypeRule()

Initializes a new instance of the CommissionSecurityTypeRule.

Eigenschaften

SecurityType : SecurityTypes

Security type.

Methoden

GetTitle() : string

Get title.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Process(ExecutionMessage) : decimal?

To calculate commission.

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

Rückgabe: The commission. If the commission cannot be calculated then will be returned.

Reset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Settings storage.