On Mar 4, 7:52 pm, "Mudcat" <[EMAIL PROTECTED]> wrote:
> I have done a bit of searching and can't seem to find a stock market
> tool written in Python that is active. Anybody know of any? I'm trying
> not to re-create the wheel here.
What kind of tool do you want?  Getting quotes is the easy part:

import urllib
symbols = 'ibm jpm msft nok'.split()
quotes = urllib.urlopen( 'http://finance.yahoo.com/d/quotes.csv?s=' +
         '+'.join(symbols) + '&f=l1&e=.csv').read().split()
print dict(zip(symbols, quotes))

The hard part is raising capital and deciding what to buy, sell, or
hold.


Raymond

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to