using Sharpe Ratio and Genetic Algorithms
Portfolio Optimization is the process of selecting the best portfolio(distribution the assets) among the others according to some objective. The objective function here is the sharpe ratio which is expected return divided by unit risk. We use the GA library which has genetic algorithms in order to find the optimal portfolio. To use the GA library we convert our constrained optimization problem to unconstrained optimization problem by adding necessary penalties.