awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ranaroussi avatar

ranaroussi/quantstats

0
View on GitHub↗
6,717 stars·1,113 forks·Python·apache-2.0·9 vues

Quantstats

QuantStats is an open-source Python library that calculates risk and return metrics from a portfolio return series and generates comprehensive HTML tear sheets. It computes dozens of financial statistics—including Sharpe ratio, drawdown, and volatility—in a single pass over the input data, using vectorized pandas operations for efficiency.

The library distinguishes itself by combining portfolio performance analysis with Monte Carlo simulation, which models thousands of random return paths to estimate the probability of reaching financial targets or hitting loss thresholds. It produces self-contained HTML reports that assemble metric tables and Matplotlib-generated charts—such as drawdown plots, rolling statistics, monthly heatmaps, and return distributions—into a styled document suitable for sharing or offline review.

Beyond its core reporting and simulation capabilities, QuantStats supports multi-format report generation and provides a rolling window statistics engine for time-varying metrics like rolling Sharpe ratio. The library accepts portfolio returns as a pandas Series or DataFrame, making it straightforward to integrate into existing Python-based analysis workflows.

Features

  • Portfolio Performance Metrics - Analyzes investment portfolio returns with risk metrics, drawdown analysis, and performance statistics in a single workflow.
  • HTML Analysis Reports - Assembles metrics and plots into self-contained HTML reports for sharing or offline review.
  • Monte Carlo Simulators - Simulates thousands of random return sequences using Monte Carlo methods to estimate portfolio outcome probabilities.
  • Asset Price Path Simulators - Implements Geometric Brownian Motion to simulate thousands of asset price paths for portfolio analysis.
  • Risk Simulations - Simulates thousands of return paths to estimate probabilities of reaching financial targets or hitting loss thresholds.
  • Portfolio Return Path Simulators - Simulates thousands of random return paths to estimate portfolio outcome probabilities.
  • Financial Performance Metrics - Computes Sharpe ratio, drawdown, volatility, and other quantitative statistics from time-series return data.
  • Performance Charting - Creates visualizations of portfolio behavior such as drawdowns, rolling statistics, and return distributions.
  • Financial Performance Reports - Generates multi-page reports in basic, full, or HTML formats for portfolio analysis.
  • Rolling Statistical Aggregators - Computes time-varying metrics like rolling Sharpe ratio and volatility by applying windowed functions over return series.
  • Portfolio Performance Plotters - Generates plots for returns, drawdowns, rolling statistics, and monthly heatmaps.
  • Statistical Distribution Visualizers - Plots return distributions, monthly heatmaps, rolling statistics, and drawdown charts to understand portfolio behavior.
  • Financial Analytics - Portfolio management and performance analytics.
  • Financial Analytics Tools - Portfolio analytics and performance reporting for quants.
  • Trading and Backtesting - Portfolio analytics for quantitative traders.

Historique des stars

Graphique de l'historique des stars pour ranaroussi/quantstatsGraphique de l'historique des stars pour ranaroussi/quantstats

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait ranaroussi/quantstats ?

QuantStats is an open-source Python library that calculates risk and return metrics from a portfolio return series and generates comprehensive HTML tear sheets. It computes dozens of financial statistics—including Sharpe ratio, drawdown, and volatility—in a single pass over the input data, using vectorized pandas operations for efficiency.

Quelles sont les fonctionnalités principales de ranaroussi/quantstats ?

Les fonctionnalités principales de ranaroussi/quantstats sont : Portfolio Performance Metrics, HTML Analysis Reports, Monte Carlo Simulators, Asset Price Path Simulators, Risk Simulations, Portfolio Return Path Simulators, Financial Performance Metrics, Performance Charting.

Quelles sont les alternatives open-source à ranaroussi/quantstats ?

Les alternatives open-source à ranaroussi/quantstats incluent : quantopian/pyfolio — Portfolio and risk analytics in Python. quantopian/alphalens — Alphalens is a quantitative alpha factor analysis library designed to measure the predictive power of financial… matplotlib/mplfinance — mplfinance is a financial time-series plotter and market data visualization framework built on Matplotlib. It is… jerbouma/fundamentalanalysis — FundamentalAnalysis is a comprehensive financial analysis library, quantitative finance framework, and macroeconomic… polakowo/vectorbt — VectorBT is a vectorized trading strategy backtesting framework that simulates thousands of strategy configurations in… llmquant/quant-wiki — quant-wiki is a comprehensive knowledge base and structured reference for quantitative finance, financial engineering,…

Alternatives open source à Quantstats

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Quantstats.
  • quantopian/pyfolioAvatar de quantopian

    quantopian/pyfolio

    6,333Voir sur GitHub↗

    Portfolio and risk analytics in Python

    Jupyter Notebook
    Voir sur GitHub↗6,333
  • quantopian/alphalensAvatar de quantopian

    quantopian/alphalens

    4,143Voir sur GitHub↗

    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

    Jupyter Notebookalgorithmic-tradingfinancejupyter
    Voir sur GitHub↗4,143
  • matplotlib/mplfinanceAvatar de matplotlib

    matplotlib/mplfinance

    4,385Voir sur GitHub↗

    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

    Pythoncandlestickcandlestick-chartcandlestickchart
    Voir sur GitHub↗4,385
  • jerbouma/fundamentalanalysisAvatar de JerBouma

    JerBouma/FundamentalAnalysis

    4,974Voir sur GitHub↗

    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

    Python
    Voir sur GitHub↗4,974
Voir les 30 alternatives à Quantstats→