Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def output_results(start_date, end_date, tickers_string):
53
  fig_cum_returns = plot_cum_returns(stocks_df, 'Cumulative Returns of Individual Stocks Starting with $100')
54
 
55
  # Calculatge and Plot Correlation Matrix between Stocks
56
- corr_df = stocks_df.corr().round(2)
57
  fig_corr = px.imshow(corr_df, text_auto=True, title = 'Correlation between Stocks')
58
 
59
  # Calculate expected returns and sample covariance matrix for portfolio optimization later
 
53
  fig_cum_returns = plot_cum_returns(stocks_df, 'Cumulative Returns of Individual Stocks Starting with $100')
54
 
55
  # Calculatge and Plot Correlation Matrix between Stocks
56
+ corr_df = stocks_df.corr().round(4)
57
  fig_corr = px.imshow(corr_df, text_auto=True, title = 'Correlation between Stocks')
58
 
59
  # Calculate expected returns and sample covariance matrix for portfolio optimization later