Finance::Quote for EE Savings Bonds

Robin Chattopadhyay robinraymn at gmail.com
Sat Mar 24 10:41:54 EDT 2018


HI all-

I *thought* I had this working, but either I didn't or something has
changed that I could use some help with.

To recap:
* I saved Ken's file to the ~/perl5/lib/perl5/Finance/Quote
* Added USBonds to the modules variable in ~/perl5/lib/perl5/Finance/
Quote.pm

gnc-fq-dump works perfectly
gnc-fq-check shows usbonds in the source listing
BUT... in Gnucash, USBonds doesn't show up as a source under Security
Editor. I would have expected it under 'Unknown' but it's not there.

Running Gunucash 2.6.19, built from source on Linux Mint 18.3

Thanks,
Robin

On Mon, Feb 19, 2018 at 7:39 PM, Robin Chattopadhyay <robinraymn at gmail.com>
wrote:

> Ken-
>
> Thank you so much! This worked great.
>
> For the record, I:
> * Saved the file to ~/perl5/lib/perl5/Finance/Quote/
> * Edited ~/perl5/lib/perl5/Finance/Quote.pm to add USBonds to the Modules
> section around Line 180.
>
> The one thing I'll have to change is that up to now, I've been holding the
> EE Savings Bond with the number of units equal to the denomination. So a 50
> USD bond is held as 50 units with a price of 0.6996 USD/unit.
>
> However, gnc-fq-dump usbonds EE-50-2004-05 returned a price of 34.98
> USD/unit. This is not an issue since the market values are the same. I'll
> just exchange my 50 units for 1 unit of a new security and set the new
> security for online quotes.
>
> Thanks again!
> Robin
>
> On Sat, Feb 3, 2018 at 9:26 AM, farleykj <farleykj at gmail.com> wrote:
>
>> Robin,
>> Were you able to get quotes for your bonds?
>>
>>
>>
>> -----
>> Ken Farley
>> --
>> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.
>> html
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>
>
>


More information about the gnucash-user mailing list