Lean
$LEAN_TAG$
|
Enumerates OptionStrategyDefinition for the purposes of providing a bias towards definitions that are more favorable to be matched before matching less favorable definitions. More...
Public Member Functions | |
IEnumerable< OptionStrategyDefinition > | Enumerate (IReadOnlyList< OptionStrategyDefinition > definitions) |
Enumerates the definitions according to the implementation's own concept of favorability. More... | |
Enumerates OptionStrategyDefinition for the purposes of providing a bias towards definitions that are more favorable to be matched before matching less favorable definitions.
Definition at line 24 of file IOptionStrategyDefinitionEnumerator.cs.
IEnumerable<OptionStrategyDefinition> QuantConnect.Securities.Option.StrategyMatcher.IOptionStrategyDefinitionEnumerator.Enumerate | ( | IReadOnlyList< OptionStrategyDefinition > | definitions | ) |
Enumerates the definitions according to the implementation's own concept of favorability.
Implemented in QuantConnect.Securities.Option.StrategyMatcher.DescendingByLegCountOptionStrategyDefinitionEnumerator, and QuantConnect.Securities.Option.StrategyMatcher.IdentityOptionStrategyDefinitionEnumerator.