From: John H. <jdh...@ac...> - 2004-08-11 13:48:47
|
>>>>> "Ryugan" == Ryugan Mizuta <ryu...@sb...> writes: Ryugan> I'm a newbie and am trying to create a financial chart Ryugan> that converts or plots a tick data to any time frame Ryugan> (ex. daily, intraday and etc...). I'm also using data Ryugan> that is written in a text file. I only see an example Ryugan> that uses Yahoo data. Ryugan> Could anybody help me on how I can do this? The examples finance_work on the web site http://matplotlib.sourceforge.net/screenshots.html#finance_work2 loads financial data from a CSV file. It uses a function load_quotes defined in the helper.py module http://matplotlib.sourceforge.net/screenshots/finance_work2.py http://matplotlib.sourceforge.net/screenshots/helpers.py The data files for this example are found in http://matplotlib.sourceforge.net/screenshots/data/ The downside is that this is a fairly sophisticated example that may not be that easy to parse if you are getting started with python/matplotlib, so hopefully someone on this list can provide a simpler one for you. Hope this helps, John |