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, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, intrinio, polygon.NoneTrue

Data​

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