Skip to content
C

Cvxportfolio

Portfolio optimization and back-testing

by cvxgrpFree

#218in Finance
0In stores

Description

Cvxportfolio is a Python library for portfolio optimization and back-testing. It lets you try optimization policies for asset management and…

Highlights

  • Portfolio optimization policies in Python
  • Back-testing with a market simulator
  • Daily example strategies published in the repository
  • Installs with pip or Anaconda
  • Tested on Python 3.8 to 3.12

Ratings & Reviews

No ratings yet

Be the first to rate Cvxportfolio.

People also visit

P

PyPortfolioOpt

Financial portfolio optimization in python

Finance
Launch
R

Riskfolio-Lib

Portfolio Optimization in Python

Finance
Launch
E

EigenLedger

An Open Source Portfolio Backtesting Engine for Everyone | 面向所有人的开源投资组合回测引擎

Finance
Launch
V

Vectorbt

The backtesting engine that gives you an unfair advantage

Finance
Launch
C

cufolio

Build, optimize, backtest, rebalance, or analyze a stock portfolio

AI Skills
Get
Q

Quantstats

Portfolio analytics for quants, written in Python

Finance
Launch

Cvxportfolio FAQ

What is Cvxportfolio?

A Python library for portfolio optimization and back-testing, with a market simulator for testing strategies on past performance.

Who wrote it?

Stanford University researchers together with BlackRock investment professionals, according to the documentation.

How do I install it?

Run pip install -U cvxportfolio. Anaconda installs are also supported.

Which Python versions are supported?

The project tests against Python 3.8, 3.9, 3.10, 3.11 and 3.12.

What are its main dependencies?

CVXPY for numerical solvers and Pandas for database interfacing. The project tests against recent versions of both.

How do I run the tests?

Run python -m cvxportfolio.tests. Offline, you can run the suite ignoring the DownloadError from tests that use the internet.

Is it open source?

Yes. The source and daily example strategies are in a public GitHub repository under cvxgrp.

What are the best Cvxportfolio alternatives?

Popular alternatives to Cvxportfolio include PyPortfolioOpt, Riskfolio-Lib and EigenLedger. See all Cvxportfolio alternatives

Developer Stuff

Badges