Running the simple code below, I get the error as follows when it gets to the sfa_get_prices statement:
library(simfinapi)
sfa_set_api_key(api_key = "...") #I have an api key from simfin entered here
tickers <- c("AMZN", "GOOG") # Amazon, Google
prices <- sfa_get_prices(tickers)
_Error in curl::curl_fetchmemory(url, handle = handle) :
Could not resolve host: legacy.simfin.com
I installed the package first from CRAN and when that didn't work, from GitHub, but still the same error.
Running the simple code below, I get the error as follows when it gets to the
sfa_get_prices
statement:_Error in curl::curl_fetchmemory(url, handle = handle) : Could not resolve host: legacy.simfin.com
I installed the package first from CRAN and when that didn't work, from GitHub, but still the same error.