R-language Stock API Example

R Language Stock API Example

It’s very easy to use our API with R language, below you can find a very simple example with explanations for R developers. api.token <- “YOUR_API_KEY_HERE” symbol <- “AAPL.US” ticker.link <- paste(“http://nonsecure.eodhistoricaldata.com/api/eod/”, symbol, “?api_token=”, api.token, “&period=m&order=d”, sep=””) data <- read.csv(url(ticker.link)) head(data) For testing purposes, you can use this API Key: api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX Works with AAPL.US only. […]

Read More