Open source alternatives to Quantstats
200 open source apps like Quantstats, closest match first.
Top picks
- Q
QuantInvestStrats
LaunchPerformance analytics, portfolio backtesting, risk analysis, and factsheet reporting in Python
- E
EigenLedger
LaunchEigenLedger, previously called Empyrial, is an open source Python library for quantitative portfolio analysis. Its authors aim it at both financial institutions and individual investors, and it was first released in 2021. It lets you analyz
- P
PyPortfolioOpt
LaunchPyPortfolioOpt is a Python library for financial portfolio optimization. It implements methods such as classical mean-variance optimization and the efficient frontier, Black-Litterman allocation, shrinkage of covariance estimates, and Hiera
- C
Cvxportfolio
LaunchCvxportfolio is a Python library for portfolio optimization and back-testing. It lets you try optimization policies for asset management and test them against your past performance with a market simulator. The library was written by Stanfor
- V

Vectorbt
Launchvectorbt is a Python library for backtesting and analysing trading strategies at scale. It runs many strategy variations quickly by working on whole arrays of data at once, which the site describes as running thousands of trading ideas in t
- F
FinanceToolkit
LaunchFinanceToolkit is an open-source toolkit for financial analysis. Its author built it because the same financial metric is reported with different values by different sources, and the methods behind those numbers are often hidden behind paid
More like Quantstats
About Quantstats
Quantstats
Portfolio analytics for quants, written in Python
QuantStats is a Python library for portfolio analytics, built for quants and portfolio managers who want a clearer view of how a portfolio performs. It has three modules. quantstats.stats calculates performance metrics such as the Sharpe ratio, win rate and volatility. quantstats.plots visualizes performance, drawdowns, rolling statistics and monthly returns. quantstats.reports generates metric reports, batch plots and tear sheets that can be saved as HTML files. You can create basic or full metrics and plots, a combined basic or full report, or a complete HTML tear sheet. The library also includes Monte Carlo simulations for probabilistic risk analysis. The readme explains an important limitation. QuantStats analyzes return series, such as daily, weekly or monthly returns, not discrete trades. Win rate, consecutive wins and losses, payoff ratio and profit factor are therefore counted by period, so a multi-day trade can count as several wins and losses. The readme says these metrics suit systematic strategies with regular rebalancing, and that discretionary traders with multi-day trades may see results that differ from trade-level statistics. The project is on GitHub, and the listing shows it as free.
- Price
- Free
- Made by
- ranaroussi
- Category
- Finance
- Website
- github.com/ranaroussi/quantstats




