> For the complete documentation index, see [llms.txt](https://docs.dtf.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dtf.fun/technical-overview/portfolio-optimization-algorithms.md).

# Portfolio Optimization Algorithms

The portfolio optimizer employs modern portfolio theory to:

* Generate random portfolios for Sharpe ratio calculations.
* Plot the efficient frontier, identifying the best risk-return trade-offs.
* Backtest portfolios against recent market data for accuracy.

Future enhancements include:

* Advanced search algorithms for portfolio optimization.
* Sentiment and mindshare data integration for predictive modeling.
