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

246 documents

QuantStart

This article explains how to use an annualised rolling Sharpe ratio to monitor whether a trading strategy’s risk-adjusted performance is weakening. It calculates the ratio from excess returns over a trailing year of observations, scaling the…

StatisticsRisk managementBacktestingEquities
QuantStart

This article describes how QSTrader represents brokerage charges in a backtesting system through a FeeModel class hierarchy. An abstract base interface separates commission, tax, and total-cost calculations, allowing implementations to account for asset…

BacktestingExecutionRisk management
QuantStart

This article defines Value at Risk as a loss threshold for a portfolio over a specified time horizon and confidence level. It explains that VaR can be applied to an individual strategy or a larger portfolio, with the horizon chosen to reflect the time needed…

Risk managementStatisticsEquities
QuantStart

This guide explains support vector machines as supervised binary classifiers. It builds from a separating hyperplane to the maximal margin classifier, which chooses a boundary with the greatest distance from nearby training points. Because real data often…

Machine learningStatistics
QuantStart

This article relaxes the constant volatility assumption in Black–Scholes by allowing the asset's volatility to vary over time. It models log volatility with a mean reverting Ornstein–Uhlenbeck style equation driven by a stochastic process. To represent…

OptionsVolatilityDerivatives pricingStatistics
QuantStart

This reading guide presents a staged path for learning C++ as a quantitative finance practitioner. It explains that quant work involves implementing mathematical models, so programming ability and software engineering practices matter alongside financial…

Derivatives pricingStatistics
QuantStart

This tutorial describes a Mac setup for Python-based market research, recommending the Anaconda distribution for its data science libraries, Conda package manager, and support for isolated environments. It explains how to install the distribution, check that…

EquitiesBacktesting
QuantStart

This tutorial explains how to configure SLURM on a Raspberry Pi cluster so researchers can submit parallel workloads from a login node. It outlines the roles of the control node and computational nodes, shared configuration through NFS, resource allocation…

BacktestingDerivatives pricingHigh-frequency tradingExecution
QuantStart

This article presents a simplified interface for configuring a forex backtest and extending it to multiple currency pairs. A Backtest object is assembled from price data, strategy, portfolio, and simulated execution components, with strategy settings passed…

ForexBacktestingTechnical indicatorsExecution
QuantStart

This career guide explains how candidates can approach roles at quantitative hedge funds. It argues that top tier firms often seek exceptional, specialized research or computing skills, while smaller firms may be more open to candidates who enter through…

Risk managementPortfolio constructionMachine learningStatistics
QuantStart

The article explains the Sharpe ratio as a way to compare a strategy’s average excess return with the variability of those returns. It describes annualizing the measure according to the return sampling interval, using a suitable benchmark, and treating…

StatisticsRisk managementBacktesting
QuantStart

This article outlines how an early-stage quantitative hedge fund or CTA can prepare to seek institutional capital. It describes possible fundraising channels, including principals’ networks and third-party marketers, and argues that investors assess…

Risk management
QuantStart

This introduction to electronic market microstructure explains how market orders and limit orders interact. Limit orders specify a price and quantity, rest in the limit order book, may fill partially, and can be cancelled. Market orders seek immediate…

Market microstructureExecutionHigh-frequency tradingEquities
QuantStart

This article compares retail algorithmic traders with institutional quantitative funds across capacity, crowding, market impact, leverage, liquidity, information access, risk oversight, investor relations, and technology. It argues that smaller accounts can…

Risk managementExecutionMarket microstructureBacktesting
QuantStart

This article describes using a Gaussian Hidden Markov Model (HMM) as a risk filter for a simple S&P 500 trend-following strategy. The model is trained on historical SPY adjusted returns to identify latent volatility regimes. A QSTrader risk manager then…

EquitiesMachine learningRisk managementTrend following
QuantStart

This brief update explains why a planned trading-strategy book shifted toward using a more realistic backtesting framework. The author found that transaction costs could materially change the apparent profitability of strategies assessed with simpler…

BacktestingExecutionRisk management
QuantStart

The article outlines a proposed end-to-end system for researching, backtesting, and operating automated trades, initially focused on US equities and ETFs through a brokerage interface. Its architecture separates data ingestion and validation, price and…

EquitiesRisk managementPortfolio constructionExecution
QuantStart

The article describes a daily directional forecasting strategy for the S&P 500, with trades placed in SPY. A quadratic discriminant analysis model uses the prior two daily index returns to predict whether the market will rise or fall. The strategy takes a…

EquitiesUS marketsMachine learningBacktesting
QuantStart

The article lays out a progression for learning financial econometrics, starting with probability and statistics before moving through introductory econometrics, financial data analysis, specialist time-series texts, and current research. It highlights…

StatisticsMean reversionVolatilityBacktesting
QuantStart

The document describes the source-side implementation of a templated C++ matrix class intended for numerical linear algebra in quantitative finance. It covers construction, copying, assignment, element access, matrix and scalar arithmetic, transpose, vector…

StatisticsPortfolio construction
QuantStart

The article describes updates to an event-driven forex backtesting system: generating format-compatible simulated tick files, processing daily files sequentially, supporting multiple currency pairs, and plotting equity, returns, and drawdowns. Loading one…

ForexBacktestingExecutionRisk management
QuantStart

The document introduces geometric Brownian motion as a model for an asset price whose proportional changes have a constant drift and volatility. It outlines the derivation of the process solution using Itô's lemma: transform the price to its logarithm,…

StatisticsVolatility
QuantStart

The document explains why futures backtests need a method for joining prices from contracts with different expiration dates. Contango and backwardation can create price gaps at the splice, so the article compares three approaches: additive Panama…

FuturesCommoditiesBacktestingExecution