Re: Can't find commodity using gnc_commodity_table_lookup()

2008-11-13 Thread Derek Atkins
Justin Mazzola Paluska <[EMAIL PROTECTED]> writes: > 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 tha

Re: Can't find commodity using gnc_commodity_table_lookup()

2008-11-11 Thread Derek Atkins
Quoting Charles Day <[EMAIL PROTECTED]>: > 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. Nah, that wouldn't make any difference. The commodity namespaces

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 Charles Day
On Tue, Nov 11, 2008 at 11:47 AM, Justin Mazzola Paluska <[EMAIL PROTECTED]>wrote: > 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

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

Re: Can't find commodity using gnc_commodity_table_lookup()

2008-11-11 Thread Derek Atkins
Hi, Justin Mazzola Paluska <[EMAIL PROTECTED]> writes: > 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/m