Reinventing the wheel

John Ralls jralls at ceridwen.us
Mon Aug 10 11:19:25 EDT 2015


> On Aug 10, 2015, at 3:07 PM, Hajo Hindriks <hhn10 at gmx.net> wrote:
> I don't know much about the inner workings of gc but I think it doesn't make sense to keep several quotes per day, I don't think there is a use case to keep intraday quotes.
> 
> I recently started with Gnucash and am writing a small perl script to fetch quotes, and I am keeping only one quote per day, updating the previous one from the same day. Later on I plan to add those quotes to the gnucash data file. Currently I just read the commodities of a gnucash file and keep the quotes in a separate file.

As the new subject indicates, don’t do that. Use Finance::Quote, which is in CPAN. If you have a source that F::Q doesn’t support write an import module for your source. That way the GnuCash integration is already taken care of.

Regards,
John Ralls




More information about the gnucash-devel mailing list