I would like to create a candlestick chart on Matplotlib. I have found many examples on the web but so far they are all using connections to yahoo finance or other kind of data, while not explaining well how to get the same result when you have a list of tuples containing the date, the open, the close, the high and the low prices. Often, indeed, it happens that you already have historical values, or estimated values, or more in general you just don't want to use the numbers coming from a provider such as Yahoo Finance. What I would like to know is the very basic code to make something like create a candlestick chart with your own list of values. Assume that I have a list of tuples with all the data I need for two days:
Prices = [('01/01/2010', 1.123 (open), 1.212 (close), 1.463 (high), 1.056(low)),
('02/01/2010', 1.121 (open), 1.216 (close), 1.498 (high), 1.002(low))]
What should I code exactly to get a candlestick plot (that means a plot where every element of the list "Prices" is creating a candlestick) with these two data points? I can of course manipulate the data (example the date string to be converted in a float day etc.), but I cannot get the simple commands to create the chart. Anyone can help?