Lean  $LEAN_TAG$
QuantConnect.Securities.Option.StrategyMatcher.FunctionalOptionPositionCollectionEnumerator Class Reference

Provides a functional implementation of IOptionPositionCollectionEnumerator More...

Inheritance diagram for QuantConnect.Securities.Option.StrategyMatcher.FunctionalOptionPositionCollectionEnumerator:
[legend]

Public Member Functions

 FunctionalOptionPositionCollectionEnumerator (Func< OptionPositionCollection, IEnumerable< OptionPosition >> enumerate)
 Initializes a new instance of the FunctionalOptionPositionCollectionEnumerator class More...
 
IEnumerable< OptionPositionEnumerate (OptionPositionCollection positions)
 Enumerate the Option Positions Collection More...
 

Detailed Description

Provides a functional implementation of IOptionPositionCollectionEnumerator

Definition at line 24 of file FunctionalOptionPositionCollectionEnumerator.cs.

Constructor & Destructor Documentation

◆ FunctionalOptionPositionCollectionEnumerator()

QuantConnect.Securities.Option.StrategyMatcher.FunctionalOptionPositionCollectionEnumerator.FunctionalOptionPositionCollectionEnumerator ( Func< OptionPositionCollection, IEnumerable< OptionPosition >>  enumerate)

Initializes a new instance of the FunctionalOptionPositionCollectionEnumerator class

Parameters
enumerate

Definition at line 32 of file FunctionalOptionPositionCollectionEnumerator.cs.

Member Function Documentation

◆ Enumerate()

IEnumerable<OptionPosition> QuantConnect.Securities.Option.StrategyMatcher.FunctionalOptionPositionCollectionEnumerator.Enumerate ( OptionPositionCollection  positions)

Enumerate the Option Positions Collection

Parameters
positionsThe positions to enumerate on
Returns
Enumerable of Option Positions

Implements QuantConnect.Securities.Option.StrategyMatcher.IOptionPositionCollectionEnumerator.

Definition at line 44 of file FunctionalOptionPositionCollectionEnumerator.cs.


The documentation for this class was generated from the following file: