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

5,018 documents

QuantInsti blog

This article uses a series of trading examples to show how implementation choices can make backtests look stronger or weaker than a live strategy. It highlights omitted transaction costs and slippage, incorrect treatment of reinvestment and whole-unit…

BacktestingRisk managementMachine learningExecution
QuantInsti blog

The document introduces XGBoost as a gradient boosting method that combines decision trees sequentially, with each new tree aimed at correcting earlier prediction errors. Its objective balances predictive loss against a regularization term that discourages…

Machine learningEquitiesTechnical indicatorsBacktesting
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

The document introduces K-nearest neighbors (KNN), a supervised learning method that classifies or estimates a new observation using nearby examples selected by a distance metric. For classification, neighboring labels determine the predicted class by…

Machine learningEquitiesBacktestingStatistics
QuantInsti blog

Market impact is an implicit trading cost measured by the difference between the pre-trade reference price and the execution price. The document separates temporary impact, which reflects the concession needed to find counterparties, from permanent impact,…

ExecutionMarket microstructureMachine learningRisk management
QuantInsti blog

This personal account describes an algorithmic trader’s move from strategies written in Rust without machine learning to Python-based work that combines machine learning with trading-system development. The central lesson is that predictive-model metrics…

Machine learningBacktestingStatistics
QuantInsti blog

The article explains K-means clustering as an unsupervised method for grouping stocks with similar feature values, then applies it to candidate selection for statistical arbitrage. It contrasts clustering with manually choosing pairs by sector or industry,…

EquitiesPairs tradingMachine learningStatistics
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 article describes directional change (DC), a threshold-based way to represent price movement through confirmed turning points rather than fixed-time observations. It defines upward and downward runs, their overshoots, and three derived measures: total…

ForexTechnical indicatorsMachine learningVolatility
QuantInsti blog

The article introduces hidden Markov models as a way to infer unobserved states from observed data. It explains the Markov property, transition probabilities, and time-homogeneous chains, then relates hidden-state estimation to the Kalman filter’s prediction…

StatisticsMachine learningVolatility
QuantInsti blog

This article describes market sentiment as the collective outlook of participants and explains how text sentiment analysis attempts to classify opinions as positive, negative, or neutral. It outlines a workflow of collecting news, social media, or financial…

SentimentMachine learningStatisticsRisk management
QuantInsti blog

This tutorial uses simulated data generated from a second-order relationship with normally distributed noise to explain model underfitting, overfitting, and the bias–variance tradeoff. It divides the observations into training and test sets, fits polynomial…

Machine learningStatisticsBacktesting
QuantInsti blog

Steven Downey describes using quantitative research to test investment beliefs rather than accepting them without evidence. His examples include examining whether gold behaves as an inflation hedge, whether oil and an energy company’s shares are related, and…

StatisticsBacktestingMachine learningMulti-asset
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 the chain rule for differentiating a function built from nested functions. If one quantity depends on an intermediate quantity, which itself depends on an input, the overall rate of change is found by multiplying the relevant…

Machine learningStatistics
QuantInsti blog

Forward propagation carries input data through a neural network to produce an output. At each layer, neurons combine inputs with weights and biases, apply an activation function, and pass the resulting values onward. The article introduces this process using…

Machine learningStatisticsBacktestingRisk management
QuantInsti blog

This study examines whether LSTM recurrent neural networks can classify the direction of near-term SPY returns from historical daily returns. Its base model uses sequential return inputs, stacked LSTM layers, dropout and batch normalization, and predicts…

EquitiesMachine learningStatisticsBacktesting
QuantInsti blog

The article explains two ways to combine decision trees to address weaknesses such as noise, underfitting, and overfitting. Bagging trains trees independently on bootstrap samples drawn with replacement, then averages regression outputs or uses the majority…

Machine learningStatisticsBacktesting
QuantInsti blog

This tutorial explains how to prepare market data for classification and regression decision trees. It uses daily E-mini S&P 500 futures data and constructs predictors from exponential moving averages, average true range, average directional index, relative…

FuturesMachine learningTechnical indicatorsBacktesting
QuantInsti blog

This overview describes the spread of algorithmic trading across firms and markets, emphasizing speed, automation, and reduced reliance on manual decisions. It surveys drivers and enabling technologies, including machine learning, artificial intelligence,…

Machine learningHigh-frequency tradingExecutionMarket microstructure
QuantInsti blog

This article surveys the development of trading from direct barter and currency to intermediaries, exchanges, telephone dealing, electronic order routing, online platforms, and algorithmic systems. It highlights how each stage changed the way participants…

Machine learningHigh-frequency tradingMarket microstructureRisk management
QuantInsti blog

This article describes a directional trading experiment using a decision tree classifier and custom price-derived features rather than standard technical indicators. The features include changes in the close relative to the prior day’s range, a second-order…

Machine learningTechnical indicatorsStatisticsBacktesting
QuantInsti blog

The document introduces covered calls as a way to earn option premium while holding shares, explaining that the seller keeps the premium if the stock stays below the strike but may have to sell shares at the strike if the price rises. It then outlines a…

OptionsFuturesMachine learningDerivatives pricing
QuantInsti blog

This article lays out a machine learning trading workflow using technical indicators to predict a future five-day close-to-close return. It describes aligning the shifted target with current predictors, then applying walk-forward optimization to assess…

Machine learningStatisticsTechnical indicatorsBacktesting