Can't find commodity using gnc_commodity_table_lookup()

Charles Day cedayiv at gmail.com
Tue Nov 11 16:29:07 EST 2008


On Tue, Nov 11, 2008 at 11:47 AM, Justin Mazzola Paluska <jmp at mit.edu>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, but you might
> > as well test that theory.
>
> Changing both to "NYSE" or GNC_COMMODITY_NS_NYSE leads to the same
> results.
>
> > I didn't look into the data file to verify that you configured GOOG
> > under NYCE.
>
> I take it that you mean NYSE, right?
>
> Attached is a screenshot of the "Price Editor" for my example file,
> which looks like it should be configured correctly.
>         —Justin
>

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.

-Charles


More information about the gnucash-devel mailing list