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

5,922 documents

QuantInsti blog

This guide explains the long-short equity approach: buying stocks expected to outperform and shorting those expected to underperform. It distinguishes general long-short portfolios from market-neutral funds, which seek to offset broad market exposure, and…

EquitiesPortfolio constructionRisk managementBacktesting
QuantInsti blog

The article introduces several ways to allocate weights in a multi-asset portfolio: equal weighting, risk parity, minimum variance, and Markowitz mean-variance optimization. It describes the intuition behind each method, including equal risk contributions in…

Portfolio constructionStatisticsRisk managementEquities
QuantInsti blog

The document surveys measures for evaluating portfolio returns alongside the risks taken to earn them. It describes risk-adjusted measures such as Sharpe, Sortino, and Calmar ratios; benchmark-relative measures such as up and down capture; and risk measures…

Portfolio constructionRisk managementStatisticsBacktesting
QuantInsti blog

The document introduces Value at Risk (VaR) as a loss threshold tied to a specified confidence level and time horizon. It presents a parametric portfolio calculation that multiplies portfolio return volatility by the relevant standard-normal quantile and…

Risk managementPortfolio constructionStatisticsBacktesting
QuantInsti blog

This overview presents five motivations for learning algorithmic trading: pursuing work in financial technology, using data in trading decisions, establishing a trading business, reducing manual execution burdens, and managing risk. It describes practical…

Risk managementBacktestingPortfolio constructionExecution
QuantInsti blog

This introduction explains portfolio management as selecting and combining assets to pursue a return objective while controlling risk. It contrasts passive, active, and aggressive management, and describes bottom-up security selection alongside top-down…

Portfolio constructionRisk managementStatisticsMulti-asset
QuantInsti blog

This project outlines a mean-reversion strategy for liquid, shortable stocks organized across five sectors. It first screens candidate pairs for correlation, then tests their spread for stationarity with the Augmented Dickey-Fuller test. When a qualifying…

EquitiesPairs tradingMean reversionArbitrage
QuantInsti blog

The article distinguishes unsystematic risk, which arises from company-specific problems, from systematic risk driven by broad market conditions. It lists causes such as weak management, business model flaws, labor disruptions, operational errors, and debt…

Risk managementPortfolio constructionEquitiesStatistics
QuantInsti blog

The article describes a repeatable way to develop systematic trading ideas by separating entry research from exit design. The author recommends keeping a standard exit package, such as stops and profit targets, while testing new entry signals. This makes…

BacktestingTechnical indicatorsStatisticsPortfolio construction
QuantInsti blog

The article explains recursion as a function calling itself until it reaches a stopping condition, and distinguishes direct, indirect, tail, and nested recursion. It contrasts recursive approaches with loops, noting that recursion can make naturally…

StatisticsTechnical indicatorsBacktestingRisk management
QuantInsti blog

The article introduces the Capital Asset Pricing Model as a way to estimate an asset’s expected return from the risk-free rate, the asset’s beta, and the market risk premium. It distinguishes systematic risk, which affects the broader market, from…

StatisticsRisk managementPortfolio constructionEquities
QuantInsti blog

The document explains beta as a historical estimate of how an asset’s returns move relative to a market benchmark. A regression of asset returns on benchmark returns estimates beta as the slope, while the intercept represents historical excess return in the…

EquitiesStatisticsRisk managementPortfolio construction
QuantInsti blog

The article combines company fundamentals with quantitative ranking to select equities. It describes comparing a group of large technology stocks using valuation and leverage ratios, inverting the ratios to represent value, standardizing them with Z-scores,…

EquitiesFactor investingStatisticsBacktesting
QuantInsti blog

The article outlines the mathematical, statistical, and programming foundations associated with quantitative finance, then describes common quant work: trading strategy development, portfolio optimization, risk management, and asset pricing. It recommends…

Machine learningTechnical indicatorsRisk managementPortfolio construction
QuantInsti blog

Survivorship bias arises when analysis includes only assets or funds that remain observable, omitting those that failed, delisted, or closed. The document explains the issue with the military aircraft example: examining only planes that returned can…

BacktestingEquitiesPortfolio constructionStatistics
QuantInsti blog

This project backtests equal-weight stock portfolios selected using alpha, prior-year returns, volatility, beta, and return divided by volatility. It varies portfolio size, stock universe, and annual, semiannual, or quarterly rebalancing, while describing…

EquitiesFactor investingPortfolio constructionBacktesting
QuantInsti blog

This project outlines a market-neutral long-short portfolio framework that selects assets with cross-sectional momentum and compares equal weighting, inverse-volatility weighting, Hierarchical Risk Parity (HRP), and Hierarchical Equal Risk Contribution…

Multi-assetMomentumPortfolio constructionMachine learning
QuantInsti blog

The document introduces portfolio management when the portfolio’s components are trading strategies as well as assets. It contrasts equal weighting as a starting point with Markowitz efficient-frontier allocation, which balances return against a risk…

Portfolio constructionRisk managementBacktestingPosition sizing
QuantInsti blog

The project proposes a daily allocation strategy across stocks in India’s Nifty Bank index. It uses three dynamic linear neural network models: one estimates the probability of a positive next-day return, while two estimate return size conditional on…

EquitiesMachine learningPortfolio constructionBacktesting
QuantInsti blog

The document explains how to measure realized portfolio performance and examine where returns came from. It distinguishes a single-period return calculation, which adjusts for external cash flows at the period boundaries, from two methods for handling cash…

Portfolio constructionStatisticsRisk management
QuantInsti blog

The article explains standard deviation as the square root of variance and a measure of how dispersed observations are around their mean. It distinguishes population and sample calculations, describing Bessel’s correction for samples, and notes that standard…

StatisticsVolatilityRisk managementPortfolio construction
QuantInsti blog

This tutorial explains vector autoregression for modeling multiple time series together. It discusses stationarity checks using augmented Dickey-Fuller tests, differencing nonstationary series, and selecting a common lag order with information criteria.…

EquitiesStatisticsBacktestingPortfolio construction
QuantInsti blog

The article presents Stereoscopic Portfolio Optimization (SPO), a framework that combines traditional mean-variance allocation with bottom-up analysis of asset-level market microstructure. It describes volatility as one possible input, while noting that…

Machine learningPortfolio constructionMarket microstructureStatistics
QuantInsti blog

The document explains the 52-week high effect: investors may use a stock’s annual high as a reference point and respond slowly to information as prices approach it, allowing subsequent price continuation. It also describes research comparing an…

EquitiesMomentumBacktestingPortfolio construction