I am trying to make a simple candlestick ohlc chart with mpl_finance. On their website, it says that the first element in the quotes argument of the candlestick_ohlc method is t
The format of the input to candlestick_ohlc
needs to be a list of (datetime, open, high, ...)
tuples, or the respective numpy array.
Here you are providing a list of [[datetime1, datetime2, ...], [open1, open2, ...], ...]
instead.
To convert to the required format, you may e.g. use
ohlc = list(zip(formatteddates, dailyopen, dailyhigh, dailylow, dailyclose))