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.

Installations38k
Note★ 4.5
Avis13
Dépôt source

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 →
Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
900k4.9
Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
820k4.9
Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
820k4.8
Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
760k4.7