Alternative to quantmod for bid/ask info

203 Views Asked by At

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?

1

There are 1 best solutions below

1
Mark On BEST ANSWER

quantmod is working again after running:

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

Source: ethanbsmith, Github