CommissionTradeCountRule

StockSharp.Algo.Commissions

Number of trades commission.

Erbt von: CommissionRule

Eigenschaften

Count : int

Number of trades.

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.