mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 04:13:06 +00:00
* Adding versioning to docs --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: tehcoderer <me@tehcoderer.com>
714 B
Vendored
714 B
Vendored
title, description
| title | description |
|---|---|
| price | OpenBB SDK Function |
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 |