Lean  $LEAN_TAG$
QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider Class Reference

Base fundamental data provider More...

Inheritance diagram for QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider:
[legend]

Public Member Functions

virtual void Initialize (IDataProvider dataProvider, bool liveMode)
 Initializes the service More...
 
virtual T Get< T > (DateTime time, SecurityIdentifier securityIdentifier, FundamentalProperty name)
 Will fetch the requested fundamental information for the requested time and symbol More...
 

Static Public Member Functions

static T GetDefault< T > ()
 Get's the default value for the given T type More...
 
static bool IsNone (object value)
 True if the given value is none More...
 
static bool IsNone (Type type, object value)
 True if the given value is none More...
 

Properties

bool LiveMode [get, set]
 True if live trading More...
 
IDataProvider DataProvider [get, set]
 THe data provider instance to use More...
 

Detailed Description

Base fundamental data provider

Definition at line 27 of file BaseFundamentalDataProvider.cs.

Member Function Documentation

◆ Initialize()

virtual void QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider.Initialize ( IDataProvider  dataProvider,
bool  liveMode 
)
virtual

Initializes the service

Parameters
dataProviderThe data provider instance to use
liveModeTrue if running in live mode

Implements QuantConnect.Data.UniverseSelection.IFundamentalDataProvider.

Definition at line 44 of file BaseFundamentalDataProvider.cs.

◆ Get< T >()

virtual T QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider.Get< T > ( DateTime  time,
SecurityIdentifier  securityIdentifier,
FundamentalProperty  name 
)
virtual

Will fetch the requested fundamental information for the requested time and symbol

Template Parameters
TThe expected data type
Parameters
timeThe time to request this data for
securityIdentifierThe security identifier
nameThe name of the fundamental property
Returns
The fundamental information

Implements QuantConnect.Data.UniverseSelection.IFundamentalDataProvider.

Reimplemented in QuantConnect.Data.UniverseSelection.CoarseFundamentalDataProvider.

Definition at line 58 of file BaseFundamentalDataProvider.cs.

◆ GetDefault< T >()

static T QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider.GetDefault< T > ( )
static

Get's the default value for the given T type

Template Parameters
TThe expected T type
Returns
The default value

Definition at line 69 of file BaseFundamentalDataProvider.cs.

Here is the caller graph for this function:

◆ IsNone() [1/2]

static bool QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider.IsNone ( object  value)
static

True if the given value is none

Here is the caller graph for this function:

◆ IsNone() [2/2]

static bool QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider.IsNone ( Type  type,
object  value 
)
static

True if the given value is none

Definition at line 92 of file BaseFundamentalDataProvider.cs.

Property Documentation

◆ LiveMode

bool QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider.LiveMode
getset

True if live trading

Definition at line 32 of file BaseFundamentalDataProvider.cs.

◆ DataProvider

IDataProvider QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider.DataProvider
getsetprotected

THe data provider instance to use

Definition at line 37 of file BaseFundamentalDataProvider.cs.


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