updating unit trust prices automatically

Glenn Walbran gwalbran@yahoo.co.nz
03 Aug 2001 14:59:06 +1200


On 02 Aug 2001 22:34:35 -0400, Michael T. Garrison Stuber wrote:
> How did you install Finance::Quote?
The first time I tried to update prices gnucash told me to run
"update-finance-quote" which I did. I know Finance::Quote is there, I've
hacked it a bit and writin a perl script to test the hacks, it seems
that gnucash may not be finding Finance::Quote???
> 
> make install does not do it, nor does the RPM.  There is a magic script 
> "update-finance-quote" which you need to run.  It will connect to CPAN and 
> install the official Finance::Quote.  From there you can examine where it 
> installed it, and update it.
> 
> --On Friday, August 03, 2001 02:28:56 PM +1200 Glenn Walbran 
> <gwalbran@yahoo.co.nz> wrote:
> 
> > On 02 Aug 2001 19:44:28 -0500, Linas Vepstas wrote:
> >> On Fri, Aug 03, 2001 at 09:24:56AM +1200, Glenn Walbran was heard to
> >> remark:
> >> > Hello
> >> >
> >> > More on updating unit trust prices, what i've tried so far.
> >> > After Linas' advise I shifted focus to hacking the Finance::Quote
> >> > modules. The T.Rowe.Price module looked like a good start so I did the
> >> > following:
> >> > 1) Saved the T.Rowe.Price csv file on a local web server and add my
> >> > unit trust prices to it.
> >> > 2) Hacked the T.Rowe Price module to get csv file from my local web
> >> > server and changed the currency to NZD.
> >>
> >> ideally, you would add support for urls of the style 'file:/some/path'
> >> so that you don't need a web server in the middle.
> > I will eventually.
> >>
> >> > Sadly this didn't work. I think the module hacks are ok, it works with
> >> > a simply perl script I wrote to test it. Gnucash returns a nice message
> >> > saying "unable to retrieve quotes" I set up another stock account using
> >> > another stock source and that had the same error when updating making
> >> > me think that the problem was in gnucash not getting to the
> >> > Finance::Quote module. Any ideas how I can test this???
> >>
> >> well, create an account with ibm stock in it, get prices from yahoo for
> >> that.  If that doesn't work ....
> > Just tried this and got the same results. I put a print in
> > Finance::Quote and this didn't print out either. Is the
> > finance-quote-helper perl script used to interface gnucash to
> > finance::quote??? I found this in the src code but it wasn't installed
> > (I installed gnucash 1.6.1 from rpm)
> >>
> >> if it does, then you have to insert print statements into finance;quote
> >> to figure out what's different ...
> >>
> >>
> >> --linas
> >>
> >> --
> >> I'm very PUBLIC-MINDED, I'm helping a NIGERIAN get his $25,000,000 back!
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user@lists.gnumatic.com
> > http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-user
> 
> 



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com