Loading required package: lubridate
Attaching package: ?lubridate?
The following object is masked from ?package:base?:
date
Loading required package: PerformanceAnalytics
Loading required package: xts
Loading required package: zoo
Attaching package: ?zoo?
The following objects are masked from ?package:base?:
as.Date, as.Date.numeric
Attaching package: ?PerformanceAnalytics?
The following object is masked from ?package:graphics?:
legend
Loading required package: quantmod
Loading required package: TTR
Registered S3 method overwritten by 'quantmod':
method from
as.zoo.data.frame zoo
Version 0.4-0 included new data defaults. See ?getSymbols.
?? Need to Learn tidyquant? ????????????????????????????????????????????????????
Business Science offers a 1-hour course - Learning Lab #9: Performance
Analysis & Portfolio Optimization with tidyquant!
</> Learn more at:
https://university.business-science.io/p/learning-labs-pro </>
Error in glimpse(sp500) : object 'sp500' not found
# Query 2 : This is working fine in the page mentioned on top. What
mistake have I made?
tq_exchange("NYSE")
Getting data...
[1] NA
Warning messages:
1: In download.file(url, destfile = tmp, quiet = TRUE) :
URL 'https://old.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nyse&render=download':
status was 'Failure when receiving data from the peer'
2: In value[[3L]](cond) : Error at nyse during call to tq_exchange.
# Query 3 : Is this a networking issue? Should I try after some time ?
Here is my session info:-