Skip to main content

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

NameTypeDescriptionDefaultOptional
prices_dfpd.DataFrameCryptocurrencyNoneFalse
to_symbolstrCoin (only used for chart title), by default ""True
from_symbolstrCurrency (only used for chart title), by default ""True
yscalestrScale for y axis of plot Either linear or loglinearTrue
external_axesboolWhether to return the figure object or not, by default FalseFalseTrue

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")