Homework 3#

Part 0 (not graded)#

Please watch the following videos to better familiarize yourself with CRSP and Compustat in WRDS.

Part 1 (graded)#

Again, we continue on our journey mastering the many features of Github. Please complete next 2 tutorials from the GitHub Skills page. Please make sure to use public repositories for this in your own GitHub user account. You will provide a link later to demonstrate that it was completed.

Part 2 (graded)#

In this second part, you’ll complete an exercise in which we create a value-weighted index of market returns and an exercise related to the seminal paper Fama and French (1993). These will comprise parts 2A and 2B. You can find guides here:

The data will be downloaded using the WRDS Python package. The code for this is included in the HW. This data download step will be fully automated.

The link to accept the HW is here: https://classroom.github.com/a/TF5xbCE8

Part 3 (graded)#

Note that within the HW repository above, you will find a file called github_pages_tearsheet.py. In this module, you will indicate whether or not you ahve created a tearsheet based off of a trading strategy of your choice. You must publish this tearsheet to the internet using GitHub pages, as we did in class. That is, you will create a Jupyter notebook that reports some statistics about your trading strategy. Then, the dodo.py file will convert this notebook to HTML and publish it to the internet.

This is an example of what yours might look like:

Citations:

  • Eugene, Fama, and Kenneth French. “The cross-section of expected stock returns.” Journal of Finance 47, no. 2 (1992): 427-465.

  • Fama, Eugene F., and Kenneth R. French. “Common risk factors in the returns on stocks and bonds.” Journal of financial economics 33, no. 1 (1993): 3-56.

Reminder#

Do not make any changes to the unit test files. If an edit is made, you will be required to edit the history of your commits to remove any trace of the edits to these files.