R quantmod: Connection error when pulling data

0

I am trying to pull some stock quotes for Amazon via quantmod. I just downloaded the package for the first time and am using R x64 3.5.3. When I run this code:

library(quantmod)
amzn = getSymbols("AMZN",auto.assign=FALSE)

I get the following error:

Error in curl::curl_download(cu, tmp, handle = h) : 
  schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid

Any idea what could be causing this?

r
quantmod
asked on Stack Overflow Nov 15, 2019 by user3390169

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0