rquantmodstockquotes

Alternative to quantmod for bid/ask info


Previously I used this to get closing bid/ask prices:

library("quantmod")
getQuote(Symbols = symbols, 
           src = "yahoo",
           what=yahooQF(c("Bid","Ask", "Volume")))

Now I get the error:

Error in .yahooSession(TRUE) : unable to get yahoo crumb
> packageVersion('quantmod')
[1] ‘0.4.24’

Reading this it appears that Yahoo! is no longer an option with quantmod.

src = "av" doesn't return bid/ask info. Neither does Tiingo

Is there a free solution for R users for less than ten quotes per day for bid/ask info?


Solution

  • quantmod is working again after running:

    remotes::install_github("ethanbsmith/quantmod@fix_404_handle_getquote_gdpr_errors")
    

    Source: ethanbsmith, Github