StockSharp - trading and algorithmic trading platform
StockSharp - trading and algorithmic trading platform
StockSharp API
StockSharp.Algo
MarketRuleHelper Class
MarketRuleHelper Methods
Or Method
Or Method (IEnumerable(IMarketRule))
Or Method (IMarketRule, IMarketRule[])
Or(TToken, TArg) Method (MarketRule(TToken, TArg), MarketRule(TToken, TArg)[])
MarketRuleHelper
Or Method (IEnumerable
IMarketRule
)
To combine rules by OR condition.
Namespace:
StockSharp.Algo
Assembly:
StockSharp.Algo (in StockSharp.Algo.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
Copy
public
static
IMarketRule
Or
(
this
IEnumerable
<
IMarketRule
>
rules
)
Parameters
rules
Type:
System.Collections.Generic
IEnumerable
IMarketRule
Rules.
Return Value
Type:
IMarketRule
Combined rule.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
IMarketRule
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
MarketRuleHelper Class
Or Overload
StockSharp.Algo Namespace
© 2020 - StockSharp LP
Send comments on this topic to
feedback