History Quotes
John Ralls
jralls at ceridwen.us
Thu Nov 12 20:17:08 EST 2015
> On Nov 12, 2015, at 3:46 AM, siefke_listen at web.de wrote:
>
> Hello,
>
> is it possible to import in gnucash history prices of stocks? The online
> tool works not really and bring only the day price.
It’s possible but it’s not easy because while the necessary functions are general enough to parse and insert Finance::Quote data with historical quotes, there’s nothing that will pass a date to Finance::Quote to get an historical price. A program to do that would have to be in a combination of C and Scheme because the function which parses the F::Q data is in Scheme (and so not exportable to Python), but the code to create a session connecting to an existing database isn’t exported to Scheme.
Regards,
John Ralls
More information about the gnucash-user
mailing list