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

26 documents

QuantStart

The article introduces time series analysis as a statistical way to study sequential data modeled as outcomes of an underlying stochastic process. It highlights trends, seasonal patterns, and serial dependence, including volatility clustering, as features…

StatisticsVolatilityTrend followingMachine learning
QuantStart

This article describes a directional S&P 500 strategy that refits a return model on a rolling window, forecasts the next day, and takes a long or short position according to the forecast sign. For each window, it selects an ARMA specification by Akaike…

EquitiesUS marketsStatisticsVolatility
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 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

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

This tutorial uses minute-level foreign exchange prices to build return series and calculate rolling realized volatility. It defines realized volatility from squared returns over a chosen interval and applies a rolling standard deviation to represent recent…

ForexVolatilityStatisticsMachine learning
QuantStart

This article introduces conditional heteroskedasticity: periods of high return variance can cluster, even when a return series’ ordinary correlogram resembles white noise. ARCH models represent changing variance using past squared shocks, while GARCH models…

VolatilityStatisticsRisk managementEquities
QuantStart

This mathematical introduction explains how stochastic differential equations extend ordinary calculus to processes driven by Brownian motion. It motivates the framework with asset prices: ordinary Brownian motion can take negative values, so a later…

StatisticsVolatility
QuantStart

The article explains how ARMA(p,q) combines autoregressive effects from past observations with moving-average effects from past shocks. It introduces BIC as a more severe penalty for model complexity than AIC, and the Ljung–Box test as a check of residual…

StatisticsEquitiesVolatilityUS markets
QuantStart

The document outlines a developing Python options library that combines analytical pricing with Monte Carlo simulation. Closed-form methods use the normal probability density and cumulative distribution functions to price vanilla calls and puts, calculate…

OptionsDerivatives pricingVolatility
QuantStart

The article explains how discrete Asian options use sampled prices along an asset path to determine their payoff. It distinguishes arithmetic averaging from geometric averaging and models price paths with geometric Brownian motion. Monte Carlo pricing…

OptionsDerivatives pricingVolatilityStatistics
QuantStart

The document explains implied volatility as the volatility input that makes a model option price match an observed market price. It motivates volatility quotes as a way to compare options whose premiums are affected by different underlying prices, especially…

OptionsVolatilityDerivatives pricingStatistics
QuantStart

This article describes an object-oriented framework for generating synthetic asset-price paths using Geometric Brownian Motion (GBM) and a jump-diffusion process. A shared model interface accepts a starting price, time step, and externally supplied random…

StatisticsVolatilityEquities
QuantStart

This tutorial explains how to estimate the value of a down-and-out call using Monte Carlo simulation on a GPU. A simulated price path is invalidated if it crosses the lower barrier before expiry; absent a rebate, the payoff depends on the terminal price…

OptionsDerivatives pricingVolatilityStatistics
QuantStart

This article introduces Lévy processes as alternatives to geometric Brownian motion for modelling asset prices in derivative-pricing frameworks. Under the standard Black–Scholes assumption, log returns are normally distributed; the article argues that…

Derivatives pricingOptionsEquitiesVolatility
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 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

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
QuantStart

This article introduces strict stationarity and the Akaike information criterion (AIC) before explaining autoregressive models of order p. An AR model predicts a series from its own prior values and a white-noise term, extending the random-walk idea. For an…

EquitiesStatisticsVolatilityUS markets
QuantStart

The document introduces the MA(q) time-series model, in which each observation depends on a finite number of current and past white-noise shocks. It explains that the autocorrelation function should cut off beyond lag q, then illustrates model identification…

StatisticsEquitiesUS marketsVolatility
QuantStart

The document builds standard Brownian motion from a scaled sequence of random coin tosses. Scaling each step by the square root of its time interval keeps the walk’s quadratic variation finite as the number of steps grows. In the continuous-time limit, the…

StatisticsVolatilityDerivatives pricingOptions
QuantStart

The article demonstrates fitting Gaussian hidden Markov models (HMMs) to simulated returns and S&P 500 daily returns. In the simulation, bullish and bearish periods are generated with different means and variances; a two-state model is then fitted with…

EquitiesUS marketsMachine learningStatistics
QuantStart

The document explains how to solve for an option’s implied volatility using Newton-Raphson iteration. The target is the volatility at which a Black-Scholes call price matches an observed market price. Each iteration updates the volatility estimate using the…

OptionsDerivatives pricingVolatilityStatistics