-
Notifications
You must be signed in to change notification settings - Fork 5
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
Questions on initial set up #3
Comments
IEXCLOUD_API_VERSION = "https://cloud.iexapis.com/stable/" need to be set in the environment. |
Thanks Bruce. You'll have to forgive me ignorance. I tried setting the keys as follows: IEXCLOUD_API_VERSION = "https://cloud.iexapis.com/stable/" setSecretKey(IEXCLOUD_SECRET_KEY) Which seemed to work slightly better, but now I get the below message instead when I try to get history for TSLA: historyFor("TSLA") A tibble: 0 x 0 Thoughts? -Aric |
try url <- constructURL("/stock/TSLA/chart/1m?chartCloseOnly=FALSE") what is URL? ( block out part of the key) |
Hello, I am running into the same issue. In my case, I'm trying to containerize this. I was able to get iexcloudR into my container fine. I've set my key and secret like Aric did above and this is where I'm at when I run constructURL:
I should add, when I run this in R studio there are no issues. But inside my container I am getting this issue. |
Hi guys, After I did what AricLux wrote: setSecretKey(IEXCLOUD_SECRET_KEY) I got the same error: When I run as schardtbc requested, I get the follwoing: url <- constructURL("/stock/TSLA/chart/1m?chartCloseOnly=FALSE")
Any help would be really appreciated! |
Hi There, I am having the same issue in addition to the fact that it is not clear where the following line is to be used (is it like an argument in a function?) or if this is something for us to check and see the state of the entire url used: url <- constructURL("/stock/TSLA/chart/1m?chartCloseOnly=FALSE") any thoughts? |
Hi there:
I'm working on getting the API set up for the first time. I followed the instructions you lay out but encounter the following problem. Code below:
install_github("schardtbc/iexcloudR")
library("iexcloudR")
IEXCLOUD_API_VERSION = "https://cloud.iexapis.com/stable/"
IEXCLOUD_PUBLIC_KEY = "pk_..."
IEXCLOUD_SECRET_KEY = "sk_..."
But I get the following error:
historyFor("AAPL")
Error in addToken(endpoint) : missing IEXCLOUD_PRIVATE_KEY value
I don't see any reference to a "Private Key" in the docs or in your instructions. Any advice?
The text was updated successfully, but these errors were encountered: