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
TqSdk
86 documents
Quantpedia
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
Binance API docs
45 documents
Quantopian lectures
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

45 documents

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

This lecture explains how hypothesis tests use sample data to assess claims about population values, with examples focused on whether a stock’s mean return differs from zero. It distinguishes null and alternative hypotheses, one-sided and two-sided tests,…

StatisticsEquitiesUS markets
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 compares arithmetic, weighted arithmetic, median, mode, geometric, and harmonic measures of central tendency. It explains how the arithmetic mean summarizes values by addition, while the median resists the influence of extreme observations and…

StatisticsEquities
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 distinguishes share volume from dollar volume and explains why bar data may report averaged, volume-weighted, or last-traded prices. It describes common intraday volume patterns in US equities, including higher activity near the open and close,…

EquitiesExecutionMarket microstructureBacktesting
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

The document explains a cross-sectional long-short equity strategy: rank stocks with a model, buy the highest-ranked names, and short the lowest-ranked names using balanced dollar exposure. It presents the ranking signal as the strategy’s main source of…

EquitiesFactor investingPortfolio constructionBacktesting
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

This lecture introduces the Kalman filter as a method for estimating an evolving system state from a model and noisy observations. The filter alternates between predicting the next state and updating that estimate with new measurements. Transition and…

StatisticsEquitiesTechnical indicatorsMachine learning
Quantopian lectures

This lecture explains stationarity, orders of integration, and why these properties matter when analyzing financial time series. A stationary process has stable data-generating characteristics, while changes such as a drifting mean can make a historical…

StatisticsPairs tradingEquitiesBacktesting
Quantopian lectures

The document explains Spearman rank correlation as a measure of whether two variables move in the same or opposite order, including when their relationship is monotonic but not linear. It computes correlation from ranked observations, assigns tied values…

StatisticsEquitiesMomentumBacktesting
Quantopian lectures

The document introduces linear factor models that explain an asset’s returns through exposures to fundamental factor return streams. It describes two ways to make company characteristics comparable: construct long-short portfolios by ranking stocks on…

Factor investingEquitiesMomentumPortfolio construction
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
Quantopian lectures

This lecture explains why running many statistical tests increases the chance of finding apparently significant relationships by chance. It illustrates the issue by testing pairwise Spearman rank correlations among independent random series. When the null…

StatisticsBacktestingMachine learning
Quantopian lectures

This introductory lesson explains how common plots can help researchers inspect financial data and notice possible structure or data problems. Using daily prices for two US equities as examples, it demonstrates histograms for empirical distributions,…

EquitiesStatistics