RiskRule

StockSharp.Algo.Risk

Base risk-rule.

Implementa: IRiskRule, IPersistable, INotifyPropertyChanged

Construtores

RiskRule()

Initialize RiskRule.

Propriedades

Action : RiskActions

Action.

Title : string

Header.

Métodos

GetTitle() : string

Get title.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
ProcessMessage(Message) : bool

To process the message for transaction delay calculation. Messages of OrderRegisterMessage, OrderReplaceMessage, OrderCancelMessage and ExecutionMessage types are accepted.

message
Message.

Retorna: The transaction delay. If it is impossible to calculate delay, will be returned.

Reset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
UpdateTitle()

Update title.