Re: Can't find commodity using gnc_commodity_table_lookup()

2008-11-11 Thread Justin Mazzola Paluska
On Tue, Nov 11, 2008 at 01:29:07PM -0800, Charles Day wrote: > You know that GOOG is supposed to be a NASDAQ stock, right? Just asking > because I see in your screenshot that your price came from Finance::Quote. > Wondering if it makes any difference. I don’t think it does as I also have BRK-B (Be

Re: Can't find commodity using gnc_commodity_table_lookup()

2008-11-11 Thread Justin Mazzola Paluska
Hi Derek, On Tue, Nov 11, 2008 at 08:43:42AM -0500, Derek Atkins wrote: > Well, for one thing I would either use "NYCE" or GNC_COMMODITY_NS_NYSE > in both places. Yes, technically they should be the same, but you might > as well test that theory. Changing both to “NYSE” or GNC_COMMODITY_NS_NYSE

Can't find commodity using gnc_commodity_table_lookup()

2008-11-09 Thread Justin Mazzola Paluska
Hi, I’m trying to write a small program to add (historical) prices to my gnucash file. I’m basing my approach off of some code I found on the gnucash-users list (http://article.gmane.org/gmane.comp.gnome.apps.gnucash.user/25065/match=historical+prices+bond). Essentially, my code opens up the book