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

Issue when using av_get for forex quotes #16

Open
wassizgood opened this issue Jan 16, 2020 · 0 comments
Open

Issue when using av_get for forex quotes #16

wassizgood opened this issue Jan 16, 2020 · 0 comments

Comments

@wassizgood
Copy link

Hi there,

I'm new to R, but I think I found an issue with alphavantager when using the function av_get() for getting forex quotes.
Here is the code I used and the error I got:

> av_get(av_fun = "CURRENCY_EXCHANGE_RATE", from_currency = "USD", to_currency = "JPY") Error: list(1. From_Currency Code= "USD",2. From_Currency Name= "United States Dollar",3. To_Currency Code= "JPY",4. To_Currency Name= "Japanese Yen",5. Exchange Rate= "110.16000000",6. Last Refreshed= "2020-01-16 18:05:02",7. Time Zone= "UTC",8. Bid Price= "110.15000000",9. Ask Price = "110.16000000"). API parameters used: symbol=NULL, function=CURRENCY_EXCHANGE_RATE, from_currency=USD, to_currency=JPY, apikey=HIDDEN_FOR_YOUR_SAFETY In addition: Warning message: In stri_c(..., sep = sep, collapse = collapse, ignore_null = TRUE) : argument is not an atomic vector; coercing

I also attach here the topic I created on Rstudio community about this issue.

Any help if I'm wrong is welcome.
Thank you in advance

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