#15 · Primary category: Financial Data & Analytics Platforms

quantstats

algo-trading algorithmic-trading algotrading finance plotting python quant quantitative-analysis quantitative-finance quantitative-trading visualization

Portfolio analytics for quants, written in Python

Project last updated:07/20/26

GitHub Stars

7.6K

Forks

1.2K

Contributors

36

License

Apache-2.0

Why we included this project

QuantStats is a Python library for anyone who has a returns series and needs to know how a strategy actually performed. It calculates the usual risk and performance metrics, including Sharpe, Sortino, max drawdown, value-at-risk, and win rate, and can render them as plots, snapshots, or a full HTML tear-sheet you can hand to a stakeholder. Because it extends pandas, calls like stock.sharpe() slot naturally into existing analysis scripts. The built-in Monte Carlo simulation goes beyond point estimates to give bust and goal probabilities, which helps when you want a probabilistic read on drawdown risk. The docs also spell out how metrics are interpreted by period, so you can compare daily or monthly returns instead of discrete trade entries.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category