30 open-source projects similar to ranaroussi/quantstats, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Quantstats alternative.
Portfolio and risk analytics in Python
Alphalens is a quantitative alpha factor analysis library designed to measure the predictive power of financial factors. It serves as a computational toolset for processing financial time series and calculating performance metrics to evaluate quantitative trading hypotheses. The library distinguishes itself through the use of quantile-based data binning to analyze return distributions across different factor strength levels. It aligns historical alpha signals with forward-looking price changes to isolate predictive effects and transforms these metrics into heatmaps and time-series charts for
mplfinance is a financial time-series plotter and market data visualization framework built on Matplotlib. It is designed to render market data frames into specialized charts, including candlesticks, OHLC bars, Renko bricks, and point-and-figure columns. The library distinguishes itself through a dedicated market data framework that manages trading calendars and non-trading periods, ensuring accurate temporal spacing by collapsing gaps during holidays. It also provides a system for technical analysis charting, enabling the overlay of moving averages, volume bars, and other technical indicator
FundamentalAnalysis is a comprehensive financial analysis library, quantitative finance framework, and macroeconomic data integrator. It provides tools for computing financial ratios, executing corporate health metrics, and pricing derivatives and bonds using mathematical models. The project integrates diverse data streams, including global economic indicators, real-time market quotes, and standardized corporate financial statements. It features a technical analysis engine for generating momentum and volatility indicators, as well as a portfolio performance analyzer for tracking risk-adjusted
VectorBT is a vectorized trading strategy backtesting framework that simulates thousands of strategy configurations in a single pass over historical price data. It operates as a parameter optimization engine, a portfolio performance analyzer, a technical indicator calculator, and a financial data fetcher, all built around a DataFrame-centric data model that uses NumPy broadcasting for signal alignment and compiled code acceleration for performance. The framework distinguishes itself through its ability to run large-scale parameter sweeps by constructing every combination of strategy parameter
quant-wiki is a comprehensive knowledge base and structured reference for quantitative finance, financial engineering, and algorithmic trading. It serves as a centralized library of documentation covering mathematical models, financial instruments, and systematic trading strategies. The project integrates AI-driven capabilities through a modular retrieval-augmented generation framework that extracts structured data from research papers and news. It features a multi-agent workflow engine designed to discover and validate predictive alpha factors, alongside tools for local large language model
This is a quantitative finance library built on TensorFlow for financial engineering, asset pricing, and risk management. It serves as a financial derivative pricing engine, a model calibration tool, and a hardware-accelerated math library for numerical tasks. The library provides specialized capabilities for pricing financial assets using standard models and American option logic, as well as calibrating pricing models to market data through local volatility. It includes tools for constructing yield curves via bootstrapping algorithms and monotone convex interpolation. The framework covers a
RQAlpha is a Python-native quantitative trading backtesting framework and live trading execution system. It provides an event-driven engine for simulating trading strategies against historical market data, with realistic transaction costs, slippage models, and corporate action handling. The platform supports multi-asset class trading including stocks, futures, options, and REITs, with separate sub-accounts for different asset types and configurable margin requirements. The framework distinguishes itself through a plugin-based extensible architecture that allows users to swap out core componen
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 quant
Ghostfolio is a self-hosted portfolio tracker designed for personal finance tracking and wealth management. It allows users to record investment transactions and monitor asset holdings across multiple financial accounts in a single private environment. The system provides a financial performance analyzer to calculate investment returns and generate growth charts. It includes an investment risk auditor that performs static analysis on asset holdings to identify financial vulnerabilities and diversification gaps. The platform covers broader capabilities for multi-account management and financi
The FinanceToolkit is an open-source Python library for quantitative finance that provides a unified framework for financial analysis, asset valuation, and risk management. It serves as a comprehensive platform for computing over 200 financial metrics and ratios, with capabilities spanning financial ratio analysis, fixed income analytics, macroeconomic data aggregation, options pricing, and portfolio risk management. The toolkit distinguishes itself through a modular architecture that separates data retrieval from computation, with stateless engines for financial models like Black-Scholes, GA
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
This project is a suite of machine learning and statistical tools designed for stock price prediction, financial time series forecasting, and the execution of algorithmic trading strategies. It provides a collection of deep learning and statistical models used to forecast asset prices and market trends. The system includes a market scenario simulator that uses Monte Carlo sampling to generate potential price paths and estimate financial risk. It further features a portfolio optimization tool for calculating asset distributions to maximize returns based on historical volatility, as well as a m
pybroker is a Python algorithmic trading framework and quantitative technical analysis library designed for developing, testing, and optimizing trading strategies using historical market data. It functions as a trading strategy backtester and a financial performance evaluator, providing a structured environment to simulate trading rules and analyze their statistical reliability. The framework distinguishes itself through a market data integration layer that handles the fetching and caching of historical price data from external providers. It incorporates an event-driven backtesting engine and
Backtrader is a Python backtesting framework and algorithmic trading platform. It provides a toolkit for developing automated trading rules and simulating investment strategies using historical financial time-series data. The system functions as a quantitative analysis tool, combining a simulation engine for testing trading rules with a financial data visualizer that generates price action charts. It allows for the calculation of technical indicators and the evaluation of portfolio performance through risk-adjusted returns. The platform covers live trading integration via brokerage APIs and
Hikyuu is a quantitative trading framework designed for developing, backtesting, and executing systematic trading strategies. It functions as a high-speed system that combines a financial time-series library, a multi-factor analysis tool, and a quantitative backtesting engine to support comprehensive trading research. The framework is distinguished by its high-speed computing core, which utilizes multi-threaded execution to process large volumes of market data for technical indicator generation. It supports a modular strategy composition model where signal, risk, and fund management component
Jesse is a Python algorithmic trading framework used for developing, backtesting, and executing quantitative trading strategies. It functions as a trading strategy backtester and a machine learning trading platform, providing an environment to train predictive models on historical market data and deploy them into live strategies. The framework features a standardized crypto exchange connectivity layer that allows for the execution of automated spot and futures trades across multiple cryptocurrency exchanges via an exchange-agnostic interface. It includes a quantitative risk analysis toolset t
ffn - a financial function library for Python
This project is a Python wrapper for the TA-Lib C library, serving as a financial technical analysis library and quantitative trading tool. It provides a collection of mathematical functions designed to analyze market price movements, identify trading signals, and recognize candlestick patterns within financial data. The library focuses on the computation of trend, momentum, and volume metrics. It includes specialized tools for candlestick pattern recognition to detect recurring price action shapes in both historical and real-time data. The system integrates with NumPy arrays to process cont
Zipline is a Python-based algorithmic trading library designed for the development and backtesting of investment strategies. It functions as a quantitative finance engine that processes historical market data to simulate trading interactions and evaluate strategy performance through custom metrics. The platform provides a modular, event-driven framework that manages portfolio state transitions based on time-series data streams. Beyond its core trading capabilities, the system includes a comprehensive financial data analysis toolkit for manipulating large-scale market datasets to support syste
GPU-accelerated Factors analysis library and Backtester
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
A Python Finance Library that focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives.
Common financial technical indicators implemented in Pandas.
An Open Source Portfolio Backtesting Engine for Everyone | 面向所有人的开源投资组合回测引擎