Change providers folder structure (#5246)

* refactored benzinga provider directory

* refactored fmp provider directory

* refactor fred provider directory

* added polygon provider directory

* replace fmp .helpers

* fix bad replace

* redirect imports

* remove standard import comment

* remove internal import comment

* ruff

* remove third-party import comment

* fix fred bad import

* ruff

* codespell

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
This commit is contained in:
montezdesousa
2023-07-24 17:04:53 +01:00
committed by GitHub
parent d84c11480f
commit 91532c9988
79 changed files with 594 additions and 427 deletions

View File

@@ -1,19 +1,16 @@
"""Benzinga Global News Fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
from openbb_provider.models.global_news import GlobalNewsData, GlobalNewsQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from openbb_benzinga.helpers import BenzingaBaseNewsData, get_data
from openbb_benzinga.utils.helpers import BenzingaBaseNewsData, get_data
class BenzingaGlobalNewsQueryParams(QueryParams):

View File

@@ -1,19 +1,16 @@
"""Benzinga Stock News Fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
from openbb_provider.models.stock_news import StockNewsData, StockNewsQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from openbb_benzinga.helpers import BenzingaBaseNewsData, get_data
from openbb_benzinga.utils.helpers import BenzingaBaseNewsData, get_data
class BenzingaStockNewsQueryParams(QueryParams):

View File

@@ -1,14 +1,10 @@
"""Benzinga provider module."""
# IMPORT STANDARD
# IMPORT THIRD-PARTY
# IMPORT INTERNAL
from openbb_provider.abstract.provider import Provider
from openbb_benzinga.global_news import BenzingaGlobalNewsFetcher
from openbb_benzinga.stock_news import BenzingaStockNewsFetcher
from openbb_benzinga.models.global_news import BenzingaGlobalNewsFetcher
from openbb_benzinga.models.stock_news import BenzingaStockNewsFetcher
# mypy: disable-error-code="list-item"

View File

@@ -1,13 +1,10 @@
"""Benzinga Helpers."""
# IMPORT STANDARD
from datetime import datetime
from typing import List
# IMPORT THIRD-PARTY
import requests
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from pydantic import BaseModel, Field, validator

View File

@@ -1,21 +1,18 @@
"""FMP Analyst Estimates fetcher."""
# IMPORT STANDARD
from datetime import date as dateType
from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.analyst_estimates import (
AnalystEstimatesData,
AnalystEstimatesQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPAnalystEstimatesQueryParams(AnalystEstimatesQueryParams):

View File

@@ -1,9 +1,8 @@
"""FMP Available Indices fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -13,7 +12,7 @@ from openbb_provider.models.available_indices import (
)
from pydantic import Field
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPAvailableIndicesQueryParams(QueryParams):

View File

@@ -1,13 +1,12 @@
"""FMP Balance Sheet Fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -15,11 +14,9 @@ from openbb_provider.models.balance_sheet import (
BalanceSheetData,
BalanceSheetQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeInt, root_validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPBalanceSheetQueryParams(QueryParams):

View File

@@ -1,13 +1,12 @@
"""FMP Cash Flow Statement Fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -15,11 +14,9 @@ from openbb_provider.models.cash_flows import (
CashFlowStatementData,
CashFlowStatementQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeInt, root_validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPCashFlowStatementQueryParams(QueryParams):

View File

@@ -1,22 +1,17 @@
"""FMP Company Overview Fetcher."""
# IMPORT STANDARD
from typing import Dict, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.company_overview import (
CompanyOverviewData,
CompanyOverviewQueryParams,
)
from .helpers import get_data
# IMPORT THIRD-PARTY
from openbb_fmp.utils.helpers import get_data
# This part is only provided by FMP and not by the other providers for now.

View File

@@ -1,19 +1,16 @@
"""FMP Cryptos end of day fetcher."""
# IMPORT STANDARD
from datetime import date, datetime
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
from openbb_provider.models.crypto_eod import CryptoEODData, CryptoEODQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeInt, validator
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPCryptoEODQueryParams(QueryParams):

View File

@@ -1,19 +1,16 @@
"""FMP Crypto Price fetcher."""
# IMPORT STANDARD
from enum import Enum
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.crypto_price import CryptoPriceData, CryptoPriceQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import BaseStockPriceData, create_url, get_data_many
from openbb_fmp.utils.helpers import BaseStockPriceData, create_url, get_data_many
class Interval(str, Enum):

View File

@@ -1,21 +1,17 @@
"""FMP Dividend Calendar fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.dividend_calendar import (
DividendCalendarData,
DividendCalendarQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import validator
from .helpers import get_data_many, get_querystring
from openbb_fmp.utils.helpers import get_data_many, get_querystring
class FMPDividendCalendarQueryParams(DividendCalendarQueryParams):

View File

@@ -1,21 +1,18 @@
"""FMP Earnings Calendar fetcher."""
# IMPORT STANDARD
from datetime import date as dateType
from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.earnings_calendar import (
EarningsCalendarData,
EarningsCalendarQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPEarningsCalendarQueryParams(EarningsCalendarQueryParams):

View File

@@ -1,21 +1,18 @@
"""FMP Earnings Call Transcript fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.base import BaseSymbol
# IMPORT INTERNAL
from openbb_provider.models.earnings_call_transcript import (
EarningsCallTranscriptData,
EarningsCallTranscriptQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPEarningsCallTranscriptQueryParams(QueryParams, BaseSymbol):

View File

@@ -1,10 +1,9 @@
"""FMP ESG Risk Rating fetcher."""
# IMPORT STANDARD
from datetime import date
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -14,8 +13,7 @@ from openbb_provider.models.esg_risk_rating import (
)
from pydantic import Field
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
current_year = date.today().year
ratings = Literal[

View File

@@ -1,18 +1,16 @@
"""FMP ESG Score fetcher."""
# IMPORT STANDARD
from datetime import date, datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.esg_score import ESGScoreData, ESGScoreQueryParams
from pydantic import Field
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPESGScoreQueryParams(ESGScoreQueryParams):

View File

@@ -1,18 +1,16 @@
"""FMP ESG Sector fetcher."""
# IMPORT STANDARD
from datetime import date
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.esg_sector import ESGSectorData, ESGSectorQueryParams
from pydantic import Field
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
current_year = date.today().year

View File

@@ -1,6 +1,6 @@
"""FMP Executive Compensation Fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
@@ -10,17 +10,13 @@ from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.executive_compensation import (
ExecutiveCompensationData,
ExecutiveCompensationQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
# This part is only provided by FMP and not by the other providers for now.

View File

@@ -1,10 +1,9 @@
"""FMP Key Executives Fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -14,8 +13,7 @@ from openbb_provider.models.key_executives import (
KeyExecutivesQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import get_data
from openbb_fmp.utils.helpers import get_data
class FMPKeyExecutivesQueryParams(QueryParams, BaseSymbol):

View File

@@ -1,19 +1,16 @@
"""FMP Forex end of day fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.forex_eod import ForexEODData, ForexEODQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, validator
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPForexEODQueryParams(QueryParams):

View File

@@ -1,15 +1,14 @@
"""FMP Forex available pairs fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.forex_pairs import ForexPairsData, ForexPairsQueryParams
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPForexPairsQueryParams(QueryParams):

View File

@@ -1,19 +1,16 @@
"""FMP Forex Price fetcher."""
# IMPORT STANDARD
from enum import Enum
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.forex_price import ForexPriceData, ForexPriceQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import BaseStockPriceData, create_url, get_data_many
from openbb_fmp.utils.helpers import BaseStockPriceData, create_url, get_data_many
class Interval(str, Enum):

View File

@@ -1,19 +1,16 @@
"""FMP Global News fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.global_news import GlobalNewsData, GlobalNewsQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPGlobalNewsQueryParams(QueryParams):

View File

@@ -1,5 +1,5 @@
"""FMP Historical Dividends fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
@@ -9,17 +9,13 @@ from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.historical_dividends import (
HistoricalDividendsData,
HistoricalDividendsQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPHistoricalDividendsQueryParams(HistoricalDividendsQueryParams):

View File

@@ -1,23 +1,19 @@
"""FMP Historical Employees fetcher."""
# IMPORT STANDARD
from datetime import date, datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
# IMPORT INTERNAL
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.historical_employees import (
HistoricalEmployeesData,
HistoricalEmployeesQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field, validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPHistoricalEmployeesQueryParams(HistoricalEmployeesQueryParams):

View File

@@ -1,19 +1,16 @@
"""FMP Historical Stock Splits fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.historical_stock_splits import (
HistoricalStockSplitsData,
HistoricalStockSplitsQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPHistoricalStockSplitsQueryParams(HistoricalStockSplitsQueryParams):

View File

@@ -1,13 +1,12 @@
"""FMP Income Statement Fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -15,11 +14,9 @@ from openbb_provider.models.income_statement import (
IncomeStatementData,
IncomeStatementQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeInt, root_validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
PeriodType = Literal["annual", "quarter"]

View File

@@ -1,13 +1,12 @@
"""FMP Institutional Ownership Fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -16,11 +15,9 @@ from openbb_provider.models.institutional_ownership import (
InstitutionalOwnershipData,
InstitutionalOwnershipQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field, validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPInstitutionalOwnershipQueryParams(QueryParams, BaseSymbol):

View File

@@ -1,19 +1,16 @@
"""Key Metrics fetcher."""
# IMPORT STANDARD
from datetime import date as dateType
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.key_metrics import KeyMetricsData, KeyMetricsQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPKeyMetricsQueryParams(QueryParams):

View File

@@ -1,21 +1,18 @@
"""FMP Major Indices end of day fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.major_indices_constituents import (
MajorIndicesConstituentsData,
MajorIndicesConstituentsQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import validator
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPMajorIndicesConstituentsQueryParams(MajorIndicesConstituentsQueryParams):

View File

@@ -1,10 +1,9 @@
"""FMP Major Indices end of day fetcher."""
# IMPORT STANDARD
from datetime import date, datetime
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
@@ -12,11 +11,9 @@ from openbb_provider.models.major_indices_eod import (
MajorIndicesEODData,
MajorIndicesEODQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeInt, validator
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPMajorIndicesEODQueryParams(QueryParams):

View File

@@ -1,9 +1,8 @@
"""FMP Major Indices Price fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -12,11 +11,9 @@ from openbb_provider.models.major_indices_price import (
MajorIndicesPriceData,
MajorIndicesPriceQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import BaseStockPriceData, create_url, get_data_many
from openbb_fmp.utils.helpers import BaseStockPriceData, create_url, get_data_many
class FMPMajorIndicesPriceQueryParams(QueryParams, BaseSymbol):

View File

@@ -1,20 +1,16 @@
"""FMP Stock Ownership fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.price_target import PriceTargetData, PriceTargetQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPPriceTargetQueryParams(PriceTargetQueryParams):

View File

@@ -1,21 +1,18 @@
"""FMP Price Target Consensus fetcher."""
# IMPORT STANDARD
from enum import Enum
from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.price_target_consensus import (
PriceTargetConsensusData,
PriceTargetConsensusQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class Interval(str, Enum):

View File

@@ -1,22 +1,18 @@
"""FMP Revenue Business Line Fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.revenue_business_line import (
RevenueBusinessLineData,
RevenueBusinessLineQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import validator
from .helpers import create_url, get_data
from openbb_fmp.utils.helpers import create_url, get_data
# This part is only provided by FMP and not by the other providers for now.

View File

@@ -1,22 +1,18 @@
"""FMP Revenue Geographic Fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.revenue_geographic import (
RevenueGeographicData,
RevenueGeographicQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import validator
from .helpers import create_url, get_data
from openbb_fmp.utils.helpers import create_url, get_data
# This part is only provided by FMP and not by the other providers for now.

View File

@@ -1,14 +1,13 @@
"""FMP Risk Premium fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.risk_premium import RiskPremiumData, RiskPremiumQueryParams
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPRiskPremiumQueryParams(RiskPremiumQueryParams):

View File

@@ -1,21 +1,19 @@
"""SEC Filings fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.sec_filings import SECFilingsData, SECFilingsQueryParams
from pydantic import validator
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPSECFilingsQueryParams(SECFilingsQueryParams):

View File

@@ -1,13 +1,12 @@
"""FMP Share Statistics Fetcher."""
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
@@ -16,11 +15,9 @@ from openbb_provider.models.share_statistics import (
ShareStatisticsData,
ShareStatisticsQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import validator
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPShareStatisticsQueryParams(QueryParams, BaseSymbol):

View File

@@ -1,19 +1,16 @@
"""FMP Stocks end of day fetcher."""
# IMPORT STANDARD
from datetime import date, datetime, timedelta
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
from openbb_provider.models.stock_eod import StockEODData, StockEODQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeInt, validator
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPStockEODQueryParams(QueryParams):

View File

@@ -1,22 +1,19 @@
"""FMP Stock Insider Trading fetcher."""
# IMPORT STANDARD
from datetime import date, datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.stock_insider_trading import (
StockInsiderTradingData,
StockInsiderTradingQueryParams,
)
from pydantic import Field
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPStockInsiderTradingQueryParams(StockInsiderTradingQueryParams):

View File

@@ -1,20 +1,17 @@
"""FMP Stock Multiples Fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.stock_multiples import (
StockMultiplesData,
StockMultiplesQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import create_url, get_data_one
from openbb_fmp.utils.helpers import create_url, get_data_one
class FMPStockMultiplesQueryParams(StockMultiplesQueryParams):

View File

@@ -1,19 +1,16 @@
"""FMP Stock News fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.stock_news import StockNewsData, StockNewsQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeInt
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPStockNewsQueryParams(QueryParams):

View File

@@ -1,19 +1,16 @@
"""FMP Stock Ownership fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.stock_ownership import (
StockOwnershipData,
StockOwnershipQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPStockOwnershipQueryParams(StockOwnershipQueryParams):

View File

@@ -1,15 +1,13 @@
"""FMP Stock Peers fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.stock_peers import StockPeersData, StockPeersQueryParams
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
# FMP SPECIFIC FUNCTIONALITY CURRENTLY

View File

@@ -1,19 +1,16 @@
"""FMP Stock Price fetcher."""
# IMPORT STANDARD
from enum import Enum
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.stock_price import StockPriceData, StockPriceQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import BaseStockPriceData, create_url, get_data_many
from openbb_fmp.utils.helpers import BaseStockPriceData, create_url, get_data_many
class Interval(str, Enum):

View File

@@ -1,20 +1,17 @@
"""FMP Stock Splits Calendar fetcher."""
# IMPORT STANDARD
from datetime import date
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.stock_splits import (
StockSplitCalendarData,
StockSplitCalendarQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import create_url, get_data_many
from openbb_fmp.utils.helpers import create_url, get_data_many
class FMPStockSplitCalendarQueryParams(StockSplitCalendarQueryParams):

View File

@@ -1,10 +1,9 @@
"""FMP Treasury Rates fetcher."""
# IMPORT STANDARD
from datetime import date as dateType
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
@@ -12,11 +11,9 @@ from openbb_provider.models.treasury_rates import (
TreasuryRatesData,
TreasuryRatesQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field
from .helpers import get_data_many
from openbb_fmp.utils.helpers import get_data_many
class FMPTreasuryRatesQueryParams(TreasuryRatesQueryParams):

View File

@@ -1,56 +1,54 @@
"""FMP Provider module."""
# IMPORT STANDARD
# IMPORT THIRD-PARTY
# IMPORT INTERNAL
from openbb_provider.abstract.provider import Provider
from .analyst_estimates import FMPAnalystEstimatesFetcher
from .available_indices import FMPAvailableIndicesFetcher
from .balance_sheet import FMPBalanceSheetFetcher
from .cash_flow import FMPCashFlowStatementFetcher
from .company_profile import FMPCompanyProfileFetcher
from .crypto_eod import FMPCryptoEODFetcher
from .crypto_price import FMPCryptoPriceFetcher
from .dividend_calendar import FMPDividendCalendarFetcher
from .earnings_calendar import FMPEarningsCalendarFetcher
from .earnings_call_transcript import FMPEarningsCallTranscriptFetcher
from .esg_risk_rating import FMPESGRiskRatingFetcher
from .esg_score import FMPESGScoreFetcher
from .esg_sector import FMPESGSectorFetcher
from .executive_compensation import FMPExecutiveCompensationFetcher
from .executives import FMPKeyExecutivesFetcher
from .forex_eod import FMPForexEODFetcher
from .forex_pairs import FMPForexPairsFetcher
from .forex_price import FMPForexPriceFetcher
from .global_news import FMPGlobalNewsFetcher
from .historical_dividends import FMPHistoricalDividendsFetcher
from .historical_employees import FMPHistoricalEmployeesFetcher
from .historical_stock_splits import FMPHistoricalStockSplitsFetcher
from .income_statement import FMPIncomeStatementFetcher
from .institutional_ownership import FMPInstitutionalOwnershipFetcher
from .key_metrics import FMPKeyMetricsFetcher
from .major_indices_constituents import FMPMajorIndicesConstituentsFetcher
from .major_indices_eod import FMPMajorIndicesEODFetcher
from .major_indices_price import FMPMajorIndicesPriceFetcher
from .price_target import FMPPriceTargetFetcher
from .price_target_consensus import FMPPriceTargetConsensusFetcher
from .revenue_business_line import FMPRevenueBusinessLineFetcher
from .revenue_geographic import FMPRevenueGeographicFetcher
from .risk_premium import FMPRiskPremiumFetcher
from .sec_filings import FMPSECFilingsFetcher
from .share_statistics import FMPShareStatisticsFetcher
from .stock_eod import FMPStockEODFetcher
from .stock_insider_trading import FMPStockInsiderTradingFetcher
from .stock_multiples import FMPStockMultiplesFetcher
from .stock_news import FMPStockNewsFetcher
from .stock_ownership import FMPStockOwnershipFetcher
from .stock_peers import FMPStockPeersFetcher
from .stock_price import FMPStockPriceFetcher
from .stock_splits import FMPStockSplitCalendarFetcher
from .treasury_rates import FMPTreasuryRatesFetcher
from openbb_fmp.models.analyst_estimates import FMPAnalystEstimatesFetcher
from openbb_fmp.models.available_indices import FMPAvailableIndicesFetcher
from openbb_fmp.models.balance_sheet import FMPBalanceSheetFetcher
from openbb_fmp.models.cash_flow import FMPCashFlowStatementFetcher
from openbb_fmp.models.company_profile import FMPCompanyProfileFetcher
from openbb_fmp.models.crypto_eod import FMPCryptoEODFetcher
from openbb_fmp.models.crypto_price import FMPCryptoPriceFetcher
from openbb_fmp.models.dividend_calendar import FMPDividendCalendarFetcher
from openbb_fmp.models.earnings_calendar import FMPEarningsCalendarFetcher
from openbb_fmp.models.earnings_call_transcript import FMPEarningsCallTranscriptFetcher
from openbb_fmp.models.esg_risk_rating import FMPESGRiskRatingFetcher
from openbb_fmp.models.esg_score import FMPESGScoreFetcher
from openbb_fmp.models.esg_sector import FMPESGSectorFetcher
from openbb_fmp.models.executive_compensation import FMPExecutiveCompensationFetcher
from openbb_fmp.models.executives import FMPKeyExecutivesFetcher
from openbb_fmp.models.forex_eod import FMPForexEODFetcher
from openbb_fmp.models.forex_pairs import FMPForexPairsFetcher
from openbb_fmp.models.forex_price import FMPForexPriceFetcher
from openbb_fmp.models.global_news import FMPGlobalNewsFetcher
from openbb_fmp.models.historical_dividends import FMPHistoricalDividendsFetcher
from openbb_fmp.models.historical_employees import FMPHistoricalEmployeesFetcher
from openbb_fmp.models.historical_stock_splits import FMPHistoricalStockSplitsFetcher
from openbb_fmp.models.income_statement import FMPIncomeStatementFetcher
from openbb_fmp.models.institutional_ownership import FMPInstitutionalOwnershipFetcher
from openbb_fmp.models.key_metrics import FMPKeyMetricsFetcher
from openbb_fmp.models.major_indices_constituents import (
FMPMajorIndicesConstituentsFetcher,
)
from openbb_fmp.models.major_indices_eod import FMPMajorIndicesEODFetcher
from openbb_fmp.models.major_indices_price import FMPMajorIndicesPriceFetcher
from openbb_fmp.models.price_target import FMPPriceTargetFetcher
from openbb_fmp.models.price_target_consensus import FMPPriceTargetConsensusFetcher
from openbb_fmp.models.revenue_business_line import FMPRevenueBusinessLineFetcher
from openbb_fmp.models.revenue_geographic import FMPRevenueGeographicFetcher
from openbb_fmp.models.risk_premium import FMPRiskPremiumFetcher
from openbb_fmp.models.sec_filings import FMPSECFilingsFetcher
from openbb_fmp.models.share_statistics import FMPShareStatisticsFetcher
from openbb_fmp.models.stock_eod import FMPStockEODFetcher
from openbb_fmp.models.stock_insider_trading import FMPStockInsiderTradingFetcher
from openbb_fmp.models.stock_multiples import FMPStockMultiplesFetcher
from openbb_fmp.models.stock_news import FMPStockNewsFetcher
from openbb_fmp.models.stock_ownership import FMPStockOwnershipFetcher
from openbb_fmp.models.stock_peers import FMPStockPeersFetcher
from openbb_fmp.models.stock_price import FMPStockPriceFetcher
from openbb_fmp.models.stock_splits import FMPStockSplitCalendarFetcher
from openbb_fmp.models.treasury_rates import FMPTreasuryRatesFetcher
# mypy: disable-error-code="list-item"

View File

@@ -1,16 +1,17 @@
"""FMP Helpers Module."""
# IMPORT STANDARD
from datetime import datetime
from typing import List, Optional, Type, TypeVar, Union
# IMPORT THIRD-PARTY
import requests
from openbb_provider.abstract.data import Data
# IMPORT INTERNAL
from openbb_provider.abstract.fetcher import QueryParamsType
from openbb_provider.helpers import BasicResponse, get_querystring, request
from openbb_provider.helpers import (
BasicResponse,
get_querystring,
request,
)
from pydantic import BaseModel, NonNegativeInt, PositiveFloat, validator
from requests.exceptions import SSLError

View File

@@ -1,18 +1,14 @@
"""FRED CPI Fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
from openbb_fred.utils.fred_base import Fred
from openbb_fred.utils.fred_helpers import all_cpi_options
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT THIRD-PARTY
# IMPORT INTERNAL
from openbb_provider.models.cpi import CPIData, CPIDataPoint, CPIQueryParams
from openbb_fred.fred_base import Fred
from openbb_fred.fred_helpers import all_cpi_options
class FREDCPIQueryParams(CPIQueryParams):
"""CPI query.

View File

@@ -1,11 +1,9 @@
"""FRED provider module."""
# IMPORT STANDARD
# IMPORT THIRD-PARTY
# IMPORT INTERNAL
from openbb_provider.abstract.provider import Provider
from openbb_fred.cpi import FREDCPIFetcher
from openbb_fred.models.cpi import FREDCPIFetcher
# mypy: disable-error-code="list-item"

View File

@@ -0,0 +1,256 @@
title,country,frequency,units,series_id
Consumer Price Index for Australia,australia,annual,growth_previous,CPALTT01AUA657N
Consumer Price Index for Australia,australia,annual,growth_same,CPALTT01AUA659N
Consumer Price Index for Australia,australia,quarterly,growth_previous,CPALTT01AUQ657N
Consumer Price Index for Australia,australia,quarterly,growth_same,CPALTT01AUQ659N
Consumer Price Index for Austria,austria,annual,growth_previous,CPALTT01ATA657N
Consumer Price Index for Austria,austria,annual,growth_same,CPALTT01ATA659N
Consumer Price Index for Austria,austria,monthly,growth_previous,CPALTT01ATM657N
Consumer Price Index for Austria,austria,monthly,growth_same,CPALTT01ATM659N
Consumer Price Index for Austria,austria,quarterly,growth_previous,CPALTT01ATQ657N
Consumer Price Index for Austria,austria,quarterly,growth_same,CPALTT01ATQ659N
Consumer Price Index for Belgium,belgium,annual,growth_previous,CPALTT01BEA657N
Consumer Price Index for Belgium,belgium,annual,growth_same,CPALTT01BEA659N
Consumer Price Index for Belgium,belgium,monthly,growth_previous,CPALTT01BEM657N
Consumer Price Index for Belgium,belgium,monthly,growth_same,CPALTT01BEM659N
Consumer Price Index for Belgium,belgium,quarterly,growth_previous,CPALTT01BEQ657N
Consumer Price Index for Belgium,belgium,quarterly,growth_same,CPALTT01BEQ659N
Consumer Price Index for Brazil,brazil,annual,growth_previous,CPALTT01BRA657N
Consumer Price Index for Brazil,brazil,annual,growth_same,CPALTT01BRA659N
Consumer Price Index for Brazil,brazil,monthly,growth_previous,CPALTT01BRM657N
Consumer Price Index for Brazil,brazil,monthly,growth_same,CPALTT01BRM659N
Consumer Price Index for Brazil,brazil,quarterly,growth_previous,CPALTT01BRQ657N
Consumer Price Index for Brazil,brazil,quarterly,growth_same,CPALTT01BRQ659N
Consumer Price Index for Canada,canada,annual,index_2015,CPALCY01CAA661N
Consumer Price Index for Canada,canada,monthly,index_2015,CPALCY01CAM661N
Consumer Price Index for Canada,canada,quarterly,index_2015,CPALCY01CAQ661N
Consumer Price Index for Canada,canada,annual,growth_previous,CPALTT01CAA657N
Consumer Price Index for Canada,canada,annual,growth_same,CPALTT01CAA659N
Consumer Price Index for Canada,canada,monthly,growth_previous,CPALTT01CAM657N
Consumer Price Index for Canada,canada,monthly,growth_same,CPALTT01CAM659N
Consumer Price Index for Canada,canada,quarterly,growth_previous,CPALTT01CAQ657N
Consumer Price Index for Canada,canada,quarterly,growth_same,CPALTT01CAQ659N
Consumer Price Index for Chile,chile,annual,growth_previous,CPALTT01CLA657N
Consumer Price Index for Chile,chile,annual,growth_same,CPALTT01CLA659N
Consumer Price Index for Chile,chile,monthly,growth_previous,CPALTT01CLM657N
Consumer Price Index for Chile,chile,monthly,growth_same,CPALTT01CLM659N
Consumer Price Index for Chile,chile,quarterly,growth_previous,CPALTT01CLQ657N
Consumer Price Index for Chile,chile,quarterly,growth_same,CPALTT01CLQ659N
Consumer Price Index for China,china,annual,growth_previous,CPALTT01CNA657N
Consumer Price Index for China,china,monthly,growth_same,CPALTT01CNM657N
Consumer Price Index for China,china,monthly,growth_previous,CPALTT01CNM659N
Consumer Price Index for China,china,quarterly,growth_same,CPALTT01CNQ657N
Consumer Price Index for China,china,quarterly,growth_previous,CPALTT01CNQ659N
Consumer Price Index for Denmark,denmark,annual,growth_same,CPALTT01DKA657N
Consumer Price Index for Denmark,denmark,annual,growth_previous,CPALTT01DKA659N
Consumer Price Index for Denmark,denmark,monthly,growth_same,CPALTT01DKM657N
Consumer Price Index for Denmark,denmark,monthly,growth_previous,CPALTT01DKM659N
Consumer Price Index for Denmark,denmark,quarterly,growth_same,CPALTT01DKQ657N
Consumer Price Index for Denmark,denmark,quarterly,growth_previous,CPALTT01DKQ659N
Consumer Price Index for Estonia,estonia,annual,growth_same,CPALTT01EEA657N
Consumer Price Index for Estonia,estonia,annual,growth_previous,CPALTT01EEA659N
Consumer Price Index for Estonia,estonia,annual,index_2015,CPALTT01EEA661N
Consumer Price Index for Estonia,estonia,monthly,growth_previous,CPALTT01EEM657N
Consumer Price Index for Estonia,estonia,monthly,growth_same,CPALTT01EEM659N
Consumer Price Index for Estonia,estonia,monthly,index_2015,CPALTT01EEM661N
Consumer Price Index for Estonia,estonia,quarterly,growth_same,CPALTT01EEQ657N
Consumer Price Index for Estonia,estonia,quarterly,growth_previous,CPALTT01EEQ659N
Consumer Price Index for Estonia,estonia,quarterly,index_2015,CPALTT01EEQ661N
Consumer Price Index for Finland,finland,annual,growth_previous,CPALTT01FIA657N
Consumer Price Index for Finland,finland,annual,growth_same,CPALTT01FIA659N
Consumer Price Index for Finland,finland,monthly,growth_previous,CPALTT01FIM657N
Consumer Price Index for Finland,finland,monthly,growth_same,CPALTT01FIM659N
Consumer Price Index for Finland,finland,quarterly,growth_previous,CPALTT01FIQ657N
Consumer Price Index for Finland,finland,quarterly,growth_same,CPALTT01FIQ659N
Consumer Price Index for France,france,annual,growth_previous,CPALTT01FRA657N
Consumer Price Index for France,france,annual,growth_same,CPALTT01FRA659N
Consumer Price Index for France,france,monthly,growth_previous,CPALTT01FRM657N
Consumer Price Index for France,france,monthly,growth_same,CPALTT01FRM659N
Consumer Price Index for France,france,quarterly,growth_previous,CPALTT01FRQ657N
Consumer Price Index for France,france,quarterly,growth_same,CPALTT01FRQ659N
Consumer Price Index for Germany,germany,annual,growth_same,CPALTT01DEA657N
Consumer Price Index for Germany,germany,annual,growth_previous,CPALTT01DEA659N
Consumer Price Index for Germany,germany,monthly,growth_same,CPALTT01DEM657N
Consumer Price Index for Germany,germany,monthly,growth_previous,CPALTT01DEM659N
Consumer Price Index for Germany,germany,quarterly,growth_same,CPALTT01DEQ657N
Consumer Price Index for Germany,germany,quarterly,growth_previous,CPALTT01DEQ659N
Consumer Price Index for Greece,greece,annual,growth_previous,CPALTT01GRA657N
Consumer Price Index for Greece,greece,annual,growth_same,CPALTT01GRA659N
Consumer Price Index for Greece,greece,monthly,growth_previous,CPALTT01GRM657N
Consumer Price Index for Greece,greece,monthly,growth_same,CPALTT01GRM659N
Consumer Price Index for Greece,greece,quarterly,growth_previous,CPALTT01GRQ657N
Consumer Price Index for Greece,greece,quarterly,growth_same,CPALTT01GRQ659N
Consumer Price Index for Hungary,hungary,annual,growth_previous,CPALTT01HUA657N
Consumer Price Index for Hungary,hungary,annual,growth_same,CPALTT01HUA659N
Consumer Price Index for Hungary,hungary,monthly,growth_previous,CPALTT01HUM657N
Consumer Price Index for Hungary,hungary,monthly,growth_same,CPALTT01HUM659N
Consumer Price Index for Hungary,hungary,quarterly,growth_previous,CPALTT01HUQ657N
Consumer Price Index for Hungary,hungary,quarterly,growth_same,CPALTT01HUQ659N
Consumer Price Index for Iceland,iceland,annual,growth_previous,CPALTT01ISA657N
Consumer Price Index for Iceland,iceland,annual,growth_same,CPALTT01ISA659N
Consumer Price Index for Iceland,iceland,monthly,growth_previous,CPALTT01ISM657N
Consumer Price Index for Iceland,iceland,monthly,growth_same,CPALTT01ISM659N
Consumer Price Index for Iceland,iceland,quarterly,growth_previous,CPALTT01ISQ657N
Consumer Price Index for Iceland,iceland,quarterly,growth_same,CPALTT01ISQ659N
Consumer Price Index for India,india,annual,growth_previous,CPALTT01INA657N
Consumer Price Index for India,india,annual,growth_same,CPALTT01INA659N
Consumer Price Index for India,india,monthly,growth_previous,CPALTT01INM657N
Consumer Price Index for India,india,monthly,growth_same,CPALTT01INM659N
Consumer Price Index for India,india,quarterly,growth_previous,CPALTT01INQ657N
Consumer Price Index for India,india,quarterly,growth_same,CPALTT01INQ659N
Consumer Price Index for Indonesia,indonesia,annual,growth_previous,CPALTT01IDA657N
Consumer Price Index for Indonesia,indonesia,annual,growth_same,CPALTT01IDA659N
Consumer Price Index for Indonesia,indonesia,monthly,growth_previous,CPALTT01IDM657N
Consumer Price Index for Indonesia,indonesia,monthly,growth_same,CPALTT01IDM659N
Consumer Price Index for Indonesia,indonesia,quarterly,growth_previous,CPALTT01IDQ657N
Consumer Price Index for Indonesia,indonesia,quarterly,growth_same,CPALTT01IDQ659N
Consumer Price Index for Ireland,ireland,annual,growth_previous,CPALTT01IEA657N
Consumer Price Index for Ireland,ireland,annual,growth_same,CPALTT01IEA659N
Consumer Price Index for Ireland,ireland,monthly,growth_previous,CPALTT01IEM657N
Consumer Price Index for Ireland,ireland,monthly,growth_same,CPALTT01IEM659N
Consumer Price Index for Ireland,ireland,quarterly,growth_previous,CPALTT01IEQ657N
Consumer Price Index for Ireland,ireland,quarterly,growth_same,CPALTT01IEQ659N
Consumer Price Index for Israel,israel,annual,growth_previous,CPALTT01ILA657N
Consumer Price Index for Israel,israel,annual,growth_same,CPALTT01ILA659N
Consumer Price Index for Israel,israel,monthly,growth_previous,CPALTT01ILM657N
Consumer Price Index for Israel,israel,monthly,growth_same,CPALTT01ILM659N
Consumer Price Index for Israel,israel,quarterly,growth_previous,CPALTT01ILQ657N
Consumer Price Index for Israel,israel,quarterly,growth_same,CPALTT01ILQ659N
Consumer Price Index for Italy,italy,annual,growth_previous,CPALTT01ITA657N
Consumer Price Index for Italy,italy,annual,growth_same,CPALTT01ITA659N
Consumer Price Index for Italy,italy,monthly,growth_previous,CPALTT01ITM657N
Consumer Price Index for Italy,italy,monthly,growth_same,CPALTT01ITM659N
Consumer Price Index for Italy,italy,quarterly,growth_previous,CPALTT01ITQ657N
Consumer Price Index for Italy,italy,quarterly,growth_same,CPALTT01ITQ659N
Consumer Price Index for Japan,japan,monthly,index_2015,CPALCY01JPM661N
Consumer Price Index for Japan,japan,quarterly,index_2015,CPALCY01JPQ661N
Consumer Price Index for Japan,japan,monthly,growth_previous,CPALTT01JPM657N
Consumer Price Index for Japan,japan,monthly,growth_same,CPALTT01JPM659N
Consumer Price Index for Japan,japan,monthly,index_2015,CPALTT01JPM661S
Consumer Price Index for Japan,japan,quarterly,growth_same,CPALTT01JPQ657N
Consumer Price Index for Japan,japan,quarterly,growth_previous,CPALTT01JPQ659N
Consumer Price Index for Japan,japan,quarterly,index_2015,CPALTT01JPQ661S
Consumer Price Index for Luxembourg,luxembourg,annual,growth_previous,CPALTT01LUA657N
Consumer Price Index for Luxembourg,luxembourg,annual,growth_same,CPALTT01LUA659N
Consumer Price Index for Luxembourg,luxembourg,monthly,growth_previous,CPALTT01LUM657N
Consumer Price Index for Luxembourg,luxembourg,monthly,growth_same,CPALTT01LUM659N
Consumer Price Index for Luxembourg,luxembourg,quarterly,growth_previous,CPALTT01LUQ657N
Consumer Price Index for Luxembourg,luxembourg,quarterly,growth_same,CPALTT01LUQ659N
Consumer Price Index for Mexico,mexico,annual,index_2015,CPALCY01MXA661N
Consumer Price Index for Mexico,mexico,monthly,index_2015,CPALCY01MXM661N
Consumer Price Index for Mexico,mexico,quarterly,index_2015,CPALCY01MXQ661N
Consumer Price Index for Mexico,mexico,annual,growth_previous,CPALTT01MXA657N
Consumer Price Index for Mexico,mexico,annual,growth_same,CPALTT01MXA659N
Consumer Price Index for Mexico,mexico,monthly,growth_previous,CPALTT01MXM657N
Consumer Price Index for Mexico,mexico,monthly,growth_same,CPALTT01MXM659N
Consumer Price Index for Mexico,mexico,quarterly,growth_previous,CPALTT01MXQ657N
Consumer Price Index for Mexico,mexico,quarterly,growth_same,CPALTT01MXQ659N
Consumer Price Index for New Zealand,new_zealand,annual,index_2015,CPALCY01NZA661N
Consumer Price Index for New Zealand,new_zealand,quarterly,index_2015,CPALCY01NZQ661N
Consumer Price Index for New Zealand,new_zealand,annual,growth_previous,CPALTT01NZA657N
Consumer Price Index for New Zealand,new_zealand,annual,growth_same,CPALTT01NZA659N
Consumer Price Index for New Zealand,new_zealand,quarterly,growth_previous,CPALTT01NZQ657N
Consumer Price Index for New Zealand,new_zealand,quarterly,growth_same,CPALTT01NZQ659N
Consumer Price Index for Norway,norway,annual,growth_previous,CPALTT01NOA657N
Consumer Price Index for Norway,norway,annual,growth_same,CPALTT01NOA659N
Consumer Price Index for Norway,norway,monthly,growth_previous,CPALTT01NOM657N
Consumer Price Index for Norway,norway,monthly,growth_same,CPALTT01NOM659N
Consumer Price Index for Norway,norway,quarterly,growth_previous,CPALTT01NOQ657N
Consumer Price Index for Norway,norway,quarterly,growth_same,CPALTT01NOQ659N
Consumer Price Index for Poland,poland,annual,growth_previous,CPALTT01PLA657N
Consumer Price Index for Poland,poland,annual,growth_same,CPALTT01PLA659N
Consumer Price Index for Poland,poland,monthly,growth_previous,CPALTT01PLM657N
Consumer Price Index for Poland,poland,monthly,growth_same,CPALTT01PLM659N
Consumer Price Index for Poland,poland,quarterly,growth_previous,CPALTT01PLQ657N
Consumer Price Index for Poland,poland,quarterly,growth_same,CPALTT01PLQ659N
Consumer Price Index for Portugal,portugal,annual,growth_previous,CPALTT01PTA657N
Consumer Price Index for Portugal,portugal,annual,growth_same,CPALTT01PTA659N
Consumer Price Index for Portugal,portugal,monthly,growth_previous,CPALTT01PTM657N
Consumer Price Index for Portugal,portugal,monthly,growth_same,CPALTT01PTM659N
Consumer Price Index for Portugal,portugal,quarterly,growth_previous,CPALTT01PTQ657N
Consumer Price Index for Portugal,portugal,quarterly,growth_same,CPALTT01PTQ659N
Consumer Price Index for Slovenia,slovenia,annual,growth_previous,CPALTT01SIA657N
Consumer Price Index for Slovenia,slovenia,annual,growth_same,CPALTT01SIA659N
Consumer Price Index for Slovenia,slovenia,monthly,growth_previous,CPALTT01SIM657N
Consumer Price Index for Slovenia,slovenia,monthly,growth_same,CPALTT01SIM659N
Consumer Price Index for Slovenia,slovenia,quarterly,growth_previous,CPALTT01SIQ657N
Consumer Price Index for Slovenia,slovenia,quarterly,growth_same,CPALTT01SIQ659N
Consumer Price Index for South Africa,south_africa,annual,growth_previous,CPALTT01ZAA657N
Consumer Price Index for South Africa,south_africa,annual,growth_same,CPALTT01ZAA659N
Consumer Price Index for South Africa,south_africa,monthly,growth_previous,CPALTT01ZAM657N
Consumer Price Index for South Africa,south_africa,monthly,growth_same,CPALTT01ZAM659N
Consumer Price Index for South Africa,south_africa,quarterly,growth_previous,CPALTT01ZAQ657N
Consumer Price Index for South Africa,south_africa,quarterly,growth_same,CPALTT01ZAQ659N
Consumer Price Index for Spain,spain,annual,growth_previous,CPALTT01ESA657N
Consumer Price Index for Spain,spain,annual,growth_same,CPALTT01ESA659N
Consumer Price Index for Spain,spain,monthly,growth_previous,CPALTT01ESM657N
Consumer Price Index for Spain,spain,monthly,growth_same,CPALTT01ESM659N
Consumer Price Index for Spain,spain,quarterly,growth_previous,CPALTT01ESQ657N
Consumer Price Index for Spain,spain,quarterly,growth_same,CPALTT01ESQ659N
Consumer Price Index for Sweden,sweden,annual,growth_previous,CPALTT01SEA657N
Consumer Price Index for Sweden,sweden,annual,growth_same,CPALTT01SEA659N
Consumer Price Index for Sweden,sweden,monthly,growth_previous,CPALTT01SEM657N
Consumer Price Index for Sweden,sweden,monthly,growth_same,CPALTT01SEM659N
Consumer Price Index for Sweden,sweden,quarterly,growth_previous,CPALTT01SEQ657N
Consumer Price Index for Sweden,sweden,quarterly,growth_same,CPALTT01SEQ659N
Consumer Price Index for Switzerland,switzerland,annual,growth_previous,CPALTT01CHA657N
Consumer Price Index for Switzerland,switzerland,annual,growth_same,CPALTT01CHA659N
Consumer Price Index for Switzerland,switzerland,monthly,growth_previous,CPALTT01CHM657N
Consumer Price Index for Switzerland,switzerland,monthly,growth_same,CPALTT01CHM659N
Consumer Price Index for Switzerland,switzerland,quarterly,growth_previous,CPALTT01CHQ657N
Consumer Price Index for Switzerland,switzerland,quarterly,growth_same,CPALTT01CHQ659N
Consumer Price Index for the Czech Republic,czech_republic,annual,growth_same,CPALTT01CZA657N
Consumer Price Index for the Czech Republic,czech_republic,annual,growth_previous,CPALTT01CZA659N
Consumer Price Index for the Czech Republic,czech_republic,monthly,growth_same,CPALTT01CZM657N
Consumer Price Index for the Czech Republic,czech_republic,monthly,growth_previous,CPALTT01CZM659N
Consumer Price Index for the Czech Republic,czech_republic,quarterly,growth_same,CPALTT01CZQ657N
Consumer Price Index for the Czech Republic,czech_republic,quarterly,growth_previous,CPALTT01CZQ659N
Consumer Price Index for the Netherlands,netherlands,annual,growth_previous,CPALTT01NLA657N
Consumer Price Index for the Netherlands,netherlands,annual,growth_same,CPALTT01NLA659N
Consumer Price Index for the Netherlands,netherlands,monthly,growth_previous,CPALTT01NLM657N
Consumer Price Index for the Netherlands,netherlands,monthly,growth_same,CPALTT01NLM659N
Consumer Price Index for the Netherlands,netherlands,quarterly,growth_previous,CPALTT01NLQ657N
Consumer Price Index for the Netherlands,netherlands,quarterly,growth_same,CPALTT01NLQ659N
Consumer Price Index for the Republic of Korea,korea,annual,growth_previous,CPALTT01KRA657N
Consumer Price Index for the Republic of Korea,korea,annual,growth_same,CPALTT01KRA659N
Consumer Price Index for the Republic of Korea,korea,monthly,growth_previous,CPALTT01KRM657N
Consumer Price Index for the Republic of Korea,korea,monthly,growth_same,CPALTT01KRM659N
Consumer Price Index for the Republic of Korea,korea,quarterly,growth_previous,CPALTT01KRQ657N
Consumer Price Index for the Republic of Korea,korea,quarterly,growth_same,CPALTT01KRQ659N
Consumer Price Index for the Russian Federation,russian_federation,monthly,growth_previous,CPALTT01RUM657N
Consumer Price Index for the Russian Federation,russian_federation,monthly,growth_same,CPALTT01RUM659N
Consumer Price Index for the Russian Federation,russian_federation,quarterly,growth_previous,CPALTT01RUQ657N
Consumer Price Index for the Russian Federation,russian_federation,quarterly,growth_same,CPALTT01RUQ659N
Consumer Price Index for the Slovak Republic,slovak_republic,annual,growth_previous,CPALTT01SKA657N
Consumer Price Index for the Slovak Republic,slovak_republic,annual,growth_same,CPALTT01SKA659N
Consumer Price Index for the Slovak Republic,slovak_republic,monthly,growth_previous,CPALTT01SKM657N
Consumer Price Index for the Slovak Republic,slovak_republic,monthly,growth_same,CPALTT01SKM659N
Consumer Price Index for the Slovak Republic,slovak_republic,quarterly,growth_previous,CPALTT01SKQ657N
Consumer Price Index for the Slovak Republic,slovak_republic,quarterly,growth_same,CPALTT01SKQ659N
Consumer Price Index for the United Kingdom,the united kingdom,annual,growth_previous,CPALTT01GBA657N
Consumer Price Index for the United Kingdom,united_kingdom,annual,growth_same,CPALTT01GBA659N
Consumer Price Index for the United Kingdom,united_kingdom,monthly,growth_previous,CPALTT01GBM657N
Consumer Price Index for the United Kingdom,united_kingdom,monthly,growth_same,CPALTT01GBM659N
Consumer Price Index for the United Kingdom,united_kingdom,quarterly,growth_previous,CPALTT01GBQ657N
Consumer Price Index for the United Kingdom,united_kingdom,quarterly,growth_same,CPALTT01GBQ659N
Consumer Price Index for the United States,united_states,annual,index_2015,CPALCY01USA661N
Consumer Price Index for the United States,united_states,monthly,index_2015,CPALCY01USM661N
Consumer Price Index for the United States,united_states,quarterly,index_2015,CPALCY01USQ661N
Consumer Price Index for the United States,united_states,annual,growth_previous,CPALTT01USA657N
Consumer Price Index for the United States,united_states,annual,growth_same,CPALTT01USA659N
Consumer Price Index for the United States,united_states,annual,index_2015,CPALTT01USA661S
Consumer Price Index for the United States,united_states,monthly,growth_previous,CPALTT01USM657N
Consumer Price Index for the United States,united_states,monthly,growth_same,CPALTT01USM659N
Consumer Price Index for the United States,united_states,monthly,index_2015,CPALTT01USM661S
Consumer Price Index for the United States,united_states,quarterly,growth_previous,CPALTT01USQ657N
Consumer Price Index for the United States,united_states,quarterly,growth_same,CPALTT01USQ659N
Consumer Price Index for the United States,united_states,quarterly,index_2015,CPALTT01USQ661S
Consumer Price Index for Turkey,turkey,annual,index_2015,CPALCY01TRA661N
Consumer Price Index for Turkey,turkey,monthly,index_2015,CPALCY01TRM661N
Consumer Price Index for Turkey,turkey,quarterly,index_2015,CPALCY01TRQ661N
Consumer Price Index for Turkey,turkey,annual,growth_previous,CPALTT01TRA657N
Consumer Price Index for Turkey,turkey,annual,growth_same,CPALTT01TRA659N
Consumer Price Index for Turkey,turkey,monthly,growth_previous,CPALTT01TRM657N
Consumer Price Index for Turkey,turkey,monthly,growth_same,CPALTT01TRM659N
Consumer Price Index for Turkey,turkey,quarterly,growth_previous,CPALTT01TRQ657N
Consumer Price Index for Turkey,turkey,quarterly,growth_same,CPALTT01TRQ659N
1 title country frequency units series_id
2 Consumer Price Index for Australia australia annual growth_previous CPALTT01AUA657N
3 Consumer Price Index for Australia australia annual growth_same CPALTT01AUA659N
4 Consumer Price Index for Australia australia quarterly growth_previous CPALTT01AUQ657N
5 Consumer Price Index for Australia australia quarterly growth_same CPALTT01AUQ659N
6 Consumer Price Index for Austria austria annual growth_previous CPALTT01ATA657N
7 Consumer Price Index for Austria austria annual growth_same CPALTT01ATA659N
8 Consumer Price Index for Austria austria monthly growth_previous CPALTT01ATM657N
9 Consumer Price Index for Austria austria monthly growth_same CPALTT01ATM659N
10 Consumer Price Index for Austria austria quarterly growth_previous CPALTT01ATQ657N
11 Consumer Price Index for Austria austria quarterly growth_same CPALTT01ATQ659N
12 Consumer Price Index for Belgium belgium annual growth_previous CPALTT01BEA657N
13 Consumer Price Index for Belgium belgium annual growth_same CPALTT01BEA659N
14 Consumer Price Index for Belgium belgium monthly growth_previous CPALTT01BEM657N
15 Consumer Price Index for Belgium belgium monthly growth_same CPALTT01BEM659N
16 Consumer Price Index for Belgium belgium quarterly growth_previous CPALTT01BEQ657N
17 Consumer Price Index for Belgium belgium quarterly growth_same CPALTT01BEQ659N
18 Consumer Price Index for Brazil brazil annual growth_previous CPALTT01BRA657N
19 Consumer Price Index for Brazil brazil annual growth_same CPALTT01BRA659N
20 Consumer Price Index for Brazil brazil monthly growth_previous CPALTT01BRM657N
21 Consumer Price Index for Brazil brazil monthly growth_same CPALTT01BRM659N
22 Consumer Price Index for Brazil brazil quarterly growth_previous CPALTT01BRQ657N
23 Consumer Price Index for Brazil brazil quarterly growth_same CPALTT01BRQ659N
24 Consumer Price Index for Canada canada annual index_2015 CPALCY01CAA661N
25 Consumer Price Index for Canada canada monthly index_2015 CPALCY01CAM661N
26 Consumer Price Index for Canada canada quarterly index_2015 CPALCY01CAQ661N
27 Consumer Price Index for Canada canada annual growth_previous CPALTT01CAA657N
28 Consumer Price Index for Canada canada annual growth_same CPALTT01CAA659N
29 Consumer Price Index for Canada canada monthly growth_previous CPALTT01CAM657N
30 Consumer Price Index for Canada canada monthly growth_same CPALTT01CAM659N
31 Consumer Price Index for Canada canada quarterly growth_previous CPALTT01CAQ657N
32 Consumer Price Index for Canada canada quarterly growth_same CPALTT01CAQ659N
33 Consumer Price Index for Chile chile annual growth_previous CPALTT01CLA657N
34 Consumer Price Index for Chile chile annual growth_same CPALTT01CLA659N
35 Consumer Price Index for Chile chile monthly growth_previous CPALTT01CLM657N
36 Consumer Price Index for Chile chile monthly growth_same CPALTT01CLM659N
37 Consumer Price Index for Chile chile quarterly growth_previous CPALTT01CLQ657N
38 Consumer Price Index for Chile chile quarterly growth_same CPALTT01CLQ659N
39 Consumer Price Index for China china annual growth_previous CPALTT01CNA657N
40 Consumer Price Index for China china monthly growth_same CPALTT01CNM657N
41 Consumer Price Index for China china monthly growth_previous CPALTT01CNM659N
42 Consumer Price Index for China china quarterly growth_same CPALTT01CNQ657N
43 Consumer Price Index for China china quarterly growth_previous CPALTT01CNQ659N
44 Consumer Price Index for Denmark denmark annual growth_same CPALTT01DKA657N
45 Consumer Price Index for Denmark denmark annual growth_previous CPALTT01DKA659N
46 Consumer Price Index for Denmark denmark monthly growth_same CPALTT01DKM657N
47 Consumer Price Index for Denmark denmark monthly growth_previous CPALTT01DKM659N
48 Consumer Price Index for Denmark denmark quarterly growth_same CPALTT01DKQ657N
49 Consumer Price Index for Denmark denmark quarterly growth_previous CPALTT01DKQ659N
50 Consumer Price Index for Estonia estonia annual growth_same CPALTT01EEA657N
51 Consumer Price Index for Estonia estonia annual growth_previous CPALTT01EEA659N
52 Consumer Price Index for Estonia estonia annual index_2015 CPALTT01EEA661N
53 Consumer Price Index for Estonia estonia monthly growth_previous CPALTT01EEM657N
54 Consumer Price Index for Estonia estonia monthly growth_same CPALTT01EEM659N
55 Consumer Price Index for Estonia estonia monthly index_2015 CPALTT01EEM661N
56 Consumer Price Index for Estonia estonia quarterly growth_same CPALTT01EEQ657N
57 Consumer Price Index for Estonia estonia quarterly growth_previous CPALTT01EEQ659N
58 Consumer Price Index for Estonia estonia quarterly index_2015 CPALTT01EEQ661N
59 Consumer Price Index for Finland finland annual growth_previous CPALTT01FIA657N
60 Consumer Price Index for Finland finland annual growth_same CPALTT01FIA659N
61 Consumer Price Index for Finland finland monthly growth_previous CPALTT01FIM657N
62 Consumer Price Index for Finland finland monthly growth_same CPALTT01FIM659N
63 Consumer Price Index for Finland finland quarterly growth_previous CPALTT01FIQ657N
64 Consumer Price Index for Finland finland quarterly growth_same CPALTT01FIQ659N
65 Consumer Price Index for France france annual growth_previous CPALTT01FRA657N
66 Consumer Price Index for France france annual growth_same CPALTT01FRA659N
67 Consumer Price Index for France france monthly growth_previous CPALTT01FRM657N
68 Consumer Price Index for France france monthly growth_same CPALTT01FRM659N
69 Consumer Price Index for France france quarterly growth_previous CPALTT01FRQ657N
70 Consumer Price Index for France france quarterly growth_same CPALTT01FRQ659N
71 Consumer Price Index for Germany germany annual growth_same CPALTT01DEA657N
72 Consumer Price Index for Germany germany annual growth_previous CPALTT01DEA659N
73 Consumer Price Index for Germany germany monthly growth_same CPALTT01DEM657N
74 Consumer Price Index for Germany germany monthly growth_previous CPALTT01DEM659N
75 Consumer Price Index for Germany germany quarterly growth_same CPALTT01DEQ657N
76 Consumer Price Index for Germany germany quarterly growth_previous CPALTT01DEQ659N
77 Consumer Price Index for Greece greece annual growth_previous CPALTT01GRA657N
78 Consumer Price Index for Greece greece annual growth_same CPALTT01GRA659N
79 Consumer Price Index for Greece greece monthly growth_previous CPALTT01GRM657N
80 Consumer Price Index for Greece greece monthly growth_same CPALTT01GRM659N
81 Consumer Price Index for Greece greece quarterly growth_previous CPALTT01GRQ657N
82 Consumer Price Index for Greece greece quarterly growth_same CPALTT01GRQ659N
83 Consumer Price Index for Hungary hungary annual growth_previous CPALTT01HUA657N
84 Consumer Price Index for Hungary hungary annual growth_same CPALTT01HUA659N
85 Consumer Price Index for Hungary hungary monthly growth_previous CPALTT01HUM657N
86 Consumer Price Index for Hungary hungary monthly growth_same CPALTT01HUM659N
87 Consumer Price Index for Hungary hungary quarterly growth_previous CPALTT01HUQ657N
88 Consumer Price Index for Hungary hungary quarterly growth_same CPALTT01HUQ659N
89 Consumer Price Index for Iceland iceland annual growth_previous CPALTT01ISA657N
90 Consumer Price Index for Iceland iceland annual growth_same CPALTT01ISA659N
91 Consumer Price Index for Iceland iceland monthly growth_previous CPALTT01ISM657N
92 Consumer Price Index for Iceland iceland monthly growth_same CPALTT01ISM659N
93 Consumer Price Index for Iceland iceland quarterly growth_previous CPALTT01ISQ657N
94 Consumer Price Index for Iceland iceland quarterly growth_same CPALTT01ISQ659N
95 Consumer Price Index for India india annual growth_previous CPALTT01INA657N
96 Consumer Price Index for India india annual growth_same CPALTT01INA659N
97 Consumer Price Index for India india monthly growth_previous CPALTT01INM657N
98 Consumer Price Index for India india monthly growth_same CPALTT01INM659N
99 Consumer Price Index for India india quarterly growth_previous CPALTT01INQ657N
100 Consumer Price Index for India india quarterly growth_same CPALTT01INQ659N
101 Consumer Price Index for Indonesia indonesia annual growth_previous CPALTT01IDA657N
102 Consumer Price Index for Indonesia indonesia annual growth_same CPALTT01IDA659N
103 Consumer Price Index for Indonesia indonesia monthly growth_previous CPALTT01IDM657N
104 Consumer Price Index for Indonesia indonesia monthly growth_same CPALTT01IDM659N
105 Consumer Price Index for Indonesia indonesia quarterly growth_previous CPALTT01IDQ657N
106 Consumer Price Index for Indonesia indonesia quarterly growth_same CPALTT01IDQ659N
107 Consumer Price Index for Ireland ireland annual growth_previous CPALTT01IEA657N
108 Consumer Price Index for Ireland ireland annual growth_same CPALTT01IEA659N
109 Consumer Price Index for Ireland ireland monthly growth_previous CPALTT01IEM657N
110 Consumer Price Index for Ireland ireland monthly growth_same CPALTT01IEM659N
111 Consumer Price Index for Ireland ireland quarterly growth_previous CPALTT01IEQ657N
112 Consumer Price Index for Ireland ireland quarterly growth_same CPALTT01IEQ659N
113 Consumer Price Index for Israel israel annual growth_previous CPALTT01ILA657N
114 Consumer Price Index for Israel israel annual growth_same CPALTT01ILA659N
115 Consumer Price Index for Israel israel monthly growth_previous CPALTT01ILM657N
116 Consumer Price Index for Israel israel monthly growth_same CPALTT01ILM659N
117 Consumer Price Index for Israel israel quarterly growth_previous CPALTT01ILQ657N
118 Consumer Price Index for Israel israel quarterly growth_same CPALTT01ILQ659N
119 Consumer Price Index for Italy italy annual growth_previous CPALTT01ITA657N
120 Consumer Price Index for Italy italy annual growth_same CPALTT01ITA659N
121 Consumer Price Index for Italy italy monthly growth_previous CPALTT01ITM657N
122 Consumer Price Index for Italy italy monthly growth_same CPALTT01ITM659N
123 Consumer Price Index for Italy italy quarterly growth_previous CPALTT01ITQ657N
124 Consumer Price Index for Italy italy quarterly growth_same CPALTT01ITQ659N
125 Consumer Price Index for Japan japan monthly index_2015 CPALCY01JPM661N
126 Consumer Price Index for Japan japan quarterly index_2015 CPALCY01JPQ661N
127 Consumer Price Index for Japan japan monthly growth_previous CPALTT01JPM657N
128 Consumer Price Index for Japan japan monthly growth_same CPALTT01JPM659N
129 Consumer Price Index for Japan japan monthly index_2015 CPALTT01JPM661S
130 Consumer Price Index for Japan japan quarterly growth_same CPALTT01JPQ657N
131 Consumer Price Index for Japan japan quarterly growth_previous CPALTT01JPQ659N
132 Consumer Price Index for Japan japan quarterly index_2015 CPALTT01JPQ661S
133 Consumer Price Index for Luxembourg luxembourg annual growth_previous CPALTT01LUA657N
134 Consumer Price Index for Luxembourg luxembourg annual growth_same CPALTT01LUA659N
135 Consumer Price Index for Luxembourg luxembourg monthly growth_previous CPALTT01LUM657N
136 Consumer Price Index for Luxembourg luxembourg monthly growth_same CPALTT01LUM659N
137 Consumer Price Index for Luxembourg luxembourg quarterly growth_previous CPALTT01LUQ657N
138 Consumer Price Index for Luxembourg luxembourg quarterly growth_same CPALTT01LUQ659N
139 Consumer Price Index for Mexico mexico annual index_2015 CPALCY01MXA661N
140 Consumer Price Index for Mexico mexico monthly index_2015 CPALCY01MXM661N
141 Consumer Price Index for Mexico mexico quarterly index_2015 CPALCY01MXQ661N
142 Consumer Price Index for Mexico mexico annual growth_previous CPALTT01MXA657N
143 Consumer Price Index for Mexico mexico annual growth_same CPALTT01MXA659N
144 Consumer Price Index for Mexico mexico monthly growth_previous CPALTT01MXM657N
145 Consumer Price Index for Mexico mexico monthly growth_same CPALTT01MXM659N
146 Consumer Price Index for Mexico mexico quarterly growth_previous CPALTT01MXQ657N
147 Consumer Price Index for Mexico mexico quarterly growth_same CPALTT01MXQ659N
148 Consumer Price Index for New Zealand new_zealand annual index_2015 CPALCY01NZA661N
149 Consumer Price Index for New Zealand new_zealand quarterly index_2015 CPALCY01NZQ661N
150 Consumer Price Index for New Zealand new_zealand annual growth_previous CPALTT01NZA657N
151 Consumer Price Index for New Zealand new_zealand annual growth_same CPALTT01NZA659N
152 Consumer Price Index for New Zealand new_zealand quarterly growth_previous CPALTT01NZQ657N
153 Consumer Price Index for New Zealand new_zealand quarterly growth_same CPALTT01NZQ659N
154 Consumer Price Index for Norway norway annual growth_previous CPALTT01NOA657N
155 Consumer Price Index for Norway norway annual growth_same CPALTT01NOA659N
156 Consumer Price Index for Norway norway monthly growth_previous CPALTT01NOM657N
157 Consumer Price Index for Norway norway monthly growth_same CPALTT01NOM659N
158 Consumer Price Index for Norway norway quarterly growth_previous CPALTT01NOQ657N
159 Consumer Price Index for Norway norway quarterly growth_same CPALTT01NOQ659N
160 Consumer Price Index for Poland poland annual growth_previous CPALTT01PLA657N
161 Consumer Price Index for Poland poland annual growth_same CPALTT01PLA659N
162 Consumer Price Index for Poland poland monthly growth_previous CPALTT01PLM657N
163 Consumer Price Index for Poland poland monthly growth_same CPALTT01PLM659N
164 Consumer Price Index for Poland poland quarterly growth_previous CPALTT01PLQ657N
165 Consumer Price Index for Poland poland quarterly growth_same CPALTT01PLQ659N
166 Consumer Price Index for Portugal portugal annual growth_previous CPALTT01PTA657N
167 Consumer Price Index for Portugal portugal annual growth_same CPALTT01PTA659N
168 Consumer Price Index for Portugal portugal monthly growth_previous CPALTT01PTM657N
169 Consumer Price Index for Portugal portugal monthly growth_same CPALTT01PTM659N
170 Consumer Price Index for Portugal portugal quarterly growth_previous CPALTT01PTQ657N
171 Consumer Price Index for Portugal portugal quarterly growth_same CPALTT01PTQ659N
172 Consumer Price Index for Slovenia slovenia annual growth_previous CPALTT01SIA657N
173 Consumer Price Index for Slovenia slovenia annual growth_same CPALTT01SIA659N
174 Consumer Price Index for Slovenia slovenia monthly growth_previous CPALTT01SIM657N
175 Consumer Price Index for Slovenia slovenia monthly growth_same CPALTT01SIM659N
176 Consumer Price Index for Slovenia slovenia quarterly growth_previous CPALTT01SIQ657N
177 Consumer Price Index for Slovenia slovenia quarterly growth_same CPALTT01SIQ659N
178 Consumer Price Index for South Africa south_africa annual growth_previous CPALTT01ZAA657N
179 Consumer Price Index for South Africa south_africa annual growth_same CPALTT01ZAA659N
180 Consumer Price Index for South Africa south_africa monthly growth_previous CPALTT01ZAM657N
181 Consumer Price Index for South Africa south_africa monthly growth_same CPALTT01ZAM659N
182 Consumer Price Index for South Africa south_africa quarterly growth_previous CPALTT01ZAQ657N
183 Consumer Price Index for South Africa south_africa quarterly growth_same CPALTT01ZAQ659N
184 Consumer Price Index for Spain spain annual growth_previous CPALTT01ESA657N
185 Consumer Price Index for Spain spain annual growth_same CPALTT01ESA659N
186 Consumer Price Index for Spain spain monthly growth_previous CPALTT01ESM657N
187 Consumer Price Index for Spain spain monthly growth_same CPALTT01ESM659N
188 Consumer Price Index for Spain spain quarterly growth_previous CPALTT01ESQ657N
189 Consumer Price Index for Spain spain quarterly growth_same CPALTT01ESQ659N
190 Consumer Price Index for Sweden sweden annual growth_previous CPALTT01SEA657N
191 Consumer Price Index for Sweden sweden annual growth_same CPALTT01SEA659N
192 Consumer Price Index for Sweden sweden monthly growth_previous CPALTT01SEM657N
193 Consumer Price Index for Sweden sweden monthly growth_same CPALTT01SEM659N
194 Consumer Price Index for Sweden sweden quarterly growth_previous CPALTT01SEQ657N
195 Consumer Price Index for Sweden sweden quarterly growth_same CPALTT01SEQ659N
196 Consumer Price Index for Switzerland switzerland annual growth_previous CPALTT01CHA657N
197 Consumer Price Index for Switzerland switzerland annual growth_same CPALTT01CHA659N
198 Consumer Price Index for Switzerland switzerland monthly growth_previous CPALTT01CHM657N
199 Consumer Price Index for Switzerland switzerland monthly growth_same CPALTT01CHM659N
200 Consumer Price Index for Switzerland switzerland quarterly growth_previous CPALTT01CHQ657N
201 Consumer Price Index for Switzerland switzerland quarterly growth_same CPALTT01CHQ659N
202 Consumer Price Index for the Czech Republic czech_republic annual growth_same CPALTT01CZA657N
203 Consumer Price Index for the Czech Republic czech_republic annual growth_previous CPALTT01CZA659N
204 Consumer Price Index for the Czech Republic czech_republic monthly growth_same CPALTT01CZM657N
205 Consumer Price Index for the Czech Republic czech_republic monthly growth_previous CPALTT01CZM659N
206 Consumer Price Index for the Czech Republic czech_republic quarterly growth_same CPALTT01CZQ657N
207 Consumer Price Index for the Czech Republic czech_republic quarterly growth_previous CPALTT01CZQ659N
208 Consumer Price Index for the Netherlands netherlands annual growth_previous CPALTT01NLA657N
209 Consumer Price Index for the Netherlands netherlands annual growth_same CPALTT01NLA659N
210 Consumer Price Index for the Netherlands netherlands monthly growth_previous CPALTT01NLM657N
211 Consumer Price Index for the Netherlands netherlands monthly growth_same CPALTT01NLM659N
212 Consumer Price Index for the Netherlands netherlands quarterly growth_previous CPALTT01NLQ657N
213 Consumer Price Index for the Netherlands netherlands quarterly growth_same CPALTT01NLQ659N
214 Consumer Price Index for the Republic of Korea korea annual growth_previous CPALTT01KRA657N
215 Consumer Price Index for the Republic of Korea korea annual growth_same CPALTT01KRA659N
216 Consumer Price Index for the Republic of Korea korea monthly growth_previous CPALTT01KRM657N
217 Consumer Price Index for the Republic of Korea korea monthly growth_same CPALTT01KRM659N
218 Consumer Price Index for the Republic of Korea korea quarterly growth_previous CPALTT01KRQ657N
219 Consumer Price Index for the Republic of Korea korea quarterly growth_same CPALTT01KRQ659N
220 Consumer Price Index for the Russian Federation russian_federation monthly growth_previous CPALTT01RUM657N
221 Consumer Price Index for the Russian Federation russian_federation monthly growth_same CPALTT01RUM659N
222 Consumer Price Index for the Russian Federation russian_federation quarterly growth_previous CPALTT01RUQ657N
223 Consumer Price Index for the Russian Federation russian_federation quarterly growth_same CPALTT01RUQ659N
224 Consumer Price Index for the Slovak Republic slovak_republic annual growth_previous CPALTT01SKA657N
225 Consumer Price Index for the Slovak Republic slovak_republic annual growth_same CPALTT01SKA659N
226 Consumer Price Index for the Slovak Republic slovak_republic monthly growth_previous CPALTT01SKM657N
227 Consumer Price Index for the Slovak Republic slovak_republic monthly growth_same CPALTT01SKM659N
228 Consumer Price Index for the Slovak Republic slovak_republic quarterly growth_previous CPALTT01SKQ657N
229 Consumer Price Index for the Slovak Republic slovak_republic quarterly growth_same CPALTT01SKQ659N
230 Consumer Price Index for the United Kingdom the united kingdom annual growth_previous CPALTT01GBA657N
231 Consumer Price Index for the United Kingdom united_kingdom annual growth_same CPALTT01GBA659N
232 Consumer Price Index for the United Kingdom united_kingdom monthly growth_previous CPALTT01GBM657N
233 Consumer Price Index for the United Kingdom united_kingdom monthly growth_same CPALTT01GBM659N
234 Consumer Price Index for the United Kingdom united_kingdom quarterly growth_previous CPALTT01GBQ657N
235 Consumer Price Index for the United Kingdom united_kingdom quarterly growth_same CPALTT01GBQ659N
236 Consumer Price Index for the United States united_states annual index_2015 CPALCY01USA661N
237 Consumer Price Index for the United States united_states monthly index_2015 CPALCY01USM661N
238 Consumer Price Index for the United States united_states quarterly index_2015 CPALCY01USQ661N
239 Consumer Price Index for the United States united_states annual growth_previous CPALTT01USA657N
240 Consumer Price Index for the United States united_states annual growth_same CPALTT01USA659N
241 Consumer Price Index for the United States united_states annual index_2015 CPALTT01USA661S
242 Consumer Price Index for the United States united_states monthly growth_previous CPALTT01USM657N
243 Consumer Price Index for the United States united_states monthly growth_same CPALTT01USM659N
244 Consumer Price Index for the United States united_states monthly index_2015 CPALTT01USM661S
245 Consumer Price Index for the United States united_states quarterly growth_previous CPALTT01USQ657N
246 Consumer Price Index for the United States united_states quarterly growth_same CPALTT01USQ659N
247 Consumer Price Index for the United States united_states quarterly index_2015 CPALTT01USQ661S
248 Consumer Price Index for Turkey turkey annual index_2015 CPALCY01TRA661N
249 Consumer Price Index for Turkey turkey monthly index_2015 CPALCY01TRM661N
250 Consumer Price Index for Turkey turkey quarterly index_2015 CPALCY01TRQ661N
251 Consumer Price Index for Turkey turkey annual growth_previous CPALTT01TRA657N
252 Consumer Price Index for Turkey turkey annual growth_same CPALTT01TRA659N
253 Consumer Price Index for Turkey turkey monthly growth_previous CPALTT01TRM657N
254 Consumer Price Index for Turkey turkey monthly growth_same CPALTT01TRM659N
255 Consumer Price Index for Turkey turkey quarterly growth_previous CPALTT01TRQ657N
256 Consumer Price Index for Turkey turkey quarterly growth_same CPALTT01TRQ659N

View File

@@ -1,13 +1,9 @@
# IMPORT STANDARD
from datetime import date
from typing import Optional
from urllib.parse import urlencode
# IMPORT THIRD-PARTY
import requests
# IMPORT INTERNAL
root_url = "https://api.stlouisfed.org/fred"

View File

@@ -1,23 +1,6 @@
# IMPORT STANDARD
import csv
import pathlib
from typing import List, Literal
# IMPORT THIRD-PARTY
# IMPORT INTERNAL
BASE_DIR = (
pathlib.Path(__file__).parent.parent.parent.parent.parent
/ "openbb_terminal"
/ "economy"
/ "datasets"
)
harmonized_cpi_path = BASE_DIR / "harmonized_cpi.csv"
cpi_path = BASE_DIR / "cpi.csv"
CPI_COUNTRIES = Literal[
"australia",
"austria",
@@ -78,8 +61,8 @@ CPI_FREQUENCY = Literal["monthly", "quarterly", "annual"]
def all_cpi_options(harmonized: bool = False) -> List[dict]:
data = []
the_path = harmonized_cpi_path if harmonized else cpi_path
with open(the_path, encoding="utf-8") as csv_file_handler:
file = "harmonized_cpi.csv" if harmonized else "cpi.csv"
with open(file, encoding="utf-8") as csv_file_handler:
csv_reader = csv.DictReader(csv_file_handler)
for rows in csv_reader:
row = {key.lstrip("\ufeff"): value for key, value in rows.items()}

View File

@@ -0,0 +1,137 @@
title,country,frequency,units,series_id
Harmonised CPI for Austria,austria,annual,growth_previous,CPHPTT01ATA657N
Harmonised CPI for Austria,austria,annual,growth_same,CPHPTT01ATA659N
Harmonised CPI for Austria,austria,monthly,growth_previous,CPHPTT01ATM657N
Harmonised CPI for Austria,austria,monthly,growth_same,CPHPTT01ATM659N
Harmonised CPI for Austria,austria,monthly,index_2015,CP0000ATM086NEST
Harmonised CPI for Belgium,belgium,annual,growth_previous,CPHPTT01BEA657N
Harmonised CPI for Belgium,belgium,annual,growth_same,CPHPTT01BEA659N
Harmonised CPI for Belgium,belgium,monthly,growth_previous,CPHPTT01BEM657N
Harmonised CPI for Belgium,belgium,monthly,growth_same,CPHPTT01BEM659N
Harmonised CPI for Belgium,belgium,monthly,index_2015,CP0000BEM086NEST
Harmonised CPI for Bulgaria,bulgaria,monthly,index_2015,CP0000BGM086NEST
Harmonised CPI for Croatia,croatia,monthly,index_2015,CP0000HRM086NEST
Harmonised CPI for Cyprus,cyprus,monthly,index_2015,CP0000CYM086NEST
Harmonised CPI for the Czech Republic,czech_republic,annual,growth_previous,CPHPTT01CZA657N
Harmonised CPI for the Czech Republic,czech_republic,annual,growth_same,CPHPTT01CZA659N
Harmonised CPI for the Czech Republic,czech_republic,monthly,growth_previous,CPHPTT01CZM657N
Harmonised CPI for the Czech Republic,czech_republic,monthly,growth_same,CPHPTT01CZM659N
Harmonised CPI for Czech Republic,czech_republic,monthly,index_2015,CP0000CZM086NEST
Harmonised CPI for Denmark,denmark,annual,growth_previous,CPHPTT01DKA657N
Harmonised CPI for Denmark,denmark,annual,growth_same,CPHPTT01DKA659N
Harmonised CPI for Denmark,denmark,monthly,growth_previous,CPHPTT01DKM657N
Harmonised CPI for Denmark,denmark,monthly,growth_same,CPHPTT01DKM659N
Harmonised CPI for Denmark,denmark,monthly,index_2015,CP0000DKM086NEST
Harmonised CPI for Estonia,estonia,annual,growth_previous,CPHPTT01EEA657N
Harmonised CPI for Estonia,estonia,annual,growth_same,CPHPTT01EEA659N
Harmonised CPI for Estonia,estonia,annual,index_2015,CPHPTT01EEA661N
Harmonised CPI for Estonia,estonia,monthly,growth_previous,CPHPTT01EEM657N
Harmonised CPI for Estonia,estonia,monthly,growth_same,CPHPTT01EEM659N
Harmonised CPI for Estonia,estonia,monthly,index_2015,CPHPTT01EEM661N
Harmonised CPI for the Euro Area ,euro_area,annual,growth_previous,CPHPTT01EZA657N
Harmonised CPI for the Euro Area ,euro_area,annual,growth_same,CPHPTT01EZA659N
Harmonised CPI for the Euro Area ,euro_area,annual,index_2015,CPHPTT01EZA661N
Harmonised CPI for the Euro Area ,euro_area,monthly,growth_previous,CPHPTT01EZM657N
Harmonised CPI for the Euro Area ,euro_area,monthly,growth_same,CPHPTT01EZM659N
Harmonised CPI for the Euro Area ,euro_area,monthly,index_2015,CPHPTT01EZM661N
Harmonised CPI for Finland,finland,annual,growth_previous,CPHPTT01FIA657N
Harmonised CPI for Finland,finland,annual,growth_same,CPHPTT01FIA659N
Harmonised CPI for Finland,finland,monthly,growth_previous,CPHPTT01FIM657N
Harmonised CPI for Finland,finland,monthly,growth_same,CPHPTT01FIM659N
Harmonised CPI for Finland,finland,monthly,index_2015,CP0000FIM086NEST
Harmonised CPI for France,france,monthly,index_2015,CP0000FRM086NEST
Harmonised CPI for France,france,annual,growth_previous,CPHPTT01FRA657N
Harmonised CPI for France,france,annual,growth_same,CPHPTT01FRA659N
Harmonised CPI for France,france,monthly,growth_previous,CPHPTT01FRM657N
Harmonised CPI for France,france,monthly,growth_same,CPHPTT01FRM659N
Harmonised CPI for Germany,germany,annual,growth_previous,CPHPTT01DEA657N
Harmonised CPI for Germany,germany,annual,growth_same,CPHPTT01DEA659N
Harmonised CPI for Germany,germany,monthly,growth_previous,CPHPTT01DEM657N
Harmonised CPI for Germany,germany,monthly,growth_same,CPHPTT01DEM659N
Harmonised CPI for Germany,germany,monthly,index_2015,CP0000DEM086NEST
Harmonised CPI for Greece,greece,monthly,index_2015,CP0000GRM086NEST
Harmonised CPI for Greece,greece,annual,growth_previous,CPHPTT01GRA657N
Harmonised CPI for Greece,greece,annual,growth_same,CPHPTT01GRA659N
Harmonised CPI for Greece,greece,monthly,growth_previous,CPHPTT01GRM657N
Harmonised CPI for Greece,greece,monthly,growth_same,CPHPTT01GRM659N
Harmonised CPI for Hungary,hungary,monthly,index_2015,CP0000HUM086NEST
Harmonised CPI for Hungary,hungary,annual,growth_previous,CPHPTT01HUA657N
Harmonised CPI for Hungary,hungary,annual,growth_same,CPHPTT01HUA659N
Harmonised CPI for Hungary,hungary,monthly,growth_previous,CPHPTT01HUM657N
Harmonised CPI for Hungary,hungary,monthly,growth_same,CPHPTT01HUM659N
Harmonised CPI for Iceland,iceland,monthly,index_2015,CP0000ISM086NEST
Harmonised CPI for Iceland,iceland,annual,growth_previous,CPHPTT01ISA657N
Harmonised CPI for Iceland,iceland,annual,growth_same,CPHPTT01ISA659N
Harmonised CPI for Iceland,iceland,monthly,growth_previous,CPHPTT01ISM657N
Harmonised CPI for Iceland,iceland,monthly,growth_same,CPHPTT01ISM659N
Harmonised CPI for Italy,italy,monthly,index_2015,CP0000ITM086NEST
Harmonised CPI for Italy,italy,annual,growth_previous,CPHPTT01ITA657N
Harmonised CPI for Italy,italy,annual,growth_same,CPHPTT01ITA659N
Harmonised CPI for Italy,italy,monthly,growth_previous,CPHPTT01ITM657N
Harmonised CPI for Italy,italy,monthly,growth_same,CPHPTT01ITM659N
Harmonised CPI for Latvia,latvia,monthly,index_2015,CP0000LVM086NEST
Harmonised CPI for Lithuania,lithuania,monthly,index_2015,CP0000LTM086NEST
Harmonised CPI for Luxembourg,luxembourg,monthly,index_2015,CP0000LUM086NEST
Harmonised CPI for Luxembourg,luxembourg,annual,growth_previous,CPHPTT01LUA657N
Harmonised CPI for Luxembourg,luxembourg,annual,growth_same,CPHPTT01LUA659N
Harmonised CPI for Luxembourg,luxembourg,monthly,growth_previous,CPHPTT01LUM657N
Harmonised CPI for Luxembourg,luxembourg,monthly,growth_same,CPHPTT01LUM659N
Harmonised CPI for Malta,malta,monthly,index_2015,CP0000MTM086NEST
Harmonised CPI for Netherlands,netherlands,monthly,index_2015,CP0000NLM086NEST
Harmonised CPI for the Netherlands,netherlands,annual,growth_previous,CPHPTT01NLA657N
Harmonised CPI for the Netherlands,netherlands,annual,growth_same,CPHPTT01NLA659N
Harmonised CPI for the Netherlands,netherlands,monthly,growth_previous,CPHPTT01NLM657N
Harmonised CPI for the Netherlands,netherlands,monthly,growth_same,CPHPTT01NLM659N
Harmonised CPI for Norway,norway,monthly,index_2015,CP0000NOM086NEST
Harmonised CPI for Norway,norway,annual,growth_previous,CPHPTT01NOA657N
Harmonised CPI for Norway,norway,annual,growth_same,CPHPTT01NOA659N
Harmonised CPI for Norway,norway,monthly,growth_previous,CPHPTT01NOM657N
Harmonised CPI for Norway,norway,monthly,growth_same,CPHPTT01NOM659N
Harmonised CPI for Poland,poland,monthly,index_2015,CP0000PLM086NEST
Harmonised CPI for Poland,poland,annual,growth_previous,CPHPTT01PLA657N
Harmonised CPI for Poland,poland,annual,growth_same,CPHPTT01PLA659N
Harmonised CPI for Poland,poland,monthly,growth_previous,CPHPTT01PLM657N
Harmonised CPI for Poland,poland,monthly,growth_same,CPHPTT01PLM659N
Harmonised CPI for Portugal,portugal,monthly,index_2015,CP0000PTM086NEST
Harmonised CPI for Portugal,portugal,annual,growth_previous,CPHPTT01PTA657N
Harmonised CPI for Portugal,portugal,annual,growth_same,CPHPTT01PTA659N
Harmonised CPI for Portugal,portugal,monthly,growth_previous,CPHPTT01PTM657N
Harmonised CPI for Portugal,portugal,monthly,growth_same,CPHPTT01PTM659N
Harmonised CPI for Romania,romania,monthly,index_2015,CP0000ROM086NEST
Harmonised CPI for the Slovak Republic,slovak_republic,annual,growth_previous,CPHPTT01SKA657N
Harmonised CPI for the Slovak Republic,slovak_republic,annual,growth_same,CPHPTT01SKA659N
Harmonised CPI for the Slovak Republic,slovak_republic,monthly,growth_previous,CPHPTT01SKM657N
Harmonised CPI for the Slovak Republic,slovak_republic,monthly,growth_same,CPHPTT01SKM659N
Harmonised CPI for Slovakia,slovakia,monthly,index_2015,CP0000SKM086NEST
Harmonised CPI for Slovenia,slovenia,monthly,index_2015,CP0000SIM086NEST
Harmonised CPI for Slovenia,slovenia,annual,growth_previous,CPHPTT01SIA657N
Harmonised CPI for Slovenia,slovenia,annual,growth_same,CPHPTT01SIA659N
Harmonised CPI for Slovenia,slovenia,monthly,growth_previous,CPHPTT01SIM657N
Harmonised CPI for Slovenia,slovenia,monthly,growth_same,CPHPTT01SIM659N
Harmonised CPI for Spain,spain,annual,growth_previous,CPHPTT01ESA657N
Harmonised CPI for Spain,spain,annual,growth_same,CPHPTT01ESA659N
Harmonised CPI for Spain,spain,monthly,growth_previous,CPHPTT01ESM657N
Harmonised CPI for Spain,spain,monthly,growth_same,CPHPTT01ESM659N
Harmonised CPI for Spain,spain,monthly,index_2015,CP0000ESM086NEST
Harmonised CPI for Sweden,sweden,monthly,index_2015,CP0000SEM086NEST
Harmonised CPI for Sweden,sweden,annual,growth_previous,CPHPTT01SEA657N
Harmonised CPI for Sweden,sweden,annual,growth_same,CPHPTT01SEA659N
Harmonised CPI for Sweden,sweden,monthly,growth_previous,CPHPTT01SEM657N
Harmonised CPI for Sweden,sweden,monthly,growth_same,CPHPTT01SEM659N
Harmonised CPI for Switzerland,switzerland,annual,growth_previous,CPHPTT01CHA657N
Harmonised CPI for Switzerland,switzerland,annual,growth_same,CPHPTT01CHA659N
Harmonised CPI for Switzerland,switzerland,monthly,growth_previous,CPHPTT01CHM657N
Harmonised CPI for Switzerland,switzerland,monthly,growth_same,CPHPTT01CHM659N
Harmonised CPI for Switzerland,switzerland,monthly,index_2015,CP0000CHM086NEST
Harmonised CPI for Turkey,turkey,monthly,index_2015,CP0000TRM086NEST
Harmonised CPI for Turkey,turkey,annual,growth_previous,CPHPTT01TRA657N
Harmonised CPI for Turkey,turkey,annual,growth_same,CPHPTT01TRA659N
Harmonised CPI for Turkey,turkey,monthly,growth_previous,CPHPTT01TRM657N
Harmonised CPI for Turkey,turkey,monthly,growth_same,CPHPTT01TRM659N
Harmonised CPI for the United Kingdom,united_kingdom,annual,growth_same,CPHPTT01GBA659N
Harmonised CPI for the United Kingdom,united_kingdom,monthly,growth_same,CPHPTT01GBM659N
Harmonised CPI for United States,united_states,monthly,index_2015,CP0000USM086NEST
Harmonised CPI for the United States,united_states,annual,growth_previous,CPHPTT01USA657N
Harmonised CPI for the United States,united_states,annual,growth_same,CPHPTT01USA659N
Harmonised CPI for the United States,united_states,monthly,growth_previous,CPHPTT01USM657N
Harmonised CPI for the United States,united_states,monthly,growth_same,CPHPTT01USM659N
1 title country frequency units series_id
2 Harmonised CPI for Austria austria annual growth_previous CPHPTT01ATA657N
3 Harmonised CPI for Austria austria annual growth_same CPHPTT01ATA659N
4 Harmonised CPI for Austria austria monthly growth_previous CPHPTT01ATM657N
5 Harmonised CPI for Austria austria monthly growth_same CPHPTT01ATM659N
6 Harmonised CPI for Austria austria monthly index_2015 CP0000ATM086NEST
7 Harmonised CPI for Belgium belgium annual growth_previous CPHPTT01BEA657N
8 Harmonised CPI for Belgium belgium annual growth_same CPHPTT01BEA659N
9 Harmonised CPI for Belgium belgium monthly growth_previous CPHPTT01BEM657N
10 Harmonised CPI for Belgium belgium monthly growth_same CPHPTT01BEM659N
11 Harmonised CPI for Belgium belgium monthly index_2015 CP0000BEM086NEST
12 Harmonised CPI for Bulgaria bulgaria monthly index_2015 CP0000BGM086NEST
13 Harmonised CPI for Croatia croatia monthly index_2015 CP0000HRM086NEST
14 Harmonised CPI for Cyprus cyprus monthly index_2015 CP0000CYM086NEST
15 Harmonised CPI for the Czech Republic czech_republic annual growth_previous CPHPTT01CZA657N
16 Harmonised CPI for the Czech Republic czech_republic annual growth_same CPHPTT01CZA659N
17 Harmonised CPI for the Czech Republic czech_republic monthly growth_previous CPHPTT01CZM657N
18 Harmonised CPI for the Czech Republic czech_republic monthly growth_same CPHPTT01CZM659N
19 Harmonised CPI for Czech Republic czech_republic monthly index_2015 CP0000CZM086NEST
20 Harmonised CPI for Denmark denmark annual growth_previous CPHPTT01DKA657N
21 Harmonised CPI for Denmark denmark annual growth_same CPHPTT01DKA659N
22 Harmonised CPI for Denmark denmark monthly growth_previous CPHPTT01DKM657N
23 Harmonised CPI for Denmark denmark monthly growth_same CPHPTT01DKM659N
24 Harmonised CPI for Denmark denmark monthly index_2015 CP0000DKM086NEST
25 Harmonised CPI for Estonia estonia annual growth_previous CPHPTT01EEA657N
26 Harmonised CPI for Estonia estonia annual growth_same CPHPTT01EEA659N
27 Harmonised CPI for Estonia estonia annual index_2015 CPHPTT01EEA661N
28 Harmonised CPI for Estonia estonia monthly growth_previous CPHPTT01EEM657N
29 Harmonised CPI for Estonia estonia monthly growth_same CPHPTT01EEM659N
30 Harmonised CPI for Estonia estonia monthly index_2015 CPHPTT01EEM661N
31 Harmonised CPI for the Euro Area euro_area annual growth_previous CPHPTT01EZA657N
32 Harmonised CPI for the Euro Area euro_area annual growth_same CPHPTT01EZA659N
33 Harmonised CPI for the Euro Area euro_area annual index_2015 CPHPTT01EZA661N
34 Harmonised CPI for the Euro Area euro_area monthly growth_previous CPHPTT01EZM657N
35 Harmonised CPI for the Euro Area euro_area monthly growth_same CPHPTT01EZM659N
36 Harmonised CPI for the Euro Area euro_area monthly index_2015 CPHPTT01EZM661N
37 Harmonised CPI for Finland finland annual growth_previous CPHPTT01FIA657N
38 Harmonised CPI for Finland finland annual growth_same CPHPTT01FIA659N
39 Harmonised CPI for Finland finland monthly growth_previous CPHPTT01FIM657N
40 Harmonised CPI for Finland finland monthly growth_same CPHPTT01FIM659N
41 Harmonised CPI for Finland finland monthly index_2015 CP0000FIM086NEST
42 Harmonised CPI for France france monthly index_2015 CP0000FRM086NEST
43 Harmonised CPI for France france annual growth_previous CPHPTT01FRA657N
44 Harmonised CPI for France france annual growth_same CPHPTT01FRA659N
45 Harmonised CPI for France france monthly growth_previous CPHPTT01FRM657N
46 Harmonised CPI for France france monthly growth_same CPHPTT01FRM659N
47 Harmonised CPI for Germany germany annual growth_previous CPHPTT01DEA657N
48 Harmonised CPI for Germany germany annual growth_same CPHPTT01DEA659N
49 Harmonised CPI for Germany germany monthly growth_previous CPHPTT01DEM657N
50 Harmonised CPI for Germany germany monthly growth_same CPHPTT01DEM659N
51 Harmonised CPI for Germany germany monthly index_2015 CP0000DEM086NEST
52 Harmonised CPI for Greece greece monthly index_2015 CP0000GRM086NEST
53 Harmonised CPI for Greece greece annual growth_previous CPHPTT01GRA657N
54 Harmonised CPI for Greece greece annual growth_same CPHPTT01GRA659N
55 Harmonised CPI for Greece greece monthly growth_previous CPHPTT01GRM657N
56 Harmonised CPI for Greece greece monthly growth_same CPHPTT01GRM659N
57 Harmonised CPI for Hungary hungary monthly index_2015 CP0000HUM086NEST
58 Harmonised CPI for Hungary hungary annual growth_previous CPHPTT01HUA657N
59 Harmonised CPI for Hungary hungary annual growth_same CPHPTT01HUA659N
60 Harmonised CPI for Hungary hungary monthly growth_previous CPHPTT01HUM657N
61 Harmonised CPI for Hungary hungary monthly growth_same CPHPTT01HUM659N
62 Harmonised CPI for Iceland iceland monthly index_2015 CP0000ISM086NEST
63 Harmonised CPI for Iceland iceland annual growth_previous CPHPTT01ISA657N
64 Harmonised CPI for Iceland iceland annual growth_same CPHPTT01ISA659N
65 Harmonised CPI for Iceland iceland monthly growth_previous CPHPTT01ISM657N
66 Harmonised CPI for Iceland iceland monthly growth_same CPHPTT01ISM659N
67 Harmonised CPI for Italy italy monthly index_2015 CP0000ITM086NEST
68 Harmonised CPI for Italy italy annual growth_previous CPHPTT01ITA657N
69 Harmonised CPI for Italy italy annual growth_same CPHPTT01ITA659N
70 Harmonised CPI for Italy italy monthly growth_previous CPHPTT01ITM657N
71 Harmonised CPI for Italy italy monthly growth_same CPHPTT01ITM659N
72 Harmonised CPI for Latvia latvia monthly index_2015 CP0000LVM086NEST
73 Harmonised CPI for Lithuania lithuania monthly index_2015 CP0000LTM086NEST
74 Harmonised CPI for Luxembourg luxembourg monthly index_2015 CP0000LUM086NEST
75 Harmonised CPI for Luxembourg luxembourg annual growth_previous CPHPTT01LUA657N
76 Harmonised CPI for Luxembourg luxembourg annual growth_same CPHPTT01LUA659N
77 Harmonised CPI for Luxembourg luxembourg monthly growth_previous CPHPTT01LUM657N
78 Harmonised CPI for Luxembourg luxembourg monthly growth_same CPHPTT01LUM659N
79 Harmonised CPI for Malta malta monthly index_2015 CP0000MTM086NEST
80 Harmonised CPI for Netherlands netherlands monthly index_2015 CP0000NLM086NEST
81 Harmonised CPI for the Netherlands netherlands annual growth_previous CPHPTT01NLA657N
82 Harmonised CPI for the Netherlands netherlands annual growth_same CPHPTT01NLA659N
83 Harmonised CPI for the Netherlands netherlands monthly growth_previous CPHPTT01NLM657N
84 Harmonised CPI for the Netherlands netherlands monthly growth_same CPHPTT01NLM659N
85 Harmonised CPI for Norway norway monthly index_2015 CP0000NOM086NEST
86 Harmonised CPI for Norway norway annual growth_previous CPHPTT01NOA657N
87 Harmonised CPI for Norway norway annual growth_same CPHPTT01NOA659N
88 Harmonised CPI for Norway norway monthly growth_previous CPHPTT01NOM657N
89 Harmonised CPI for Norway norway monthly growth_same CPHPTT01NOM659N
90 Harmonised CPI for Poland poland monthly index_2015 CP0000PLM086NEST
91 Harmonised CPI for Poland poland annual growth_previous CPHPTT01PLA657N
92 Harmonised CPI for Poland poland annual growth_same CPHPTT01PLA659N
93 Harmonised CPI for Poland poland monthly growth_previous CPHPTT01PLM657N
94 Harmonised CPI for Poland poland monthly growth_same CPHPTT01PLM659N
95 Harmonised CPI for Portugal portugal monthly index_2015 CP0000PTM086NEST
96 Harmonised CPI for Portugal portugal annual growth_previous CPHPTT01PTA657N
97 Harmonised CPI for Portugal portugal annual growth_same CPHPTT01PTA659N
98 Harmonised CPI for Portugal portugal monthly growth_previous CPHPTT01PTM657N
99 Harmonised CPI for Portugal portugal monthly growth_same CPHPTT01PTM659N
100 Harmonised CPI for Romania romania monthly index_2015 CP0000ROM086NEST
101 Harmonised CPI for the Slovak Republic slovak_republic annual growth_previous CPHPTT01SKA657N
102 Harmonised CPI for the Slovak Republic slovak_republic annual growth_same CPHPTT01SKA659N
103 Harmonised CPI for the Slovak Republic slovak_republic monthly growth_previous CPHPTT01SKM657N
104 Harmonised CPI for the Slovak Republic slovak_republic monthly growth_same CPHPTT01SKM659N
105 Harmonised CPI for Slovakia slovakia monthly index_2015 CP0000SKM086NEST
106 Harmonised CPI for Slovenia slovenia monthly index_2015 CP0000SIM086NEST
107 Harmonised CPI for Slovenia slovenia annual growth_previous CPHPTT01SIA657N
108 Harmonised CPI for Slovenia slovenia annual growth_same CPHPTT01SIA659N
109 Harmonised CPI for Slovenia slovenia monthly growth_previous CPHPTT01SIM657N
110 Harmonised CPI for Slovenia slovenia monthly growth_same CPHPTT01SIM659N
111 Harmonised CPI for Spain spain annual growth_previous CPHPTT01ESA657N
112 Harmonised CPI for Spain spain annual growth_same CPHPTT01ESA659N
113 Harmonised CPI for Spain spain monthly growth_previous CPHPTT01ESM657N
114 Harmonised CPI for Spain spain monthly growth_same CPHPTT01ESM659N
115 Harmonised CPI for Spain spain monthly index_2015 CP0000ESM086NEST
116 Harmonised CPI for Sweden sweden monthly index_2015 CP0000SEM086NEST
117 Harmonised CPI for Sweden sweden annual growth_previous CPHPTT01SEA657N
118 Harmonised CPI for Sweden sweden annual growth_same CPHPTT01SEA659N
119 Harmonised CPI for Sweden sweden monthly growth_previous CPHPTT01SEM657N
120 Harmonised CPI for Sweden sweden monthly growth_same CPHPTT01SEM659N
121 Harmonised CPI for Switzerland switzerland annual growth_previous CPHPTT01CHA657N
122 Harmonised CPI for Switzerland switzerland annual growth_same CPHPTT01CHA659N
123 Harmonised CPI for Switzerland switzerland monthly growth_previous CPHPTT01CHM657N
124 Harmonised CPI for Switzerland switzerland monthly growth_same CPHPTT01CHM659N
125 Harmonised CPI for Switzerland switzerland monthly index_2015 CP0000CHM086NEST
126 Harmonised CPI for Turkey turkey monthly index_2015 CP0000TRM086NEST
127 Harmonised CPI for Turkey turkey annual growth_previous CPHPTT01TRA657N
128 Harmonised CPI for Turkey turkey annual growth_same CPHPTT01TRA659N
129 Harmonised CPI for Turkey turkey monthly growth_previous CPHPTT01TRM657N
130 Harmonised CPI for Turkey turkey monthly growth_same CPHPTT01TRM659N
131 Harmonised CPI for the United Kingdom united_kingdom annual growth_same CPHPTT01GBA659N
132 Harmonised CPI for the United Kingdom united_kingdom monthly growth_same CPHPTT01GBM659N
133 Harmonised CPI for United States united_states monthly index_2015 CP0000USM086NEST
134 Harmonised CPI for the United States united_states annual growth_previous CPHPTT01USA657N
135 Harmonised CPI for the United States united_states annual growth_same CPHPTT01USA659N
136 Harmonised CPI for the United States united_states monthly growth_previous CPHPTT01USM657N
137 Harmonised CPI for the United States united_states monthly growth_same CPHPTT01USM659N

View File

@@ -1,8 +1,6 @@
# IMPORT STANDARD
from datetime import date as dateType
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
@@ -10,12 +8,10 @@ from openbb_provider.models.balance_sheet import (
BalanceSheetData,
BalanceSheetQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field
from openbb_polygon.helpers import get_data
from openbb_polygon.types import PolygonFundamentalQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import PolygonFundamentalQueryParams
class PolygonBalanceSheetQueryParams(PolygonFundamentalQueryParams):

View File

@@ -1,11 +1,9 @@
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
@@ -13,12 +11,10 @@ from openbb_provider.models.cash_flows import (
CashFlowStatementData,
CashFlowStatementQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field
from openbb_polygon.helpers import get_data
from openbb_polygon.types import PolygonFundamentalQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import PolygonFundamentalQueryParams
# noqa: E501

View File

@@ -1,20 +1,16 @@
"""Polygon crypto end of day fetcher."""
# IMPORT STANDARD
from datetime import datetime, timedelta
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.crypto_eod import CryptoEODData, CryptoEODQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeFloat, PositiveFloat, PositiveInt
from openbb_polygon.helpers import get_data
from openbb_polygon.types import BaseStockData, BaseStockQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, BaseStockQueryParams
class PolygonCryptoEODQueryParams(BaseStockQueryParams):

View File

@@ -1,20 +1,16 @@
"""Polygon Crypto Price fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.crypto_price import CryptoPriceData, CryptoPriceQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeFloat, PositiveFloat, PositiveInt
from openbb_polygon.helpers import get_data
from openbb_polygon.types import BaseStockData, BaseStockQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, BaseStockQueryParams
class PolygonCryptoPriceQueryParams(BaseStockQueryParams):

View File

@@ -1,20 +1,17 @@
"""Polygon forex end of day fetcher."""
# IMPORT STANDARD
from datetime import date, datetime, timedelta
from typing import Dict, List, Literal, Optional, Union
# IMPORT INTERNAL
from openbb_provider.abstract.data import QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
from openbb_provider.models.forex_eod import ForexEODData, ForexEODQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeFloat, PositiveFloat, PositiveInt
from openbb_polygon.helpers import get_data
from openbb_polygon.types import BaseStockData, Timespan
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, Timespan
class PolygonForexEODQueryParams(QueryParams):

View File

@@ -1,20 +1,16 @@
"""Polygon Forex Price fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.forex_price import ForexPriceData, ForexPriceQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeFloat, PositiveFloat, PositiveInt
from openbb_polygon.helpers import get_data
from openbb_polygon.types import BaseStockData, BaseStockQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, BaseStockQueryParams
class PolygonForexPriceQueryParams(BaseStockQueryParams):

View File

@@ -1,11 +1,9 @@
# IMPORT STANDARD
from datetime import (
date as dateType,
datetime,
)
from typing import Dict, List, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
@@ -13,12 +11,10 @@ from openbb_provider.models.income_statement import (
IncomeStatementData,
IncomeStatementQueryParams,
)
# IMPORT THIRD-PARTY
from pydantic import Field
from openbb_polygon.helpers import get_data
from openbb_polygon.types import PolygonFundamentalQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import PolygonFundamentalQueryParams
class PolygonIncomeStatementQueryParams(PolygonFundamentalQueryParams):

View File

@@ -1,21 +1,18 @@
"""Polygon major indices end of day fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.major_indices_eod import (
MajorIndicesEODData,
MajorIndicesEODQueryParams,
)
# IMPORT THIRD-PARTY
from openbb_polygon.helpers import get_data
from openbb_polygon.types import BaseStockData, BaseStockQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, BaseStockQueryParams
class PolygonMajorIndicesEODQueryParams(BaseStockQueryParams):

View File

@@ -1,20 +1,17 @@
"""Polygon major indices price fetcher."""
# IMPORT STANDARD
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.major_indices_price import (
MajorIndicesPriceData,
MajorIndicesPriceQueryParams,
)
# IMPORT THIRD-PARTY
from .helpers import get_data
from .types import BaseStockData, BaseStockQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, BaseStockQueryParams
class PolygonMajorIndicesPriceQueryParams(BaseStockQueryParams):

View File

@@ -1,20 +1,16 @@
"""Polygon stocks end of day fetcher."""
# IMPORT STANDARD
from datetime import datetime, timedelta
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.stock_eod import StockEODData, StockEODQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeFloat, PositiveFloat, PositiveInt
from openbb_polygon.helpers import get_data
from openbb_polygon.types import BaseStockData, BaseStockQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, BaseStockQueryParams
class PolygonStockEODQueryParams(BaseStockQueryParams):

View File

@@ -1,19 +1,16 @@
"""Polygon Stock News Fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Literal, Optional
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer, get_querystring
from openbb_provider.models.stock_news import StockNewsData, StockNewsQueryParams
# IMPORT THIRD-PARTY
from pydantic import BaseModel, Field
from openbb_polygon.helpers import get_data
from openbb_polygon.utils.helpers import get_data
class PolygonStockNewsQueryParams(QueryParams):

View File

@@ -1,20 +1,16 @@
"""Polygon stocks price fetcher."""
# IMPORT STANDARD
from datetime import datetime
from typing import Dict, List, Optional
from openbb_provider.abstract.fetcher import Fetcher
from openbb_provider.helpers import data_transformer
# IMPORT INTERNAL
from openbb_provider.models.stock_price import StockPriceData, StockPriceQueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, NonNegativeFloat, PositiveFloat, PositiveInt
from openbb_polygon.helpers import get_data
from openbb_polygon.types import BaseStockData, BaseStockQueryParams
from openbb_polygon.utils.helpers import get_data
from openbb_polygon.utils.types import BaseStockData, BaseStockQueryParams
class PolygonStockPriceQueryParams(BaseStockQueryParams):

View File

@@ -1,24 +1,20 @@
"""Polygon provider module."""
# IMPORT STANDARD
# IMPORT INTERNAL
from openbb_provider.abstract.provider import Provider
from openbb_polygon.balance_sheet import PolygonBalanceSheetFetcher
from openbb_polygon.cash_flow import PolygonCashFlowStatementFetcher
from openbb_polygon.crypto_eod import PolygonCryptoEODFetcher
from openbb_polygon.crypto_price import PolygonCryptoPriceFetcher
from openbb_polygon.forex_eod import PolygonForexEODFetcher
from openbb_polygon.forex_price import PolygonForexPriceFetcher
from openbb_polygon.income_statement import PolygonIncomeStatementFetcher
from openbb_polygon.major_indices_eod import PolygonMajorIndicesEODFetcher
from openbb_polygon.major_indices_price import PolygonMajorIndicesPriceFetcher
from openbb_polygon.stock_eod import PolygonStockEODFetcher
from openbb_polygon.stock_news import PolygonStockNewsFetcher
from openbb_polygon.stock_price import PolygonStockPriceFetcher
# IMPORT THIRD-PARTY
from openbb_polygon.models.balance_sheet import PolygonBalanceSheetFetcher
from openbb_polygon.models.cash_flow import PolygonCashFlowStatementFetcher
from openbb_polygon.models.crypto_eod import PolygonCryptoEODFetcher
from openbb_polygon.models.crypto_price import PolygonCryptoPriceFetcher
from openbb_polygon.models.forex_eod import PolygonForexEODFetcher
from openbb_polygon.models.forex_price import PolygonForexPriceFetcher
from openbb_polygon.models.income_statement import PolygonIncomeStatementFetcher
from openbb_polygon.models.major_indices_eod import PolygonMajorIndicesEODFetcher
from openbb_polygon.models.major_indices_price import PolygonMajorIndicesPriceFetcher
from openbb_polygon.models.stock_eod import PolygonStockEODFetcher
from openbb_polygon.models.stock_news import PolygonStockNewsFetcher
from openbb_polygon.models.stock_price import PolygonStockPriceFetcher
# mypy: disable-error-code="list-item"
polygon_provider = Provider(

View File

@@ -1,11 +1,6 @@
# IMPORT STANDARD
# IMPORT THIRD PARTY
import requests
# IMPORT INTERNAL
def get_data(url: str) -> dict:
r = requests.get(url, timeout=10)

View File

@@ -1,14 +1,11 @@
"""Polygon types helpers."""
# IMPORT STANDARD
from datetime import date, datetime, timedelta
from enum import Enum
from typing import Literal, Optional, Union
# IMPORT INTERNAL
from openbb_provider.abstract.data import Data, QueryParams
# IMPORT THIRD-PARTY
from pydantic import Field, PositiveFloat, PositiveInt, validator

View File

@@ -253,7 +253,7 @@ sdk.settings.defaults
Check your system settings. Most of the properties are read-only during runtime, so any changes there will be void.
- `debug_mode`: here if you set `debug_mode = True` any exception that occurs during execution will be raised immediatly.
- `debug_mode`: here if you set `debug_mode = True` any exception that occurs during execution will be raised immediately.
```python
from openbb import sdk

View File

@@ -1,7 +1,7 @@
from datetime import date as dateType
from typing import Dict, List, Optional
from openbb_fred.fred_helpers import CPI_COUNTRIES, CPI_FREQUENCY, CPI_UNITS
from openbb_fred.utils.fred_helpers import CPI_COUNTRIES, CPI_FREQUENCY, CPI_UNITS
from pydantic import BaseModel, validator
from openbb_provider.abstract.data import Data, QueryParams