Why can't I import candlestick_ohlc from mplfinance
You do not have to import 'candlestick_ohlc' anymore.
'mplfinance.plot()' defaults to ohlc style charts.
These links provide good examples. The second one uses candlesticks. You can change that arg.
https://towardsdatascience.com/trading-toolbox-03-ohlc-charts-95b48bb9d748
https://openwritings.net/pg/mplfinance/python-draw-candlestickohlc-using-new-mplfinance
So from what I understand the Matplotlib for finance has changed so that:
To access the old API with the new mplfinance package installed, change statments
from:
from mpl_finance import
to:
from mplfinance.original_flavor import candlestick_ohlc
and then it should work fine.