This portfolio optimizer uses the Efficient Frontier method to optimize your portfolio based on historical stock prices from the S&P 500. You can select multiple stocks from the S&P 500, specify the time frame for historical data, and enter the amount you want to invest in the portfolio. The optimizer will then compute the optimal allocation of your investment across the selected stocks, aiming to maximize the portfolio's Sharpe ratio. Additionally, it will display a pie chart showing the allocation of each stock in the portfolio, along with a time series chart comparing the cumulative return of the optimized portfolio with the S&P 500's return.
The application is hosted on streamlit community cloud.
The stock market involves inherent risks, and the performance of a portfolio is subject to market fluctuations. The information provided by this application is for educational and informational purposes only and does not constitute financial advice. Before making any investment decisions, it is advisable to conduct your own research or consult with a qualified financial advisor. The creator of this application shall not be liable for any losses or damages arising from the use of this application or the information provided herein.