Re: Finance::Quote for EE Savings Bonds

2018-03-24 Thread Robin Chattopadhyay
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

Re: Finance::Quote for EE Savings Bonds

2018-02-19 Thread David Carlson
Ken, You have obviously devoted a significant amount of time to the entire process needed to track EE bonds in GnuCash and I think that it would be nice to document your work in a way that other users could find it and benefit from it. I am not a developer nor do I know the best place in the

Re: Finance::Quote for EE Savings Bonds

2018-02-19 Thread farleykj
David, I'm not sure which item you're referring to, so I'll say a bit about each: (1) As far as I can figure, if I want to add a quote source, like US EE/E/I savings bonds, I have to write my own Perl code to get it done. The existing Finance::Quote modules just don't work, or at least not when I

Re: Finance::Quote for EE Savings Bonds

2018-02-19 Thread David Carlson
Thanks for this information. Would it be possible to either add a note about how this is done to the appropriate section of the FAQ or to file a bug report to enhance the program to do this without editing Perl code? David C On Mon, Feb 19, 2018 at 7:57 PM, farleykj

Re: Finance::Quote for EE Savings Bonds

2018-02-19 Thread farleykj
Yeah, I've found that one of the philosophical differences in how to track these things seems to be that some accounting systems want you to put the bonds in as a share-per-USD relationship. And, since there is no actual universal "symbol" for EE or other bonds of the type, there are lots of

Re: Finance::Quote for EE Savings Bonds

2018-02-19 Thread Robin Chattopadhyay
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 USFedBonds 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

Re: Finance::Quote for EE Savings Bonds

2018-02-03 Thread farleykj
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@gnucash.org To update your subscription preferences or to

Re: Finance::Quote for EE Savings Bonds

2018-01-31 Thread farleykj
USBonds.pm Here's the Perl code. It was my first Perl program, so it's likely not going to win any awards and such, but it works for me for my old EE bonds. - Ken Farley -- Sent from:

Re: Finance::Quote for EE Savings Bonds

2018-01-31 Thread Ken Farley
Yes, I was able to get my code to work again. I don't think EE bonds have CUSIPs despite what others have told me. This kind of makes the treasurydirect API a mystery. Unless there are options and other info that can be fed to the site to get EE info. My Perl stuff uses the savings bond calculator

Finance::Quote for EE Savings Bonds

2018-01-31 Thread Robin Chattopadhyay
Ken- Were you able to get quotes for EE Savings bonds? I can't figure out how to determine the CUSIP for these. (I figured out how to find CUSIPs at treasurydirect.gov but it doesn't seem to have savings bond CUSIPs.) Robin On Sun, Jan 28, 2018 at 2:46 PM, farleykj wrote: