Lean
$LEAN_TAG$
|
Matches OptionPositionCollection against a collection of OptionStrategyDefinition according to the OptionStrategyMatcherOptions provided. More...
Public Member Functions | |
OptionStrategyMatcher (OptionStrategyMatcherOptions options) | |
Initializes a new instance of the OptionStrategyMatcher class More... | |
OptionStrategyMatch | MatchOnce (OptionPositionCollection positions) |
Using the definitions provided in Options, attempts to match all positions . The resulting OptionStrategyMatch presents a single, valid solution for matching as many positions as possible. More... | |
Properties | |
OptionStrategyMatcherOptions | Options [get] |
Specifies options controlling how the matcher operates More... | |
Matches OptionPositionCollection against a collection of OptionStrategyDefinition according to the OptionStrategyMatcherOptions provided.
Definition at line 24 of file OptionStrategyMatcher.cs.
QuantConnect.Securities.Option.StrategyMatcher.OptionStrategyMatcher.OptionStrategyMatcher | ( | OptionStrategyMatcherOptions | options | ) |
Initializes a new instance of the OptionStrategyMatcher class
options | Specifies definitions and other options controlling the matcher |
Definition at line 35 of file OptionStrategyMatcher.cs.
OptionStrategyMatch QuantConnect.Securities.Option.StrategyMatcher.OptionStrategyMatcher.MatchOnce | ( | OptionPositionCollection | positions | ) |
Using the definitions provided in Options, attempts to match all positions . The resulting OptionStrategyMatch presents a single, valid solution for matching as many positions as possible.
Definition at line 47 of file OptionStrategyMatcher.cs.
|
get |
Specifies options controlling how the matcher operates
Definition at line 29 of file OptionStrategyMatcher.cs.