Factor Modeling, Portfolio Construction, Python, Log Returns, Finance.
exploratory_data_analysis(self): # Visualize the log returns data plt.figure(figsize=(12, 6)) for ticker in self.log_returns.columns: plt.plot(self.log_returns.index, self.log_returns[ticker], label=ticker) plt.title('Log Returns of Assets') plt.xlabel('Date') plt.ylabel('Log Returns') plt.legend()