IMarketRuleList
StockSharp.Algo
The interface, describing the rules list.
Implements: INotifyList<IMarketRule>, INotifyCollection<IMarketRule>, ICollection<IMarketRule>, IEnumerable<IMarketRule>, IEnumerable, IList<IMarketRule>, ISynchronizedCollection, ISynchronizable
Properties
Tokens : IEnumerable<object>
To get all active tokens of rules.
Methods
GetRulesByToken(object) : IEnumerable<IMarketRule>
To get all rules, associated with tokens.
- token
- Token rules.
Returns: All rules, associated with token.
RemoveRulesByToken(object, IMarketRule)
Delete all rules, for which Token is equal to .
- token
- Token rules.
- currentRule
- The current rule that has initiated deletion. If it was passed, it will not be deleted.