CommissionSecurityTypeRule

StockSharp.Algo.Commissions

комиссия за тип финансового инструмента.

Наследует: CommissionRule

Конструкторы

CommissionSecurityTypeRule
public CommissionSecurityTypeRule()
commissionSecurityTypeRule = CommissionSecurityTypeRule()

Инициализирует новый экземпляр CommissionSecurityTypeRule.

Свойства

SecurityType
public SecurityTypes SecurityType { get; set; }
value = commissionSecurityTypeRule.SecurityType
commissionSecurityTypeRule.SecurityType = value

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

Методы

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

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

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

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

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

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

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

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

Reset
public override void Reset()
commissionSecurityTypeRule.Reset()

Сбросить состояние.

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

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

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