<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
David Hampton said the following on 2/1/2006 3:07 PM:
<blockquote
 cite="mid1138835277.21891.7.camel@hampton-pc.rainbolthampton.net"
 type="cite">
  <pre wrap="">On Wed, 2006-02-01 at 13:34 -0800, Steve Kelem wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Steve Kelem said the following on 2/1/2006 10:16 AM:

    </pre>
    <blockquote type="cite">
      <pre wrap="">It looks like there are two steps that I need help in:

1. How to download prices for stocks on a certain date. Finance::Quote 
seems to work on only the current prices. There must be a way
to get historical prices for stocks &amp; bonds.
      </pre>
    </blockquote>
    <pre wrap="">I found Finance::QuoteHist.  This module will download historical 
quotes, splits, and dividends.

I still need to know how to do the following.  Can anyone point me to 
some documentation?

Thanks,
Steve

    </pre>
    <blockquote type="cite">
      <pre wrap="">2. Once I get the prices, how to import them into gnucash. There are 
too many to input one at a time. It looks like I could hack the .xac 
file,
but this seems like something that many people would like to do, so a 
more general solution would be a good thing.
What are the available mechanisms?  Do I have to learn postgresql? 
Write a Perl script? Learn guile?
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
You can either convert the quotes into XML and add them to your data
file,</pre>
</blockquote>
I call that "hacking", which, I'm willing to do.&nbsp; Is there a spec for
the XML that gnucash uses?<br>
<br>
Thanks,<br>
Steve<br>
<blockquote
 cite="mid1138835277.21891.7.camel@hampton-pc.rainbolthampton.net"
 type="cite">
  <pre wrap="">or you could extend gnucash to support retrieving historical
quotes as well as current quotes.  This could all be done with C, glade,
and Perl.  No need to learn guile.  (The current quote support does use
guile code, but I hope to rewrite it into C after the 2.0 release.)

David</pre>
</blockquote>
</body>
</html>