Skip to main content

price

Returns price and confidence interval from pyth live feed. [Source: Pyth]

Source Code: [link]

openbb.crypto.price(symbol: str)

Parameters

NameTypeDescriptionDefaultOptional
symbolstrSymbol of the asset to get price and confidence interval fromNoneFalse

Returns

TypeDescription
Tuple[float, float, float]Price of the asset,
Confidence level,
Previous price of the asset