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

246 documents

QuantStart

This article explains why a strategy backtest needs to account for commissions and fees, slippage and latency, spreads, liquidity, and market impact. It compares fixed cost assumptions with linear, piecewise linear, and quadratic models: simpler models are…

BacktestingExecutionMarket microstructureRisk management
QuantStart

The article explains ARIMA models as an extension of ARMA for series with stochastic trends. An integrated series becomes stationary after differencing it a specified number of times; the differenced series is then modeled with autoregressive and moving…

StatisticsEquitiesUS marketsBacktesting
QuantStart

This article introduces white noise and random walks as elementary time series models, building on serial correlation and stationarity. It defines the backward shift and difference operators, describes residuals as observed values minus model predictions,…

StatisticsEquitiesUS marketsMean reversion
QuantStart

This document is a categorized reading list for people entering quantitative finance. It groups books on financial markets, quant interviews, systematic and high frequency trading, econometrics, mathematical finance, interest rate derivatives, and…

StatisticsMachine learningDerivatives pricingHigh-frequency trading
QuantStart

The document explains Cholesky decomposition as a way to transform uncorrelated random samples into correlated variables, a step used in quantitative finance simulations such as Monte Carlo methods. For a real symmetric positive-definite matrix, the…

StatisticsBacktestingPortfolio construction
QuantStart

The document presents closed-form pricing for floating-strike European lookback calls and puts under Black–Scholes assumptions. A call’s payoff depends on the asset’s terminal value relative to its minimum over the option’s life; a put uses the maximum. The…

OptionsDerivatives pricingVolatility
QuantStart

The document describes a QSTrader backtest framework for comparing monthly rebalanced ETF portfolios. Each month, the strategy liquidates holdings and reallocates account equity to target weights. The examples include a 60/40 US stock and bond mix, a…

BacktestingPortfolio constructionMulti-assetEquities
QuantStart

The document extends a one-step binomial option tree with a third possible asset outcome: the price can rise, fall, or stay unchanged. Using a call with strike 100 and stock outcomes of 110, 100, and 90, it shows that one stock position cannot make the…

OptionsDerivatives pricingStatistics
QuantStart

This release note describes updates to the QSTrader backtesting framework. The release adds compatibility support for a newer NumPy version and recommends installing the package in an isolated environment. It also identifies the preceding release as the last…

BacktestingExecutionEquities
QuantStart

This tutorial describes Stooq’s downloadable historical price data and ways to prepare it for analysis. It explains ticker suffix conventions, regional and frequency-based downloads, and the nested directory structure. A single security’s OHLCV file can be…

EquitiesForexCryptoUS markets
QuantStart

This document explains how to create synthetic equity price scenarios with a sector-based correlation structure. Assets are assigned to sectors; pairwise correlations are sampled from different ranges for same-sector, ordinary cross-sector, and selected…

EquitiesStatisticsBacktestingPortfolio construction
QuantStart

This article formulates the liquidation of a large stock position as a stochastic optimal control problem. The trader chooses a nonnegative trading speed that reduces inventory over time. Faster trading incurs greater price impact, modeled as a cost that…

ExecutionMarket microstructureRisk managementEquities
QuantStart

The article introduces the Vasicek model as a one-factor stochastic model for short-term interest rates. Its drift pulls rates toward a long-run mean at a speed set by the reversion parameter, while Brownian shocks create random fluctuations. It gives the…

Fixed incomeMean reversionDerivatives pricingStatistics
QuantStart

This article describes the strategy layer in an event-driven backtester. A Strategy interface receives market updates and turns them into signal events for downstream portfolio handling. The design separates signal generation from data access and execution,…

BacktestingEvent-drivenEquities
QuantStart

This tutorial explains how a Python program can connect to Interactive Brokers through Trader Workstation (TWS) and the IBPy wrapper. It outlines the client/server API setup, describes callbacks for server errors and replies, and shows how to define a stock…

ExecutionEquitiesUS markets
QuantStart

The article explains how to assess a strategy after an event-driven backtest by calculating portfolio-level statistics from its equity curve. It describes the annualized Sharpe ratio as mean periodic return divided by return variability, scaled by the square…

BacktestingRisk managementStatistics
QuantStart

This reading guide introduces two numerical approaches used to price derivatives when analytical solutions are unavailable or impractical. Finite difference methods approximate partial differential equations by discretizing derivatives into algebraic steps.…

Derivatives pricingOptionsStatistics
QuantStart

This overview introduces linear regression as a model for a continuous response, expressed as a linear combination of input features plus random error. It explains the role of the intercept and describes the compact matrix representation of the model. The…

StatisticsMachine learning
QuantStart

The article introduces ways to represent mathematical functions in C++, using quantitative finance examples such as option payoffs, differential equation coefficients, and matrices. It compares function pointers with function objects, which let class…

Derivatives pricing
QuantStart

The article explains how adding instantaneous random jumps to geometric Brownian motion changes the assumptions behind Black–Scholes option pricing. Jump arrivals are modeled with a Poisson process, while jump sizes are treated as random and lognormally…

OptionsDerivatives pricingVolatility
QuantStart

The article describes a model-driven method for creating synthetic daily stock price and volume histories. It uses the analytical solution of geometric Brownian motion to generate price paths, with drift and volatility as constant parameters, and a Pareto…

EquitiesStatisticsBacktesting
QuantStart

The document introduces finite difference methods as a way to approximate derivatives and prepare a heat equation for numerical solution. Taylor expansions around a point yield forward and backward first derivative estimates with first order accuracy, a…

StatisticsDerivatives pricingBacktesting
QuantStart

This article explains how to generate correlated standard-normal draws for simulating multiple asset paths. Its motivating application is the Heston stochastic-volatility model, where the asset and variance processes are driven by Brownian motions with a…

Derivatives pricingOptionsStatisticsVolatility