Lean
$LEAN_TAG$
|
Stub class providing an idea towards an optimal IOptionPositionCollectionEnumerator implementation that still needs to be implemented. More...
Public Member Functions | |
AbsoluteRiskOptionPositionCollectionEnumerator (Func< Symbol, decimal > marketPriceProvider) | |
Intializes a new instance of the AbsoluteRiskOptionPositionCollectionEnumerator class More... | |
IEnumerable< OptionPosition > | Enumerate (OptionPositionCollection positions) |
Enumerates the provided positions . Positions enumerated first are more likely to be matched than those appearing later in the enumeration. More... | |
Stub class providing an idea towards an optimal IOptionPositionCollectionEnumerator implementation that still needs to be implemented.
Definition at line 25 of file AbsoluteRiskOptionPositionCollectionEnumerator.cs.
QuantConnect.Securities.Option.StrategyMatcher.AbsoluteRiskOptionPositionCollectionEnumerator.AbsoluteRiskOptionPositionCollectionEnumerator | ( | Func< Symbol, decimal > | marketPriceProvider | ) |
Intializes a new instance of the AbsoluteRiskOptionPositionCollectionEnumerator class
marketPriceProvider | Function providing the current market price for a provided symbol |
Definition at line 33 of file AbsoluteRiskOptionPositionCollectionEnumerator.cs.
IEnumerable<OptionPosition> QuantConnect.Securities.Option.StrategyMatcher.AbsoluteRiskOptionPositionCollectionEnumerator.Enumerate | ( | OptionPositionCollection | positions | ) |
Enumerates the provided positions . Positions enumerated first are more likely to be matched than those appearing later in the enumeration.
Implements QuantConnect.Securities.Option.StrategyMatcher.IOptionPositionCollectionEnumerator.
Definition at line 42 of file AbsoluteRiskOptionPositionCollectionEnumerator.cs.