Comparing max Sharpe to min vol
In this exercise let's have a closer look at the weights and performance of the Maximum Sharpe and minimum volatility portfolios, and compare them. This exercise will help you understand the characteristics of these two different portfolios. Available are cleaned_weights_minvol, cleaned_weights_maxsharpe, perf_min_volatility, and perf_max_sharpe.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Introduction to Portfolio Analysis in Python
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Print min vol and max sharpe results
print(____,____,____,____, sep="\n")