Stock split information

Steve D. Perkins
Fri, 18 May 2001 17:20:46 -0400

    Thanks alot for the info!  I've been tinkering around with it though,
and haven't been able to find a security for which the stock split element
is returned in the XML string generated by quote.dll.  After looking at some
of the other pages on the NASDAQ web site, I notice that there are other
values that can be passed to the 'page' and 'mode' CGI parameters.
Unfortunately, there's no documentation anywhere that I've found for
describing exactly which values are understood and what they all do.  If
anyone has any further information about the quote feed API available
through please either post it to the list or email me.


----- Original Message -----
From: "Paul Fenwick" <>
To: "Steve D. Perkins" <>
Cc: <>
Sent: Thursday, May 17, 2001 9:57 PM
Subject: Re: Stock split information

G'day Steve,

On Thu, May 17, 2001 at 08:36:51PM -0400, Steve D. Perkins wrote:


>     I stumbled across GnuCash in the process of researching a solution for
>     problem.  If users can use GnuCash to track their investment holdings,
>     then I am assuming GnuCash has the ability to automatically adjust
>     positions based on splits (please correct me if it is the case that
>     must manually inform GnuCash about stock splits).  I have spent the
>     couple of days pouring over the Perl source code in the Finance::Quote
>     module used by GnuCash... but have had no success in finding the
>     (the module seems to be completely dependant on the same Yahoo API
>     by my bean for domestic stocks).

If you're thinking that F::Q can't detect stock-splits, then you'd
be right, and if Yahoo have removed the tag which indicates that
then we might be both in the same boat.

Of course, Yahoo isn't the only source for quotes and information.
Try taking a look at:

for a very nice chunk of market information in XML.  There's a DTD
available at:

Which makes mention of:

<!-- ***** SSK   18-Jan-01   Add Stock split element and attribute ***** -->
<!ELEMENT stock-split (#PCDATA)>
<!ATTLIST stock-split effective-date CDATA #IMPLIED>

Which to me looks like it would be a good way of detecting stock-splits.
(Of course, you'd want to find a splitting/split stock to see the
element in action.)

Hope that this helps.



Paul Fenwick <>         | "When I see an adult on a bicycle,
Senior Consultant                   |  I have a hope for the human race."
Obsidian Consulting Group           |      -- H.G. Wells