Markets and trading · Independent · 22 Oct 2026

NVIDIA-AI-Blueprints/portfolio-optimization

Powered by NVIDIA cuOpt: a GPU-accelerated portfolio optimization toolkit for building, backtesting, and scaling Mean-CVaR and Mean-Variance investment workflows with CUDA-X Data Science.

← Markets and trading
NVIDIA Portfolio Optimization. GPU-accelerated quantitative finance toolkit.

In simple English

This tool helps quantitative finance builders calculate large investment portfolios very quickly. It uses advanced graphics processing cards to run heavy math calculations instead of normal computer chips. You need expensive NVIDIA hardware to run it. It saves hours of waiting when you test trading strategies against historical market data. Financial engineers and researchers use it to speed up their risk models.

What it is

A developer blueprint that combines NVIDIA cuOpt (a GPU-accelerated optimization solver) and RAPIDS cuML (a library for data science and machine learning on GPUs) to run Mean-Variance and Mean-CVaR portfolio calculations.

What it is good for

Quantitative developers and financial modelers who need to run heavy asset allocation simulations and backtest trading strategies without waiting hours for CPU calculations.

Stars499
LicenceApache-2.0
LatestNo tagged releasechecked 22 Oct 2026
Last code change2026-09-15
Written inJupyter Notebook
Setup effort
5 / 5
Payoff
4 / 5
Good
  • Solves complex portfolio optimization problems up to 160 times faster than standard processors.
  • Generates market return scenarios up to 100 times faster using GPU acceleration.
  • Includes ready-to-run Jupyter notebooks and a Streamlit interactive demo app.
Watch for
  • Requires an enterprise-grade NVIDIA GPU (such as an H100) with compute capability 9.0 or higher.
  • Demands heavy system resources including 32-plus CPU cores and 64 GB of memory.
  • Complex setup process inside a specialized Docker container with strict CUDA version dependencies.
Replaces

Slow CPU-based portfolio optimizers and custom mathematical solver scripts.

Works well with

NVIDIA cuOpt for high-speed mathematical solving and RAPIDS cuML for GPU data processing.

Similar repositories
  • NVIDIA/cuopt1.1k stars

    The core GPU-accelerated optimization engine that powers this portfolio toolkit.

  • NVIDIA/cuml5.3k stars

    A GPU machine learning library used here for fast market scenario generation.

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
docker run --gpus all -it --rm -v ./:/workspace/host --ipc=host -p 8888:8888 -p 8501:8501 nvcr.io/nvidia/pytorch:25.10-py3
git clone https://github.com/NVIDIA-AI-Blueprints/portfolio-optimization.git
cd portfolio-optimization
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env
uv sync --extra cuda13 --group notebooks
uv run python -m ipykernel install --user --name=portfolio-opt --display-name "Portfolio Optimization"
uv run jupyter lab --no-browser --NotebookApp.token=''

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.