[GNC] AlphaVantage Stock Quotes

John Ralls jralls at ceridwen.us
Sat Jun 2 13:06:44 EDT 2018


From https://www.alphavantage.co/documentation/ <https://www.alphavantage.co/documentation/>: 
"The batch stock quotes API enables the querying of multiple stock quotes with a single API request, updated realtime. It may serve as a lightweight alternative to our core stock time series APIs above (which have richer content but are symbol-specific).

“Given the specifications of our data provider (IEX), we currently only offer US stock quotes during US market hours through this API. If you would like to query international stocks, ETFs, and mutual funds traded on major global exchanges, please refer to our core stock time series APIs”

The documentation might be wrong or Erik and I might be misinterpreting it, but IIUC that’s what he’s relying on.

Regards,
John Ralls

> On Jun 2, 2018, at 8:40 AM, Alun Champion <list at achampion.net> wrote:
> 
> Hmm, that has not been my observation but I'm sure there are some nuances, for me it shows the last price during the trading day (as in it doesn't show after market prices) but the call can happen any time, e.g. here is the demo linl: https://www.alphavantage.co/query?function=BATCH_STOCK_QUOTES&symbols=MSFT,FB,AAPL&apikey=demo <https://www.alphavantage.co/query?function=BATCH_STOCK_QUOTES&symbols=MSFT,FB,AAPL&apikey=demo> and it shows MSFT, FB as of 16:01 yesterday. This is the same when I use my API Key.
>    -A.
> 
> On 2 June 2018 at 10:21, John Ralls <jralls at ceridwen.us <mailto:jralls at ceridwen.us>> wrote:
> It’s only live when that particular issue is trading; e.g. for a US stock between 0930 and 1600 Eastern Time. That makes it unsuitable for F::Q.
> 
> Regards,
> John Ralls
> 
> 
> > On Jun 2, 2018, at 6:12 AM, Alun Champion <list at achampion.net <mailto:list at achampion.net>> wrote:
> > 
> > Alphavantage does provide a batch stock api, which you only sends the
> > latest quote, you can send just one stock to that api call e.g. (
> > https://www.alphavantage.co/query?function=BATCH_STOCK_QUOTES&symbols=MSFT&apikey= <https://www.alphavantage.co/query?function=BATCH_STOCK_QUOTES&symbols=MSFT&apikey=><apikey>),
> > which only returns the latest value.
> >    -A.
> > 
> > On 31 May 2018 at 20:12, prl <prl at ozemail.com.au <mailto:prl at ozemail.com.au>> wrote:
> > 
> >> On 31/05/2018 12:59, Dave Tapuska wrote:
> >> 
> >>>> From the gnucash point of view it only uses the latest quote so even
> >>> returning the compact list (which is the last 100 days) is far overkill.
> >>> Perhaps a lighter weight request returning the last closing value would be
> >>> sufficient.
> >>> 
> >> That would be ideal, but as far as I can see, the compact list (last 100
> >> days) is the smallest amount of data that can be requested using the
> >> TIME_SERIES_DAILY function in the AlphaVantage API <
> >> https://www.alphavantage.co/documentation/ <https://www.alphavantage.co/documentation/>>. The only alternative in the
> >> documentation is full, which returns daily opening and closing prices for
> >> up to the last 20 years.
> >> 
> >> Peter
> >> 
> >> 
> >> _______________________________________________
> >> gnucash-user mailing list
> >> gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
> >> To update your subscription preferences or to unsubscribe:
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user <https://lists.gnucash.org/mailman/listinfo/gnucash-user>
> >> If you are using Nabble or Gmane, please see
> >> https://wiki.gnucash.org/wiki/Mailing_Lists <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.
> >> 
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user <https://lists.gnucash.org/mailman/listinfo/gnucash-user>
> > If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists <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.
> 
> 



More information about the gnucash-user mailing list