IMarketRuleContainer

StockSharp.Algo

The interface, describing the rules container.

实现: ILogReceiver, ILogSource, IDisposable

属性

IsRulesSuspended : bool

Is rules execution suspended.

ProcessState : ProcessStates

The operation state.

Rules : IMarketRuleList

Registered rules.

方法

ActivateRule(IMarketRule, Func<bool>)

To activate the rule.

rule
Rule.
process
The processor returning if the rule has ended its operation, otherwise - .
ResumeRules()

To restore rules execution, suspended through the method SuspendRules.

SuspendRules()

To suspend rules execution until next restoration through the method ResumeRules.