[GNC-dev] Alphavantage strategies

Derek Atkins derek at ihtfp.com
Mon Jan 21 15:10:55 EST 2019


Wm via gnucash-devel <gnucash-devel at gnucash.org> writes:

[snip]
>>> Wm's suggestion
>>> ===============
>>> only collect if the most recent price is more than 1 day (or 12 hours,
>>> etc) old [2].  this sort of fits in with the existing post collection

[snip]
> Do you really miss the point on purposes?  If gnc collects the last
> price it doesn't have that is a good thing.

All GnuCash knows is the time of the last price it received/stored.  It
has to make the request to A-V to know if there is a new price.  So that
means, by definition, GnuCash will automatically request any prices >
<Delta> old, whether or not there is a "new price", because GnuCash
can't know if there is a new price until it makes the request.

Sure, this is a "Good Thing", but it's definitely not going to limit the
number of price requests GnuCash makes....   Unless, of course, you're
assuming people are requesting prices every few minutes?

-derek

-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


More information about the gnucash-devel mailing list