Stock split information

Paul Fenwick
Fri, 18 May 2001 11:57:43 +1000

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

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 fo=
r my
>     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 u=
>     must manually inform GnuCash about stock splits).  I have spent the p=
>     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 solu=
>     (the module seems to be completely dependant on the same Yahoo API us=
>     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

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

Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see