Re: Financial time series data

2010-09-04 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 SP 500 index. You can LM click

Re: Financial time series data

2010-09-04 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-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=%5EGSPCc='+str(page) print

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 v...@it.uu.se wrote:   Has anyone written code or worked with Python software for downloading financial time series data (e.g. from Yahoo financial)? If yes,  would

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 SP 500 index. You can LM click on 1 -50 of 500

Re: Financial time series data

2010-09-03 Thread Nanjundi
On Sep 2, 1:12 pm, Virgil Stokes v...@it.uu.se 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 module you can refer to.

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 SP 500

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:

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 v...@it.uu.se: Has anyone written code or worked with Python software for downloading financial time series data (e.g. from Yahoo

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 Stokesv...@it.uu.se: Has anyone written code or worked with Python software for downloading

Re: Financial time series data

2010-09-02 Thread MRAB
On 03/09/2010 00:56, Virgil Stokes wrote: 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 Stokesv...@it.uu.se: Has anyone written code or worked with

Re: Re: Financial time series data

2010-09-02 Thread hidura
I've tried to see the page and the code GSPC it's wrong i has used ^DJI, and when you download the page code use a xml parser localize the table element and read it. I can't access from the browser to the next page it doesn't appear as a link. El , Virgil Stokes v...@it.uu.se escribió: On