Table of Contents

Interface IRiskRule

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

The interface, describing risk-rule.

public interface IRiskRule : ILogSource, IDisposable, IPersistable
Inherited Members
Extension Methods

Properties

Action

Action.

RiskActions Action { get; set; }

Property Value

RiskActions

Title

Header.

string Title { get; }

Property Value

string

Methods

ProcessMessage(Message)

To process the trade message.

bool ProcessMessage(Message message)

Parameters

message Message

The trade message.

Returns

bool

true, if the rule is activated, otherwise, false.

Reset()

To reset the state.

void Reset()