l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jun 20 19:16

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Getting quotes from yahoo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Getting quotes from yahoo

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 19, 2003 at 02:31:33PM -0500, Jay Strauss wrote:
> Using perl, I wanted to get some data from yahoo finance (specifically bid
> size & ask size).  There are a couple of modules on CPAN (Finance::Quote,
> Finance::YahooQuote) but they don't return the fields I want.  But
> inspecting the code revealed:
> http://quote.yahoo.com/d?f=3Dsnl1d1t1c1p2va2bapomwerr1dyj1x&s=3DRHAT

  This page contains the information you want, but you would have to parse
them out.


> Now the f=3D means format equals (duh), but I can't find any doc indicati=
> all the possible values I can put in the format string.
> Anyone know where I can find such info, on the format string? =20
> Or better yet what are the symbols for "bid size", "ask size"?

  You are asking for details of a yahoo internal cgi.  Yahoo tech
support could certainly tell you what the various format options are but=20
the very good that they will tell you to go away.

  If you browse around their web page there is an option to "customize"
a quote, but to do that you need an account... once you have the quote
customized as you like you can click on "download spreadsheet" or
something like that and they will send you a csv format much like
the link you had above.

GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
Fingerprint: 524D A726 77CB 62C9 4D56  8109 E10C 249F B7FA ACBE

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.