Re: Financial time series data

2010-09-04 Thread Toomore
I write some object for Taiwan Stock ... http://github.com/toomore/goristock But still dev ... On Sep 3, 1:12 am, Virgil Stokes wrote: >   Has anyone written code or worked with Python software for downloading > financial time series data (e.g. from Yahoo financial)? If yes,  would you &g

Re: Financial time series data

2010-09-04 Thread Frederic Rentsch
On Fri, 2010-09-03 at 19:58 +0200, Virgil Stokes wrote: > import urllib2 > import re > > def get_SP500_symbolsX (): > symbols = [] > lsttradestr = re.compile('Last Trade:') > k = 0 > for page in range(10): >url = 'http://finance.yahoo.com/q/cp?s=%5EGSPC&c='+str(page) >

Re: Financial time series data

2010-09-03 Thread Trent Nelson
On 03-Sep-10 1:48 PM, Frederic Rentsch wrote: And do let us know if you get an answer from Yahoo. Hacks like this are unreliable. They fail almost certainly the next time a page gets redesigned, which can be any time. Indeed -- see my other post (regarding ystockquote.py). There's a CSV

Re: Financial time series data

2010-09-03 Thread Trent Nelson
On 03-Sep-10 7:29 AM, Virgil Stokes wrote: A more direct question on accessing stock information from Yahoo. First, use your browser to go to: http://finance.yahoo.com/q/cp?s=%5EGSPC+Components Now, you see the first 50 rows of a 500 row table of information on S&P 500 index. You can LM click

Re: Financial time series data

2010-09-03 Thread Frederic Rentsch
On Fri, 2010-09-03 at 16:48 +0200, Virgil Stokes wrote: > On 03-Sep-2010 15:45, Frederic Rentsch wrote: > > On Fri, 2010-09-03 at 13:29 +0200, Virgil Stokes wrote: > >> A more direct question on accessing stock information from Yahoo. > >> > >> First, use your browser to go to: http://finance.yaho

Re: Financial time series data

2010-09-03 Thread Frederic Rentsch
On Fri, 2010-09-03 at 13:29 +0200, Virgil Stokes wrote: > A more direct question on accessing stock information from Yahoo. > > First, use your browser to go to: http://finance.yahoo.com/q/cp?s=% > 5EGSPC+Components > > Now, you see the first 50 rows of a 500 row table of information on > S&P 50

Re: Financial time series data

2010-09-03 Thread Nanjundi
On Sep 2, 1:12 pm, Virgil Stokes wrote: >   Has anyone written code or worked with Python software for downloading > financial time series data (e.g. from Yahoo financial)? If yes,  would you > please contact me. > > --Thanks, > V. Stokes matplotlib has a finance modul

Re: Financial time series data

2010-09-03 Thread Virgil Stokes
A more direct question on accessing stock information from Yahoo. First, use your browser to go to: http://finance.yahoo.com/q/cp?s=%5EGSPC+Components Now, you see the first 50 rows of a 500 row table of information on S&P 500 index. You can LM click on 1 -50 of 500 |First|Previous|Next

Re: Re: Financial time series data

2010-09-02 Thread hidura
for downloading financial time series data (eg from Yahoo financial)? If yes, would you please contact me. --Thanks, V. Stokes -- http://mail.python.org/mailman/listinfo/python-list Here is a snippet of python code that I am trying to use for downloading financial data;

Re: Financial time series data

2010-09-02 Thread MRAB
ython software for downloading financial time series data (e.g. from Yahoo financial)? If yes, would you please contact me. --Thanks, V. Stokes -- http://mail.python.org/mailman/listinfo/python-list Here is a snippet of python code that I am trying to use for downloading financial data; but, I d

Re: Financial time series data

2010-09-02 Thread Virgil Stokes
On 09/02/2010 08:15 PM, Hidura wrote: But what kind of data you want to download?, because the financial time it's basicly html code and you can work very well with a parser 2010/9/2, Virgil Stokes: Has anyone written code or worked with Python software for downloading financial

Re: Financial time series data

2010-09-02 Thread Hidura
But what kind of data you want to download?, because the financial time it's basicly html code and you can work very well with a parser 2010/9/2, Virgil Stokes : > Has anyone written code or worked with Python software for downloading > financial time series data (e.g. from Yahoo fin

Financial time series data

2010-09-02 Thread Virgil Stokes
Has anyone written code or worked with Python software for downloading financial time series data (e.g. from Yahoo financial)? If yes, would you please contact me. --Thanks, V. Stokes -- http://mail.python.org/mailman/listinfo/python-list