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 fails to return earnings using alphavantage as the source #251

Open
walts opened this issue Nov 5, 2024 · 0 comments
Open

tq_get fails to return earnings using alphavantage as the source #251

walts opened this issue Nov 5, 2024 · 0 comments

Comments

@walts
Copy link

walts commented Nov 5, 2024

tq_get fails to return earnings and issues a warning message with the following code run with a valid Alphavantage api key:

library(tidyverse)
library(tidyquant)

av_api_key( YOUR ALPHA VANTAGE API KEY)

earn <- tq_get( c("KBR", "AAPL"), get = "alphavantage", av_fun = "EARNINGS",outputsize = "full")

which returns

Warning message:
There were 4 warnings in dplyr::mutate().
The first warning was:
ℹ In argument: data.. = purrr::map(...).
Caused by warning in stri_c():
! argument is not an atomic vector; coercing

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

1 participant