Commodities initialization list

Derek Atkins warlord at MIT.EDU
Tue Aug 11 10:18:44 EDT 2015


Phil Longstaff <phil.longstaff at gmail.com> writes:

> I recently found the need to add a new stock which is traded on the TSX
> (Toronto Stock Exchange). Why do we hard-code commodity sources? I don't
> want to have to recompile to use a new exchange.

You don't.. It's a user-defined field with a set of pre-defined initial
entries.  But it's a free-form user-enterable text field.  So just add
"TSX" in the field to create a new namespace.

> Phil

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list