Skip to content

AditiMishra02/Portfolio-Optimization-with-PSO-for-Maximized-Sharpe-Ratio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Optimization with PSO for Maximized Sharpe Ratio

Overview

This repository houses a financial portfolio optimization tool developed using Particle Swarm Optimization (PSO). The project utilizes historical return data for three assets to calculate expected returns and covariance matrix. The objective is to formulate an optimal asset allocation strategy that maximizes the Sharpe ratio, resulting in a balanced portfolio with optimal return and minimized volatility.

Project Highlights

Methodology

  • Particle Swarm Optimization (PSO): Applied PSO to find the optimal combination of asset weights that maximizes the Sharpe ratio. PSO is a heuristic optimization technique inspired by the social behavior of birds and fish.

Data Processing

  • Historical Return Data: Utilized historical return data for three assets to calculate key financial metrics, including expected returns and covariance matrix.

Objective Function

  • Sharpe Ratio Maximization: Formulated an objective function to maximize the Sharpe ratio, representing the trade-off between return and risk. The goal is to achieve an optimal balance that enhances risk-adjusted performance.

Visualization

  • Efficient Frontier Plots: Visualized the results through efficient frontier plots, illustrating the set of optimal portfolios that offer the highest expected return for a given level of risk.
  • Scatter Plots: Presented the optimal asset allocation with scatter plots, providing a clear representation of the portfolio's risk and return characteristics.

Results

The optimized portfolio achieved a balanced asset allocation with maximized Sharpe ratio, leading to enhanced risk-adjusted performance.

  • Optimal Portfolio Weights: [0.14485298 0.32144943 0.53369759]
  • Optimal Portfolio Return: 0.015010062621142822
  • Optimal Portfolio Volatility: 0.0013236549826573269

Acknowledgments

  • The project was inspired by the need for effective portfolio optimization techniques in financial markets.

Feel free to customize this README based on specific details, additional acknowledgments, or any other relevant information you'd like to include.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages