catalog / Finance / pyfolio-reloaded — Portfolio Performance Analytics
EvalFinanceFree

pyfolio-reloaded — Portfolio Performance Analytics

Maintained fork of Quantopian's pyfolio providing comprehensive risk and return analytics, tear sheets, and performance attribution for quantitative strategies.

इंस्टॉल43k
⟳ upstream 0.9.9 · updated 1y ago
सोर्स रिपॉज़िटरी
Grade A · 100/100 · SafeSecurity assessment
No compromise signals8capabilities surfaced9of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredExternal endpoints declaredExternal endpoints declared
scanned 18d agoosv · gitleaks · opengrep · picklescan + heuristicsfull breakdown in the Security tab ↓

pyfolio-reloaded — Portfolio Performance Analytics

pyfolio-reloaded is the actively maintained fork of Quantopian's pyfolio, providing deep quantitative portfolio analytics. It generates beautiful tear sheets covering returns, drawdowns, Sharpe/Sortino ratios, rolling beta, factor exposures, transaction costs, and round-trip analysis — essential for evaluating backtested and live trading strategies.

Key Features

  • Full tear sheets: returns, drawdowns, risk metrics, position analysis, transaction analysis
  • Rolling performance metrics: Sharpe, beta, volatility, correlation
  • Bayesian tear sheet (posterior distributions of performance metrics)
  • Integration with Zipline, QuantConnect, and any returns Series
  • Interactive Plotly output supported

Quick Start

import pyfolio as pf
import pandas as pd

# Load daily returns (index=DatetimeIndex, values=float)
returns = pd.read_csv("strategy_returns.csv", index_col=0, parse_dates=True).squeeze()
pf.create_full_tear_sheet(returns)
npx ai-supply add pyfolio-reloaded-portfolio-analytics

Curated mirror of the open-source pyfolio-reloaded (Apache-2.0). Get it from the source.

More from @ai-supply

View profile →
Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
1.0M
Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
892k
Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
811k
Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
784k