MulaiMulai sekarang secara gratis

Portofolio GMV

Portofolio global minimum volatility, atau portofolio GMV, adalah portofolio dengan standar deviasi (risiko) terendah dan imbal hasil tertinggi untuk tingkat risiko tertentu.

Imbal hasil sangat sulit diprediksi, tetapi volatilitas dan korelasi cenderung lebih stabil dari waktu ke waktu. Ini berarti portofolio GMV sering kali mengungguli portofolio MSR di luar sampel meskipun MSR akan unggul cukup signifikan di dalam sampel. Tentu saja, hasil di luar sampel adalah yang benar-benar penting dalam keuangan.

Latihan ini adalah bagian dari kursus

Pengantar Manajemen Risiko Portofolio dengan Python

Lihat Kursus

Petunjuk latihan

  • Urutkan RandomPortfolios dengan nilai volatilitas terendah, secara naik.
  • Kalikan GMV_weights_array ke seluruh baris StockReturns untuk memperoleh imbal hasil saham berbobot.
  • Terakhir, tinjau plot imbal hasil kumulatif dari waktu ke waktu.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Sort the portfolios by volatility
sorted_portfolios = RandomPortfolios.sort_values(by=['____'], ascending=____)

# Extract the corresponding weights
GMV_weights = sorted_portfolios.iloc[0, 0:numstocks]

# Cast the GMV weights as a numpy array
GMV_weights_array = np.array(GMV_weights)

# Calculate the GMV portfolio returns
StockReturns['Portfolio_GMV'] = StockReturns.iloc[:, 0:numstocks].mul(____, axis=1).sum(axis=1)

# Plot the cumulative returns
cumulative_returns_plot(['Portfolio_EW', 'Portfolio_MCap', 'Portfolio_MSR', 'Portfolio_GMV'])
Edit dan Jalankan Kode