Lean  $LEAN_TAG$
QuantConnect.Research.OptionHistory Class Reference

Class to manage information from History Request of Options More...

Inheritance diagram for QuantConnect.Research.OptionHistory:
[legend]

Public Member Functions

 OptionHistory (IEnumerable< Slice > data)
 Create a new instance of OptionHistory. More...
 
PyObject GetAllData ()
 Gets all data from the History Request that are written in a pandas.DataFrame More...
 
PyObject GetStrikes ()
 Gets all strikes in the option history More...
 
PyObject GetExpiryDates ()
 Gets all expiry dates in the option history More...
 
- Public Member Functions inherited from QuantConnect.Data.DataHistory< Slice >
 DataHistory (IEnumerable< T > data, Lazy< PyObject > dataframe)
 Creates a new instance More...
 
override string ToString ()
 Default to string implementation More...
 
IEnumerator< T > GetEnumerator ()
 Returns an enumerator for the data More...
 

Additional Inherited Members

- Public Attributes inherited from QuantConnect.Data.DataHistory< Slice >
int Count
 The current data point count More...
 
PyObject DataFrame
 This data pandas data frame More...
 
- Properties inherited from QuantConnect.Data.DataHistory< Slice >
IEnumerable< T > Data [get]
 The data we hold More...
 

Detailed Description

Class to manage information from History Request of Options

Definition at line 28 of file OptionHistory.cs.

Constructor & Destructor Documentation

◆ OptionHistory()

QuantConnect.Research.OptionHistory.OptionHistory ( IEnumerable< Slice data)

Create a new instance of OptionHistory.

Parameters
data

Definition at line 34 of file OptionHistory.cs.

Member Function Documentation

◆ GetAllData()

PyObject QuantConnect.Research.OptionHistory.GetAllData ( )

Gets all data from the History Request that are written in a pandas.DataFrame

◆ GetStrikes()

PyObject QuantConnect.Research.OptionHistory.GetStrikes ( )

Gets all strikes in the option history

Returns

Definition at line 49 of file OptionHistory.cs.

◆ GetExpiryDates()

PyObject QuantConnect.Research.OptionHistory.GetExpiryDates ( )

Gets all expiry dates in the option history

Returns

Definition at line 62 of file OptionHistory.cs.


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