price editor and tiaacref

David Reiser dbreiser at earthlink.net
Sat Apr 22 17:25:43 EDT 2006


It was me. Mid-February is when I started using the swap-the-whole- 
fink-tree approach, and I didn't get Crypt::SSLeay installed in the  
fink tree I use with gnucash 1.9.x. (I tried to install Net::SSLeay  
in the system perl library, but cpan complained it couldn't find  
OpenSSL, even when I entered its location.)

There's still a slightly annoying quirk, though:

gnucash: [D] (handling-request ("tiaacref" "CREFequi" "CREFstok"))
gnucash: [D] (results (("CREFequi" (symbol . "CREFequi") (gnc:time-no- 
zone . "2006-04-21 00:00:00")
(nav . 87.997) (currency . "USD")) ("CREFstok" (symbol . "CREFstok")  
(gnc:time-no-zone . "2006-04-21
00:00:00") (nav . 223.5287) (currency . "USD"))))

TiaaCref is sending data with no time information. F::Q or GnuCash is  
adding the midnight timestamp, and then the Price Editor is assigning  
Friday 4/21/06 end-of-day NAV to 4/20/06.

Two days of data from the TIAACREF server:

CREFstok,223.5287,04/21/2006
CREFstok,223.2338,04/20/2006
CREFequi,87.9970,04/21/2006
CREFequi,88.0668,04/20/2006

Price Editor shows 87.997 as the price of CREFequi on 4/20. A minor  
bug, but I'll go put it in bugzilla for later.

Dave

On Apr 22, 2006, at 3:15 PM, David Reiser wrote:

> I may have twisted my system again, so I'll ask here before going  
> to bugzilla.
>
> svn13825 will not retrieve quotes from TiaaCref. I have  
> successfully retrieved quotes from TiaaCref with the 1.9 series.  
> Whichever version I had built on February 8 did succeed. I don't  
> think I have tried retrieving quotes between then and now.
>
> Gnucash 1.9.5 finds Finance::Quote 1.11, but reports:
>
> gnucash: [D] (handling-request ("tiaacref" "CREFequi" "CREFstok"))
> gnucash: [D] (results (#f #f))
>
> in the terminal window, along with the warning dialog in the normal  
> UI about not being able to retrieve quotes for these symbols.
>
> The TiaaCref server is up, as I can retrieve the current quotes via  
> gnucash 1.8.11.
>
> Curiously, even with the 1.8.11 install, 'dump-finance-quote  
> tiaacref CREFequi' fails, even though gnucash successfully  
> retrieves quotes.
>
> gnc-fq-dump in the 1.9.x tree also fails to retrieve results with  
> tiaacref.
>
> Quotes requested from yahoo and vanguard are successfully retrieved.
>
> I do have many possibilities for incomplete communication in my  
> setup. Finance::Quote is installed in the system perl place (/ 
> Library/Perl/5.8.6/Finance/Quote). Gnucash 1.9.x is installed in / 
> opt/gnucash-svn/bin, with gnome dependencies from fink in /sw.  
> Nothing in /opt is in my Path. To run 1.8.11, I swap complete fink  
> trees via a script from one of the fink gurus, giving me gnucash  
> 1.8.11 in /sw from a fink install, along with the older gnome parts.
>
> Suggestions?
> --
> David Reiser
> dbreiser at earthlink.net
> Mac 10.4.6, gcc 4.0.1, gnucash svn13825
>
>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

--
David Reiser
dbreiser at earthlink.net



More information about the gnucash-devel mailing list