How to Solve NameError: name 'candlestick_ohlc' is not defined -- mplfinance
Solution: Import the 'candlestick_ohlc' module
To Solve the error, add the following line to the top of your code.
from mplfinance.original_flavor import candlestick_ohlc
For more information:
Python mplfinance candlestick_ohlc