
In simple English
This tool helps you build and test investment portfolios. You set your goals and limits, and the tool finds the best mix of assets for you. It handles complex rules, such as maximum weights or risk limits. You do not pay anything to use it, but you need to know how to write code. It requires some time to learn its many features.
What it is
PortfolioAnalytics is an open-source software package for portfolio optimization and analysis written for the R programming language (a popular environment for statistical computing and graphics). It provides numerical methods and charts to solve asset allocation problems with various constraints and objectives.
What it is good for
Quantitative researchers and financial analysts who want to optimize investment portfolios, run backtests, and generate efficient frontier charts without building the math from scratch.
- Supports many different optimization solvers and engines.
- Includes tools for backtesting and walk-forward analysis.
- Provides extensive documentation and demo scripts.
- Requires working knowledge of the R programming language.
- Setup involves installing R and multiple solver packages.
- Documentation assumes prior background in portfolio theory.
manual spreadsheet optimization
RStudio
- jesse-ai/jesse8.7k stars
A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.
- hummingbot/hummingbot20k stars
A free framework for writing and running automated trading programs on cryptocurrency exchanges.
- lballabio/QuantLib7.7k stars
The long-established free library for pricing and risk-managing financial instruments.
install.packages("PortfolioAnalytics")