Hello, if you have any need, please feel free to consult us, this is my wechat: wx91due
Group Coursework
11. The late submission penalty will follow University guidance. When submitting your assignment, you need to submit a compressed file with your Python code and all the data files. You need to ensure that your program can be directly executed by changing the file directives. Please rename your file as ECO308_Group Number.
Part 1: Optimal Portfolio with Two Assets
a. You need to download the historical daily closing prices for the Hang Seng Index and S&P500 Index through Wind API using WindPy package from January 1, 2000 to December 31, 2023. The ticker for S&P500 is SPX.GI and ticker for Hang Seng Index is HSI.HI. When you submit your code, please ensure data can be correctly extracted through WindPy.
b. Calculate return and covariance matrix and plot the efficient frontier of these two assets.
c. Find the optimal portfolio weights that maximize the Sharp Ratio when risk-free rate is 2.5%. The portfolio only consists S&P500 and Hang Seng Index.
You can use trading floor to access WindPy. Please ask trading floor assistant for WindPy access.
The TF assistant will help you install WindPy API.
Part 2: Adding a Third Asset
4. Find the optimal portfolio allocation with the same risk-free rate, 2.5%. Conduct your analysis based on full sample period without dividing your sample into two sub periods. (20 points)
Part 3: Yale Endowment Funds
5. David F. Swensen was the chief investment officer at Yale University from 1985 to May 2021. Mr. Swensen was responsible for managing and investing Yale's endowment assets and investment funds, which totaled $25.4 billion as of September 2016. Mr. Swensenpioneered the alternative investments. Please explain the benefit of alternative investments. (20 points) (Notice you can use graphs to help your explanations, please keep your answer less than 300 words.)
2. Clear instructions for code execution and clear instructions for replication.
3. Functionality can be reproduced by the instructor.
The WindPy package should enable the instructor to replicate your results without downloading your dataset.
Soundness & Quality of Analysis (70%):