Lean  $LEAN_TAG$
QuantConnect.Data.DataHistory< T > Class Template Reference

Historical data abstraction More...

Inheritance diagram for QuantConnect.Data.DataHistory< T >:
[legend]

Public Member Functions

 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...
 

Public Attributes

int Count => _count.Value
 The current data point count More...
 
PyObject DataFrame => _dataframe.Value
 This data pandas data frame More...
 

Properties

IEnumerable< T > Data [get]
 The data we hold More...
 

Detailed Description

Historical data abstraction

Template Parameters
TThe data this collection can enumerate

Definition at line 30 of file DataHistory.cs.

Constructor & Destructor Documentation

◆ DataHistory()

QuantConnect.Data.DataHistory< T >.DataHistory ( IEnumerable< T >  data,
Lazy< PyObject >  dataframe 
)

Creates a new instance

Definition at line 53 of file DataHistory.cs.

Member Function Documentation

◆ ToString()

override string QuantConnect.Data.DataHistory< T >.ToString ( )

Default to string implementation

Definition at line 64 of file DataHistory.cs.

◆ GetEnumerator()

IEnumerator<T> QuantConnect.Data.DataHistory< T >.GetEnumerator ( )

Returns an enumerator for the data

Definition at line 77 of file DataHistory.cs.

Member Data Documentation

◆ Count

int QuantConnect.Data.DataHistory< T >.Count => _count.Value

The current data point count

Definition at line 43 of file DataHistory.cs.

◆ DataFrame

PyObject QuantConnect.Data.DataHistory< T >.DataFrame => _dataframe.Value

This data pandas data frame

Definition at line 48 of file DataHistory.cs.

Property Documentation

◆ Data

IEnumerable<T> QuantConnect.Data.DataHistory< T >.Data
getprotected

The data we hold

Definition at line 38 of file DataHistory.cs.


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