/bokeh-candlestick

Simple and responsive candlestick chart in Python with Bokeh

Primary LanguageHTML

bokeh-candlestick

Simple and responsive candlestick chart in Python with Bokeh. Features an auto zooming Y axis to fit data in view; even spacing along the X axis between candles while retaining datetime formatting; zoom and pan; and a data cursor with the open, high, low, close, and date data for the selected candle. Signals and indicators such as moving averages and buy/sell signals can be added in the noted sections.

alt text

Credit to Graeme on StackOverflow for the auto zoom Y axis with JS https://stackoverflow.com/questions/51162010/python-plot-candlesticks-with-automatic-y-zoom