price
Returns price and confidence interval from pyth live feed. [Source: Pyth]
Source Code: [link]
openbb.crypto.price(symbol: str)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Symbol of the asset to get price and confidence interval from | None | False |
Returns
Type | Description |
---|---|
Tuple[float, float, float] | Price of the asset, Confidence level, Previous price of the asset |