chart
Load data for Technical Analysis
Source Code: [link]
openbb.crypto.chart(prices_df: pd.DataFrame, to_symbol: str = "", from_symbol: str = "", source: str = "", exchange: str = "", interval: str = "", external_axes: bool = False, yscale: str = "linear")
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
prices_df | pd.DataFrame | Cryptocurrency | None | False |
to_symbol | str | Coin (only used for chart title), by default "" | True | |
from_symbol | str | Currency (only used for chart title), by default "" | True | |
yscale | str | Scale for y axis of plot Either linear or log | linear | True |
external_axes | bool | Whether to return the figure object or not, by default False | False | True |
Returns
This function does not return anything
Examples
from openbb_terminal.sdk import openbb
eth_df = openbb.crypto.load("ETH")
openbb.crypto.chart(prices_df=eth_df, to_symbol="usdt", from_symbol="eth", source="binance")