Conditional Value-at-Risk (CVaR) portfolio optimization benchmark problems in Python.
Project description
CVaR optimization benchmark problems
This repository contains Conditional Value-at-Risk (CVaR) portfolio optimization benchmark problems for fully general Monte Carlo distributions and derivatives portfolios.
The starting point is the next-generation investment framework's market representation given by the matrix $R\in \mathbb{R}^{S\times I}$ and associated joint scenario probability vectors $p,q\in \mathbb{R}^{S}$.
The 1_CVaROptBenchmarks notebook illustrates how the benchmark problems can be solved using Fortitudo Technologies' Investment Analysis module.
The 2_OptimizationExample notebook shows how you can replicate the results using the fortitudo.tech open-source Python package for the efficient frontier optimizations of long-only cash portfolios, which are the easiest problems to solve.
Installation Instructions
It is recommended to install the code dependencies in a conda environment:
conda create -n cvar-optimization-benchmarks python=3.13
conda activate cvar-optimization-benchmarks
pip install cvar-optimization-benchmarks
After this, you should be able to run the code in the 2_OptimizationExample notebook.
The code in 1_CVaROptBenchmarks notebook can only be run by people who subscribe to the Investment Analysis module.
Portfolio Construction and Risk Management book
You can read much more about the next-generation investment framework in the Portfolio Construction and Risk Management book, including a thorough description of CVaR optimization problems and Resampled Portfolio Stacking.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cvar_optimization_benchmarks-0.1.3.tar.gz.
File metadata
- Download URL: cvar_optimization_benchmarks-0.1.3.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa832eea7cc5ad16d2be39f44c828ed771810eec0c2d2b4dbfd5257df3ddc619
|
|
| MD5 |
7cf3dc19363b5f3ab8df33f644c6a40f
|
|
| BLAKE2b-256 |
6dc2b88e77cf81ee6b2644aa3fa9d3b9b7892a5dd4828cab861dc4ffdea72273
|
File details
Details for the file cvar_optimization_benchmarks-0.1.3-py3-none-any.whl.
File metadata
- Download URL: cvar_optimization_benchmarks-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
860dd79fb60b98a80629eef109794262017d0a76b7e12a7041d266410d68516c
|
|
| MD5 |
b1b58aaa331f29bd4ed2e0869d21a4c7
|
|
| BLAKE2b-256 |
4a6ea894d11697feb32f900bee180df2fcc9ab7456d93deb8ef82ab5222a2cd3
|