Markets and trading · Independent · 22 Oct 2026

dcelisgarza/PortfolioOptimisers.jl

Portfolio optimisation library for Julia. Over 50 risk measures (CVaR, EVaR, RLVaR, drawdown, OWA), hierarchical risk parity, HERC, nested clustered optimisation, risk budgeting, near-optimal centering, four Black-Litterman variants, entropy pooling, factor and high-order priors, denoising, and JuMP-backed convex and non-convex optimization.

← Markets and trading
PortfolioOptimisers.jl: portfolio library. Builds and optimises investment portfolios in Julia.

In simple English

This library helps you decide how to divide your money among different stocks or assets. It uses mathematical formulas to lower your investment risk and find the best mix for your goals. You can pick from over fifty risk measures and various optimisation methods to test your ideas. It is written for the Julia programming language, so you need to know some coding to use it. The project is free to use under an MIT licence.

What it is

PortfolioOptimisers.jl is an open-source portfolio optimisation library for the Julia language. It provides immutable estimators for priors, risk measures, and constraints that you combine to solve asset allocation problems.

What it is good for

Solo builders and quantitative researchers who write in Julia and need a toolbox for portfolio management, risk budgeting, and asset allocation.

Stars25
LicenceMIT
Latestv0.33.0 (2026-10-20)checked 22 Oct 2026
Last code change2026-10-22
Written inJulia
Setup effort
3 / 5
Payoff
4 / 5
Good
  • Includes over fifty risk measures such as CVaR, drawdown, and variance.
  • Supports advanced allocation strategies like hierarchical risk parity and Black-Litterman.
  • Backed by JuMP for flexible convex and non-convex optimisation.
Watch for
  • Requires writing code in Julia to set up and run models.
  • Does not include mathematical solvers by default, so you must install them separately.
  • Documentation assumes familiarity with portfolio theory and quantitative finance.
Replaces

Writing custom portfolio optimisation scripts from scratch in Python or R.

Works well with

Clarabel.jl or HiGHS.jl for solving the mathematical programs.

Also reviewed on Repo Radar
  • 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
julia
using Pkg
Pkg.add(PackageSpec(; name = "PortfolioOptimisers"))

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Trading & Investing › Portfolio & Records › Portfolio Optimization.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.