Re: [GNC] How to "Get Quotes" for a specific day?

2023-01-02 Thread ml enquirer
Hi Michael, I've faced the same problem. I use the gnucash python bindings and the following script, to import prices from a text file which has date (-MM-DD) and price with a new date on each line. Hope it could be some use. As always, test it before deploying! Best wishes. ```python

Re: [GNC] How to "Get Quotes" for a specific day?

2022-12-29 Thread David T. via gnucash-user
I've used Google sheets to retrieve prices which can be imported into GnuCash. In the referenced message, it should be simple to set whatever date you want. https://lists.gnucash.org/pipermail/gnucash-user/2018-August/079430.html ⁣David T. ​ On Dec 30, 2022, 7:48 AM, at 7:48 AM, Geoff wrote:

Re: [GNC] How to "Get Quotes" for a specific day?

2022-12-29 Thread Geoff
No. As far as I know the Finance::Quote module that GnuCash uses has no provision to fetch historical prices. If you are into scripting and web scraping, checkout Selenium which has a nice Python interface. Good luck! Geoff = P.S. Always include gnucash-user@gnucash.org on all

Re: [GNC] How to "Get Quotes" for a specific day?

2022-12-29 Thread Geoff
Hi Michael You can't do this. Alternatives:- 1. Key the prices directly into the Price Database:- (Tools / Price Data Database / Add) 2. Import from a CSV file:- (File / Import / Import prices from a CSV file) Historical prices are available from, inter alia, https://finance.yahoo.com/

[GNC] How to "Get Quotes" for a specific day?

2022-12-29 Thread gnucash_2022
How can I tell GNU Cash to update its "Price Database" for all known currencies, stocks, bonds, mutual funds, etc for a *specific* day? I'm trying trying to prepare a report for a date in the past. I've set the `Options` for the report to `nearest in time` so that it will grab the prices for