CommissionSecurityIdRule

StockSharp.Algo.Commissions

Комиссия по финансовым инструментам.

Наследует: CommissionRule

Свойства

Security
public Security Security { get; set; }
value = commissionSecurityIdRule.Security
commissionSecurityIdRule.Security = value

идентификатор финансового инструмента.

Методы

GetTitle
protected override string GetTitle()
result = commissionSecurityIdRule.GetTitle()

Получите титул.

Load
public override void Load(SettingsStorage storage)
commissionSecurityIdRule.Load(storage)

Загрузить настройки.

storage
Хранилище настроек.
Process
public override decimal? Process(ExecutionMessage message)
result = commissionSecurityIdRule.Process(message)

Для расчета комиссии.

message
Сообщение, содержащее информацию о заказе или собственной сделке.

Возвращает: Комиссия. Если комиссия не может быть рассчитана, то она будет возвращена.

Save
public override void Save(SettingsStorage storage)
commissionSecurityIdRule.Save(storage)

Сохраните настройки.

storage
Хранилище настроек.