Date: January 21, 2024

Topic: How to Optimize a Portfolio

Recall

Using metrics, find a combination of stocks to get the highest return

Notes

Portfolio Optimization


We can apply ranges and constraints on the value to optimize so that the optimizers conver faster

Optimizing Sharpe Ratio

Steps

  1. Provide a function to minimize $f(x)$
  2. Provide an initial guess for $x$
  3. Call the optimizer

$f(x)$ is the allocations of stocks, and we want to find the best allocation that optimizes this function

Ranges and Constraints

To help the optimizer, we can introduce certain ranges to look at, or constrain the problem


<aside> 📌 SUMMARY: When optimizing a portfolio, we may consider optimizing for some metrics used like Sharpe Ratio

</aside>