Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tq_get suddenly not working #205

Closed
daexto opened this issue Aug 23, 2021 · 5 comments
Closed

tq_get suddenly not working #205

daexto opened this issue Aug 23, 2021 · 5 comments

Comments

@daexto
Copy link

daexto commented Aug 23, 2021

Hi . . . I've been using tq_get() for a while now to pull up stock prices and it's always worked well. Suddenly today it no longer seems to work for any of the stocks I've tried. Below is a simple example of code that worked until yesterday but now just gives a warning and NA output. This is the same whichever stock I try.

library(tidyquant)

today <- today()
test <- tq_get("AAPL", get = "stock.prices", from = today)

Warning message:
x = 'AAPL', get = 'stock.prices': Error in getSymbols.yahoo(Symbols = "AAPL", env = , verbose = FALSE, : Unable to import “AAPL”.
argument "conn" is missing, with no default

Hoping someone has an idea what might be going wrong.

Cheers

@mdancho84
Copy link
Collaborator

This function depends on your internet connection so anything that could interfere is likely what's happened.

@daexto
Copy link
Author

daexto commented Aug 23, 2021

Thanks for the super quick reply - I'll try again tomorrow and hope the connection has improved!

@mandarpriya
Copy link

Sir, today the tq_get() was not workign for me, even the quantmod did not work. Like my internet is working.

@mdancho84
Copy link
Collaborator

Please update your R packages.

@cemal95
Copy link

cemal95 commented Nov 13, 2024

I am currently also experiencing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants