ABSTRACT

Let’s get to step 1 wherein we import daily price data for the 5 ETFs and save them to an xts object called prices. We will cover how to load this data from the internet, and then how to load it from a csv or xls file.