IMarketRule
StockSharp.Algo
The interface of the rule, activating action at occurrence of market condition.
Implementa: IDisposable
Propriedades
Container : IMarketRuleContainer
The rules container.
ExclusiveRules : ISynchronizedCollection<IMarketRule>
Rules, opposite to given rule. They are deleted automatically at activation of this rule.
IsSuspended : bool
Is the rule suspended.
LogLevel : LogLevels
The level to perform this rule logging.
Métodos
Do(Action) : IMarketRule
To add the action, activated at occurrence of condition.
- action
- Action.
Retorna: Rule.
Do(Action<object>) : IMarketRule
To add the action, activated at occurrence of condition.
- action
- The action, taking a value.
Retorna: Rule.
Do``1(Func<T>)
To add the action, returning result, activated at occurrence of condition.
- action
- The action, returning a result.
Retorna: Rule.
Until(Func<bool>) : IMarketRule
To make the rule periodical (will be called until returns ).
- canFinish
- The criteria for end of periodicity.
Retorna: Rule.