Table of Contents

Interface IMarketRuleList

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

The interface, describing the rules list.

public interface IMarketRuleList : INotifyList<IMarketRule>, INotifyCollection<IMarketRule>, IList<IMarketRule>, ICollection<IMarketRule>, IEnumerable<IMarketRule>, IEnumerable, ISynchronizedCollection
Inherited Members
Extension Methods

Properties

Tokens

To get all active tokens of rules.

IEnumerable<object> Tokens { get; }

Property Value

IEnumerable<object>

Methods

GetRulesByToken(object)

To get all rules, associated with tokens.

IEnumerable<IMarketRule> GetRulesByToken(object token)

Parameters

token object

Token rules.

Returns

IEnumerable<IMarketRule>

All rules, associated with token.

RemoveRulesByToken(object, IMarketRule)

Delete all rules, for which Token is equal to token.

void RemoveRulesByToken(object token, IMarketRule currentRule)

Parameters

token object

Token rules.

currentRule IMarketRule

The current rule that has initiated deletion. If it was passed, it will not be deleted.