StockSharp - trading and algorithmic trading platform
StockSharp - trading and algorithmic trading platform
StockSharp API
StockSharp.Algo
MarketRuleHelper Class
MarketRuleHelper Methods
And Method
And Method (IEnumerable(IMarketRule))
And Method (IMarketRule, IMarketRule[])
And(TToken, TArg) Method (MarketRule(TToken, TArg), MarketRule(TToken, TArg)[])
MarketRuleHelper
And Method (IEnumerable
IMarketRule
)
To combine rules by AND 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
And
(
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
And Overload
StockSharp.Algo Namespace
© 2020 - StockSharp LP
Send comments on this topic to
feedback