Table of Contents

Class RiskManager

Namespace
StockSharp.Algo.Risk
Assembly
StockSharp.Algo.dll

The risks control manager.

public class RiskManager : BaseLogReceiver, ILogReceiver, IRiskManager, ILogSource, IDisposable, IPersistable
Inheritance
RiskManager
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

RiskManager()

Initializes a new instance of the RiskManager.

public RiskManager()

Properties

Rules

Rule list.

public INotifyList<IRiskRule> Rules { get; }

Property Value

INotifyList<IRiskRule>

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ProcessRules(Message)

To process the trade message.

public IEnumerable<IRiskRule> ProcessRules(Message message)

Parameters

message Message

The trade message.

Returns

IEnumerable<IRiskRule>

List of rules, activated by the message.

Reset()

To reset the state.

public virtual void Reset()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.