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

23 documents

Quantopian lectures

This tutorial explains how conditional volatility in an ARCH or GARCH process can produce return series with heavier tails than a normal distribution. It simulates a GARCH(1,1) series, compares its tail behavior with Gaussian samples, and outlines a…

VolatilityStatisticsRisk management
Quantopian lectures

The lecture describes how transaction costs affect strategy performance and how institutional trading teams assess execution. It distinguishes explicit commissions and fees from indirect costs such as spread and market impact. Slippage is linked to…

ExecutionMarket microstructureEquitiesRisk management
Quantopian lectures

This tutorial introduces NumPy arrays and linear algebra operations used in quantitative finance. It explains array dimensions, shapes, indexing, slicing, and element-wise functions, then applies them to simulated asset returns. Randomly generated assets…

Portfolio constructionStatisticsRisk managementEquities
Quantopian lectures

This lesson uses a factor model to separate portfolio risk into common factor risk and asset-specific risk. It constructs market, size, and value factor returns, estimates each stock’s exposure through regression, and explains how those exposures and factor…

Risk managementPortfolio constructionFactor investingEquities
Quantopian lectures

The lecture explains how regression residuals—the differences between observed and predicted values—can reveal whether a linear model's assumptions are plausible. A residual plot should look like an unstructured cloud around zero. Curvature or other patterns…

StatisticsRisk managementBacktesting
Quantopian lectures

The lecture introduces principal component analysis as a way to summarize a large matrix with a smaller set of orthogonal components that capture much of its variation. A synthetic image illustrates covariance decomposition, ranking components by eigenvalue,…

StatisticsEquitiesPortfolio constructionRisk management
Quantopian lectures

This lecture presents parameter estimates as uncertain quantities that can change with new observations or with the sample window. It suggests measuring that instability by estimating a statistic on multiple subsets of data and examining how the resulting…

StatisticsEquitiesVolatilityRisk management
Quantopian lectures

This lecture explains how violations of regression assumptions affect parameter estimates and statistical inference, and why residual analysis is useful even for complex models. It discusses non-normal residuals and the Jarque-Bera test, then contrasts…

StatisticsRisk managementEquitiesUS markets
Quantopian lectures

This lecture explains how a sample mean can estimate a population mean and how a confidence interval expresses its uncertainty. It derives the standard error from sample variability and sample size, then describes constructing intervals with normal or…

StatisticsRisk managementBacktesting
Quantopian lectures

This lecture examines why regression coefficients may change substantially across samples, limiting a model’s reliability on new data. It uses simple linear regression examples to show how a small sample and influential observations can produce misleading…

StatisticsEquitiesRisk managementBacktesting
Quantopian lectures

This lecture introduces factor models as regressions that explain an asset’s returns using other return series. It estimates an asset’s beta to a benchmark from historical returns, then uses a short benchmark position sized to offset the estimated market…

EquitiesRisk managementStatisticsPortfolio construction
Quantopian lectures

This lecture explains leverage as borrowing to increase the capital deployed in a trading strategy. It defines the leverage ratio and uses single-period examples to show how borrowed funds can amplify gains while interest reduces the benefit. Borrowing costs…

Risk managementPosition sizingPortfolio constructionEquities
Quantopian lectures

This lecture explains how the Capital Asset Pricing Model relates expected asset returns to a risk-free rate and exposure to broad market risk. It distinguishes diversifiable, firm-specific risk from systematic risk, and uses regression beta to estimate an…

Factor investingStatisticsPortfolio constructionRisk management
Quantopian lectures

This lecture introduces portfolio Value at Risk (VaR) as a loss threshold associated with a chosen coverage level, then demonstrates historical VaR by calculating a low percentile of weighted portfolio returns over a lookback window. It contrasts this…

Risk managementStatisticsPortfolio construction
Quantopian lectures

The document surveys measures of how widely observations vary around a central value. It defines the range, mean absolute deviation, variance, and standard deviation, noting that standard deviation is expressed in the same units as the observations and that…

StatisticsRisk managementVolatility
Quantopian lectures

The document introduces autoregressive models, which predict a time series from its own lagged values, and explains that meaningful estimation requires covariance stationarity: a stable finite mean, variance, and lagged covariance over time. Financial series…

StatisticsVolatilityRisk managementBacktesting
Quantopian lectures

The document explains how covariance describes the way asset returns vary together and how a covariance matrix collects these relationships alongside each asset’s variance. Portfolio construction uses this matrix to estimate combined risk, assess…

StatisticsRisk managementPortfolio constructionEquities
Quantopian lectures

The document presents a workflow for reviewing a trading portfolio with performance statistics and diagnostic plots. It describes common measures such as Sharpe ratio, market beta, and maximum drawdown, along with return distributions, cumulative and…

EquitiesBacktestingRisk managementPortfolio construction
Quantopian lectures

The document explains how market beta and sector exposure can make a portfolio’s individual forecasts move together, reducing the number of independent bets and, in turn, its risk-adjusted potential. It frames this through the Fundamental Law of Active…

EquitiesRisk managementStatisticsPortfolio construction
Quantopian lectures

This lecture uses factor models to explain portfolio returns and quantify exposure to systematic sources of risk. It describes regressing active returns, measured relative to a benchmark, on factor returns, then using estimated sensitivities and factor…

Factor investingRisk managementPortfolio constructionEquities
Quantopian lectures

This lecture explains how universe selection defines the securities available to a trading algorithm and can shape both strategy behavior and risk. It presents a daily screen for common stocks ranked by average dollar volume as a basic liquidity filter,…

EquitiesUS marketsPortfolio constructionExecution
Quantopian lectures

The document explains how spreading exposure across independent or weakly correlated bets can reduce portfolio volatility, while adding highly correlated assets may leave risk largely unchanged. It illustrates the principle first with simulated bets that…

Risk managementPortfolio constructionPosition sizingStatistics
Quantopian lectures

The document defines correlation as covariance scaled by the standard deviations of two series, yielding a measure between -1 and 1 that is easier to compare across data. It explains covariance and correlation matrices, with examples showing positive,…

StatisticsPortfolio constructionRisk managementEquities