Skip to main content

candles

Plot candle chart from dataframe. [Source: Binance]

Source Code: [link]

openbb.crypto.candles(candles_df: pd.DataFrame, volume: bool = True, ylabel: str = "", title: str = "", external_axes: Optional[list[matplotlib.axes._axes.Axes]] = None, yscale: str = "linear")

Parameters

NameTypeDescriptionDefaultOptional
candles_dfpd.DataFrameDataframe containing time and OHLCVNoneFalse
volumeboolIf volume data shall be plotted, by default TrueTrueTrue
ylabelstrY-label of the graph, by default ""True
titlestrTitle of graph, by default ""True
external_axesOptional[List[plt.Axes]]External axes (1 axis is expected in the list), by default NoneNoneTrue
yscalestrScaling for y axis. Either linear or loglinearTrue

Returns

This function does not return anything