Skip to main content

Currency Pairs


Implementation details

Class names

Model nameParameters classData class
CurrencyPairsCurrencyPairsQueryParamsCurrencyPairsData

Import Statement

from openbb_core.provider.standard_models.currency_pairs import (
CurrencyPairsData,
CurrencyPairsQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
querystrQuery to search for currency pairs.NoneTrue
providerLiteral['fmp', 'intrinio', 'polygon']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default.fmpTrue

Data

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
namestrName of the currency pair.