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.