Question: please use google collab python, thank you!! You will invest in the following assets: Apple Inc. ( AAPL ) , The Boeing Company ( BA

please use google collab python, thank you!!
You will invest in the following assets:
Apple Inc. (AAPL),
The Boeing Company (BA),
The Cheesecake Factory (CAKE),
Caterpillar Inc. (CAT),
The Hershey Company (HSY),
JPMorgan Chase & Co (JPM),
McDonald's Corporation (MCD),
Starbucks Corporation (SBUX),
Tesla, Inc. (TSLA),
Visa Inc. (V).
Using the yfinance package, download the daily returns of these assets from June 1,2019(inclusive) to June 1,2024(exclusive).
Utilize the skfolio package to compute the portfolio that maximizes the Sharpe Ratio such that:
The total weight of JPM and V is at least 7%,
The total weight of CAKE, MCD, and SBUX is at least 11%,
The total weight of AAPL and CAT is at most 45%,
The minimum asset weight is 2.5%.
Use the standard deviation of daily returns as the measure of risk.
Assume that the daily risk-free rate is 0.01%.
If you had invested $25,000 in the optimum portfolio on January 1,2020, how much would your investment be worth on June 5,2024?
Round your answer to the nearest integer.
NOTE : When you use the skfolio, empyrial, and pyfolio packages on Google Colab, install and import the skfolio package first, followed by the empyrial and pyfolio packages.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!