Retrieving a stock quote using Python?
Randall Smith
randall at tnr.cc
Wed May 21 20:18:00 EDT 2003
David Lees wrote:
> I would like to write a utility in Python that takes a stock symbol as
> an input and returns a current price. Suggestions on how to do this are
> welcome. I was thinking of an approach that would go out to a page like
> finance.yahoo.com, entering the stock symbol and then collecting the
> results and parsing them for the price. But it has been awhile since I
> used pythton and I'm not sure I ever really knew how to do this.
>
> TIA
>
> David Lees
>
Use soap web services. SOAPpy, ZSI, etc. One of them has an example
program that downloads stock quotes.
Randall
More information about the Python-list
mailing list