BaseFundamentalDataProvider
QuantConnect.Data.UniverseSelection.BaseFundamentalDataProvider
Bases: Object, IFundamentalDataProvider
Base fundamental data provider
live_mode
live_mode: bool
True if live trading
data_provider
data_provider: IDataProvider
THe data provider instance to use
This Property is protected.
get
get(
time: Union[datetime, date],
security_identifier: SecurityIdentifier,
name: FundamentalProperty,
) -> QuantConnect_Data_UniverseSelection_BaseFundamentalDataProvider_Get_T
Will fetch the requested fundamental information for the requested time and symbol
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
Union[datetime, date]
|
The time to request this data for |
required |
security_identifier
|
SecurityIdentifier
|
The security identifier |
required |
name
|
FundamentalProperty
|
The name of the fundamental property |
required |
Returns:
| Type | Description |
|---|---|
QuantConnect_Data_UniverseSelection_BaseFundamentalDataProvider_Get_T
|
The fundamental information. |
is_none
is_none(value: Any) -> bool
is_none(type: Type, value: Any) -> bool
True if the given value is none
initialize
initialize(
data_provider: IDataProvider, live_mode: bool
) -> None
Initializes the service
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data_provider
|
IDataProvider
|
The data provider instance to use |
required |
live_mode
|
bool
|
True if running in live mode |
required |