Interface IMarketRuleContainer
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
The interface, describing the rules container.
public interface IMarketRuleContainer : ILogReceiver, ILogSource, IDisposable
- Inherited Members
- Extension Methods
Properties
IsRulesSuspended
Is rules execution suspended.
bool IsRulesSuspended { get; }
Property Value
Remarks
Rules suspension is performed through the method SuspendRules().
ProcessState
The operation state.
ProcessStates ProcessState { get; }
Property Value
Rules
Registered rules.
IMarketRuleList Rules { get; }
Property Value
Methods
ActivateRule(IMarketRule, Func<bool>)
To activate the rule.
void ActivateRule(IMarketRule rule, Func<bool> process)
Parameters
rule
IMarketRuleRule.
process
Func<bool>The processor returning true if the rule has ended its operation, otherwise - false.
ResumeRules()
To restore rules execution, suspended through the method SuspendRules().
void ResumeRules()
SuspendRules()
To suspend rules execution until next restoration through the method ResumeRules().
void SuspendRules()