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

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

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

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