Given these complexities and limitations, I will probably just import price 
history CSVs periodically. That avoids the possibility of populating the price 
database with faulty data.

It looks like yfinance is super simple to use in Python. I'll just create a 
script to create a CSV with it and import it into GnuCash maybe have it run 
once a week.
In case anyone else is interested:
https://towardsdatascience.com/free-stock-data-for-python-using-yahoo-finance-api-9dafd96cad2e
 
(https://link.getmailspring.com/link/e4ea012d-2679-40ed-8004-1281789e7...@getmailspring.com/0?redirect=https%3A%2F%2Ftowardsdatascience.com%2Ffree-stock-data-for-python-using-yahoo-finance-api-9dafd96cad2e&recipient=Z251Y2FzaC11c2VyQGdudWNhc2gub3Jn)

Thanks again,
Colin
On Jun 24 2020, at 6:56 pm, David Carlson <david.carlson....@gmail.com> wrote:
> Frank, good points. I was on a smartphone and not trying to be 100% accurate 
> (reigning in the spell checker is already more than I can handle). I think 
> GnuCash does differentiate at least some of those types and maybe save one of 
> each, but I was not able to test.
>
> David Carlson
> On Wed, Jun 24, 2020 at 11:44 AM Frank H. Ellenberger 
> <frank.h.ellenber...@gmail.com (mailto:frank.h.ellenber...@gmail.com)> wrote:
> > Am 23.06.20 um 22:10 schrieb David Carlson:
> > > I am not sure that this is your problem or not, but I have found that I
> > > need to wait several hours after the markets have closed before 
> > > downloading
> > > mutual fund prices. It seems to take hours for some of them to get posted
> > > at Yahoo.com. One way to check would be to see what Yahoo.com is reporting
> > > early after hours vs later.
> > >
> > > GnuCash only keeps one downloaded price per day, and repeated prices are
> > > discarded. If you see that is what is happening, you might file a RFE to
> > > keep the last price reported instead of the first.
> >
> > There are also different dimensions of quotes:
> > for shares, ...:
> > by time: open, last, close,
> > by range: min, max,
> > by direction: ask, bid,
> > all determinated by the market.
> >
> > for mutual funds:
> > net asset value (nav): is calculated by the fund company after markets
> > closed and used the next day as payment for returned parts. If you buy
> > parts, you pay an agio.
> >
> > Frank
>
> --
> David Carlson
>
>

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to