Click or drag to resize

IMarketRule Methods

The IMarketRule type exposes the following members.

Methods
  NameDescription
Public methodCanFinish
Can the rule be ended.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodDo(Action)
To add the action, activated at occurrence of condition.
Public methodDo(ActionObject)
To add the action, activated at occurrence of condition.
Public methodDoTResult(FuncTResult)
To add the action, returning result, activated at occurrence of condition.
Public methodUntil
To make the rule periodical (will be called until canFinish returns ).
Top
Extension Methods
  NameDescription
Public Extension MethodAnd
To combine rules by AND condition.
(Defined by MarketRuleHelper.)
Public Extension MethodApplyOverloaded.
To form a rule (include IsReady).
(Defined by MarketRuleHelper.)
Public Extension MethodApply(IMarketRuleContainer)Overloaded.
To form a rule (include IsReady).
(Defined by MarketRuleHelper.)
Public Extension MethodCancel
To create an action, cancelling the order.
(Defined by StrategyHelper.)
Public Extension MethodExclusive
To make rules mutually exclusive.
(Defined by MarketRuleHelper.)
Public Extension MethodOr
To combine rules by OR condition.
(Defined by MarketRuleHelper.)
Public Extension MethodRegister
To create an action, registering the order.
(Defined by StrategyHelper.)
Public Extension MethodReRegister
To create an action, re-registering the order.
(Defined by StrategyHelper.)
Top
See Also