Skip to content

Knowledge library

Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
Quantpedia
86 documents
TqSdk
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Quantopian lectures
45 documents
Binance API docs
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

16 documents

pyfolio

The example shows how to use Pyfolio to create a returns tear sheet for a single stock. It retrieves daily returns for Facebook through a Pyfolio utility, then passes that return series to a tear-sheet function with a live-start date. The stated output is a…

EquitiesStatisticsBacktesting
pyfolio

The document explains a MetaTrader 5 indicator that marks hammer, inverted hammer, and color variants on price charts. It identifies patterns by measuring candle bodies and wick proportions, then places a colored arrow near the candle’s high or low to flag a…

Technical indicatorsVolatility
pyfolio

This code provides several ways to assess how a backtested equity portfolio might interact with market liquidity. It aggregates executed shares by ticker and day, compares those totals with daily bar volume, and identifies each name’s largest observed share…

EquitiesRisk managementExecutionBacktesting
pyfolio

This tutorial explains how to assess strategy performance by examining completed round-trip trades: positions opened and later wholly or partly closed. It argues that trade-level frequency, duration, and profitability can reveal whether results came from…

BacktestingStatisticsPortfolio construction
pyfolio

These release notes describe additions to pyfolio, a toolkit for evaluating trading portfolios. New analyses include performance attribution to common factors, factor and sector risk exposures, rolling volatility, capacity, bootstrap uncertainty in…

Portfolio constructionRisk managementStatisticsBacktesting
pyfolio

The document describes a reporting workflow for analyzing a trading strategy from return data and, when available, holdings, transactions, benchmark returns, market data, and factor information. Its full report brings together return and event analysis, then…

BacktestingRisk managementPortfolio constructionExecution
pyfolio

This utility module prepares trading results for performance analysis. It extracts returns, positions, and transactions from a backtest, normalizes dates, and converts positions into a format suitable for reporting. It also includes display helpers,…

BacktestingStatistics
pyfolio

Pyfolio is presented as a Python library for analyzing the performance and risk of financial portfolios, with compatibility for the Zipline backtesting library. Its central reporting tool is a tear sheet: a collection of plots intended to give a broad view…

Portfolio constructionRisk managementBacktestingStatistics
pyfolio

This notebook demonstrates a pyfolio workflow for examining one stock’s returns against the canonical Fama–French factors. It first plots rolling factor betas directly from the stock return series, then calculates those betas for use as benchmark returns in…

EquitiesFactor investingStatisticsBacktesting
pyfolio

This Python utility collection summarizes portfolio positions over time. It converts position values into allocations, identifies the largest long, short, and absolute positions, and calculates maximum and median long and short concentrations. A separate…

Portfolio constructionRisk managementBacktesting
pyfolio

The document describes a trade-analysis method that turns a stream of transactions into completed round trips. It first combines nearby transactions in the same direction, using volume-weighted average prices, then matches opposing quantities in FIFO order…

StatisticsBacktestingRisk managementPosition sizing
pyfolio

This document describes a portfolio analysis workflow that attributes a return series to selected risk factors. It combines daily returns, holdings, factor returns, and security-level factor loadings, converting dollar positions to portfolio weights and…

Factor investingPortfolio constructionRisk managementStatistics
pyfolio

This Python module documents time-series analytics for evaluating investment returns. It wraps metrics such as drawdown, annualized return and volatility, Calmar, Omega, Sortino, Sharpe, alpha, and beta, along with turnover-related utilities. Several risk…

Risk managementStatisticsBacktesting
pyfolio

This tutorial explains how to use Pyfolio’s transaction tear sheet to examine how strategy performance changes under different slippage assumptions. It describes the `slippage` argument to `create_full_tear_sheet`: a specified basis-point penalty is applied…

BacktestingExecutionRisk managementStatistics
pyfolio

This review summarizes three studies on stop-loss rules. The first applies a 10% loss threshold to broad U.S. equity exposure, shifting proceeds into long-term government bonds until the market recovers. The second compares fixed and trailing stops with…

EquitiesMomentumRisk managementBacktesting
pyfolio

This document provides a predefined catalog of date ranges associated with notable market events and broader market regimes. The event windows include the dot-com period, the September 11 attacks, the global financial crisis, the Flash Crash, Fukushima, the…

BacktestingEvent-drivenUS markets