RiskOrderPriceRule

StockSharp.Algo.Risk

Risk-rule, tracking order price.

Inherits: RiskRule

Properties

Price
public decimal Price { get; set; }
value = riskOrderPriceRule.Price
riskOrderPriceRule.Price = value

Order price.

Methods

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

Get title.

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

Loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
ProcessMessage
public override bool ProcessMessage(Message message)
result = riskOrderPriceRule.ProcessMessage(message)

To process the trade message.

message
The trade message.

Returns: , if the rule is activated, otherwise, .

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

Saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.