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

511 documents

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

This introductory guide explains how financial markets connect buyers and sellers, how participants access exchanges through brokers or direct market access, and what instruments trade there. It introduces stocks and the distinction between primary and…

Multi-assetEquitiesDerivatives pricingMarket microstructure
QuantInsti blog

This guide describes a trend-following method that calculates short- and long-window moving averages on the Nifty index, then uses their crossovers to signal long call option trades. It outlines a Python workflow: obtain index and option data, combine the…

OptionsFuturesTrend followingTechnical indicators
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

Tomás García-Purriños describes a medium- to long-term approach to multi-asset investing that combines technical indicators with fundamental measures, especially macroeconomic data, and indicators of investor sentiment and market flows. He argues that no…

Multi-assetTechnical indicatorsSentimentRisk management
QuantInsti blog

This tutorial introduces quantmod as an R environment for exploring market data and prototyping quantitative analyses. Using Apple stock as its example, it demonstrates fetching historical OHLCV data, viewing observations, charting prices and volume,…

EquitiesTechnical indicatorsStatisticsBacktesting
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 project outlines a statistical arbitrage approach to trading cryptocurrency perpetual contracts on Binance. It screens contract price series for stationarity and cointegration, then forms a spread between a selected pair and uses deviations from the…

CryptoPerpetual futuresPairs tradingMean reversion
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

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

This article shows how to simulate ARMA processes in R, inspect autocovariance and autocorrelation behavior, and use those models in a simple equity strategy. It describes using an ARIMA function from an R forecasting library for simulation and plotting…

EquitiesStatisticsMean reversionBacktesting
QuantInsti blog

The document explains a long call butterfly, a defined-risk options position intended for conditions where little movement is expected in the underlying. It combines a long lower-strike call, two short calls at the middle strike, and a long higher-strike…

OptionsDerivatives pricingRisk 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 beginner overview explains why foreign exchange exists, how currency systems evolved from barter and gold-backed notes to floating currencies, and how the FX market supports conversion and trading. It describes currency pairs as relative prices,…

ForexRisk managementPosition sizing
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

The article lays out a sequence for moving a trading idea toward live use: form a hypothesis, code it, backtest it, test it forward, paper trade, and then consider live trading. It recommends obtaining reliable market data, since missing values and…

BacktestingRisk managementExecutionEquities
QuantInsti blog

This overview introduces Python’s role in quantitative trading, from working with market data and technical indicators to building strategy prototypes, backtests, and supporting risk or execution systems. It describes the language’s open-source scientific…

BacktestingTechnical indicatorsStatisticsExecution
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 project describes a simple web tool for exploring how rule-based trend-following strategies might perform before implementation. Users select a ticker, view closing prices and indicators such as simple moving averages and Bollinger Bands, then define…

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

This tutorial introduces Bokeh as a Python tool for interactive browser-based plots and dashboards. It distinguishes server-connected plots, whose data can update the interface, from standalone plots, which still support interactions such as linked…

EquitiesTechnical indicatorsStatistics