Etf Sectors
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
EtfSectors | EtfSectorsQueryParams | EtfSectorsData |
Import Statement
from openbb_core.provider.standard_models.etf_sectors import (
EtfSectorsData,
EtfSectorsQueryParams,
)
Parameters
- standard
- fmp
- tmx
symbol
: str
Symbol to get data for. (ETF)
• Optional: False
symbol
: str
Symbol to get data for. (ETF)
• Optional: False
symbol
: str
Symbol to get data for. (ETF)
• Optional: False
use_cache
: bool
Whether to use a cached request. All ETF data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 4 hours.
• Default: True
• Optional: True
Data
- standard
- fmp
- tmx
sector
: str
Sector of exposure.
weight
: float
Exposure of the ETF to the sector in normalized percentage points.
sector
: str
Sector of exposure.
weight
: float
Exposure of the ETF to the sector in normalized percentage points.
sector
: str
Sector of exposure.
weight
: float
Exposure of the ETF to the sector in normalized percentage points.