awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
dcajasn avatar

dcajasn/Riskfolio-Lib

0
View on GitHub↗
3,784 stars·609 forks·C++·bsd-3-clause·46 viewsriskfolio-lib.readthedocs.io/en/latest↗

Riskfolio Lib

Riskfolio-Lib is a Python portfolio optimization library and convex risk management tool. It provides a framework for calculating optimal asset allocations using convex risk measures and mathematical programming solvers, supporting linear, quadratic, and semidefinite programming.

The library features a hierarchical risk parity framework and financial asset clustering tools to group similar instruments and improve diversification. It includes a portfolio backtesting engine for simulating investment strategies using historical data and cross-validation.

The system covers a broad range of quantitative capabilities, including mean-risk portfolio optimization, risk parity strategy implementation, and the application of graph-based and integer portfolio constraints. It also provides tools for portfolio report generation and integration that exposes optimization models as functions within spreadsheet environments.

Features

  • Convex Optimization Solvers - Implements convex optimization solvers to determine optimal asset allocations that balance expected returns and risk.
  • Financial Asset Clustering - Groups similar financial instruments using hierarchical clustering to enhance diversification through risk parity.
  • Hierarchical Allocation Strategies - Groups assets by risk profile and allocates weights through risk parity or equal risk contribution.
  • Hierarchical Optimization - Builds portfolios using clustering algorithms and hierarchical risk parity or equal risk contribution methods.
  • Mean-Risk Models - Calculates asset weights to maximize utility or return while minimizing risk via convex measures.
  • Statistical Estimation - Provides statistical methods for inferring asset parameters from historical data to feed optimization models.
  • Hierarchical Risk Parity - Allocates asset weights based on risk parity and equal risk contribution using a hierarchical clustering framework.
  • Risk Quantification - Provides mathematical measurement of potential losses and volatility using statistical distributions and drawdown metrics.
  • Portfolio Risk Metrics - Implements quantitative risk metrics such as Value at Risk and Maximum Drawdown for portfolio stability evaluation.
  • Convex Risk Frameworks - Provides a comprehensive framework for quantifying investment risk and balancing returns via convex programming.
  • Graph-Based Optimization - Enforces investment limits and diversification constraints using network theory and graph metrics.
  • Investment Constraints - Provides tools to define regulatory and structural limits within the portfolio optimization process.
  • Risk Parity Optimization - Balances the risk contribution of each asset across dispersion, downside, and drawdown risk measures.
  • Financial Performance Reports - Produces visual and tabular summaries of portfolio metrics and allocations for detailed performance analysis.
  • Trading Strategy Backtesters - Evaluates portfolio optimization strategies against historical market data using cross-validation.
  • Backtesting Engines - Simulates investment strategies using historical data and cross-validation to evaluate long-term performance.
  • Investor Belief Integration - Allows users to adjust asset return and risk expectations by integrating subjective investor beliefs with market data.
  • Optimization Constraint Enforcement - Applies integer constraints, such as cardinality and buy-in thresholds, to ensure structural portfolio requirements.
  • Risk Allocation Clustering - Diversifies portfolios by grouping assets through hierarchical risk parity based on underlying correlation structures.
  • Risk Parity Implementation - Allocates assets such that each contributes equally to the total portfolio risk across multiple categories.
  • Spectral Asset Clustering - Groups financial assets into clusters using correlation matrices to improve portfolio diversification.
  • Backtesting Simulations - Simulates the historical performance of portfolio optimization strategies to validate effectiveness before deployment.
  • Financial Analytics - Portfolio optimization and strategic asset allocation.
  • Financial Analytics Tools - Library for portfolio optimization and strategic asset allocation.
  • Portfolio Management - Portfolio optimization and risk management library.
  • Portfolio Optimization - Quantitative strategic asset allocation and portfolio optimization.

Star history

Star history chart for dcajasn/riskfolio-libStar history chart for dcajasn/riskfolio-lib

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Riskfolio Lib

These projects share indexed features with Riskfolio Lib. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • letianzj/quantresearchletianzj avatar

    letianzj/QuantResearch

    2,808View on GitHub↗

    QuantResearch is a quantitative research framework and specialized toolkit for algorithmic simulation, financial time-series analysis, and systematic trading. It provides an event-driven backtesting environment for validating strategies against historical tick and bar data, alongside a dedicated portfolio optimization engine for calculating asset weights and risk metrics. The project distinguishes itself through a machine learning finance toolkit that implements recurrent neural networks for price prediction and reinforcement learning for derivative pricing. It also features advanced statisti

    Jupyter Notebookalgorithmic-tradingalgotradingasset-allocation
    View on GitHub↗2,808
  • robertmartin8/pyportfoliooptrobertmartin8 avatar

    robertmartin8/PyPortfolioOpt

    5,792View on GitHub↗

    PyPortfolioOpt is a comprehensive portfolio optimization library for Python that provides a full suite of methods for constructing and analyzing investment portfolios. At its core, the library implements mean-variance optimization, the Black-Litterman Bayesian model, and Hierarchical Risk Parity, giving users multiple approaches to asset allocation. It includes a complete covariance estimation toolkit with interchangeable estimators such as sample, exponential, shrinkage, and minimum-covariance-determinant methods, along with expected return estimation using historical mean, exponential weight

    Jupyter Notebook
    View on GitHub↗5,792
  • yutiansut/quantaxisyutiansut avatar

    yutiansut/QUANTAXIS

    9,955View on GitHub↗

    Quantaxis is a quantitative trading framework designed for building, backtesting, and executing automated strategies across global equities, futures, and cryptocurrencies. It integrates an event-driven backtesting engine, a multi-market execution gateway for order routing, and a quantitative data pipeline for ingesting and storing multi-asset market data. The system features a Rust-accelerated financial library that utilizes Apache Arrow for high-performance technical indicator calculation and zero-copy data processing. It provides a containerized infrastructure model designed for orchestrati

    Pythonquant
    View on GitHub↗9,955
  • je-suis-tm/quant-tradingje-suis-tm avatar

    je-suis-tm/quant-trading

    9,190View on GitHub↗

    This project is a Python financial analytics framework and quantitative trading library. It provides a suite of mathematical tools for asset pricing, statistical market analysis, and the development of algorithmic trading strategies. The library is distinguished by its focus on currency and commodity correlation modeling, using regression and normalization to identify exchange rate drivers. It features a specialized portfolio optimization engine that applies graph theory, such as clique centrality and degeneracy ordering, alongside quadratic programming to balance risk-adjusted returns. The

    Pythonalgorithmic-tradingbollinger-bandscommodity-trading
    View on GitHub↗9,190
Compare all 30 related projects→

Frequently asked questions

What does dcajasn/riskfolio-lib do?

Riskfolio-Lib is a Python portfolio optimization library and convex risk management tool. It provides a framework for calculating optimal asset allocations using convex risk measures and mathematical programming solvers, supporting linear, quadratic, and semidefinite programming.

What are the main features of dcajasn/riskfolio-lib?

The main features of dcajasn/riskfolio-lib are: Convex Optimization Solvers, Financial Asset Clustering, Hierarchical Allocation Strategies, Hierarchical Optimization, Mean-Risk Models, Statistical Estimation, Hierarchical Risk Parity, Risk Quantification.

Which projects share features with dcajasn/riskfolio-lib?

Projects with overlapping indexed features include: letianzj/quantresearch — QuantResearch is a quantitative research framework and specialized toolkit for algorithmic simulation, financial… robertmartin8/pyportfolioopt — PyPortfolioOpt is a comprehensive portfolio optimization library for Python that provides a full suite of methods for… yutiansut/quantaxis — Quantaxis is a quantitative trading framework designed for building, backtesting, and executing automated strategies… je-suis-tm/quant-trading — This project is a Python financial analytics framework and quantitative trading library. It provides a suite of… 0xemmkty/quantmuse — QuantMuse is an algorithmic trading platform and quantitative trading framework that integrates large language models… cvxpy/cvxpy — CVXPY is a Python-embedded domain-specific language for modeling and solving convex optimization problems using…