Question
1. Register a free account on Quandl.com. Search for historical gold prices provide by London Bullion Market Association. They label these prices as Gold Price
1. Register a free account on Quandl.com.
Search for historical gold prices provide by London Bullion Market Association. They label these prices as “Gold Price London Fixing”. Download the data and keep the date column and the USD(PM) column. This dataset contains gold spot prices recorded at the daily frequency. You will need to convert this into monthly returns in Excel.
To do this, use the IF function to build a new column that takes the value of 1 if the date is the last day of the month and 0 otherwise. For example, 2020/9/30 should be denoted by 1, and 2020/9/29 should be 0. (Note that figuring out how to write this formula using IF is part of the challenge. You will find the month() function very helpful in writing this formula.)
Then use the Filter function under Data Tab to only keep the month-end dates. Copy this subset of data into a new spreadsheet.
Now you are ready to calculate the monthly returns of gold using the HPR formula. For example, the monthly return in Sep 2020 should be based on the prices at the ends of Aug 2020 and Sep 2020. Your experience with the first data project will be helpful here.
Step by Step Solution
3.30 Rating (156 Votes )
There are 3 Steps involved in it
Step: 1
2 Find the monthly returns of the SP 500 index for the same period of time To do this search for the ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started