Loading in your data set
This lab introduces you to portfolio theory. Let us get started by loading the returns_df
data set into your workspace. This data set contains the returns on the Boeing and Microsoft stock from 1992-07-01 up to 2000-10-01.
You can find the data set at http://s3.amazonaws.com/assets.datacamp.com/course/compfin/lab8.RData.
This exercise is part of the course
Intro to Computational Finance with R
Exercise instructions
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Load relevant packages
library("PerformanceAnalytics")
library("zoo")
# Load the data
# Explore the data set