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

20,364 documents

Quant Q&A

This discussion explains why applying principal component analysis to standardized asset returns can produce different factor returns and regression results from applying it to raw returns. Standardizing gives each asset equal variance before PCA, so the…

Factor investingStatisticsEquitiesUS markets
Quant Q&A

The document asks how to distinguish a market-price-based delta from a model-price-based delta for options on Treasury futures. It describes delta as the option price's sensitivity to the underlying futures price and proposes estimating that sensitivity by…

OptionsFuturesFixed incomeRisk management
Quant Q&A

The document examines a derivation of the change of Brownian motion between the risk-neutral measure and a bond's forward measure in a Heath-Jarrow-Morton interest-rate framework. The original argument derives a discounted bond price under the forward…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion asks why equity index implied volatility surfaces often show a pronounced downside skew rather than a smile, and why smiles may have appeared historically. One explanation is that index volatility combines the volatilities of its constituents…

OptionsEquitiesVolatility
Quant Q&A

The document considers a process formed by summing the squares of several Brownian motions and derives its stochastic differential using Itô's formula. It then presents a simulation that accumulates the Brownian increments and the corresponding drift, asking…

StatisticsBacktesting
Quant Q&A

The document explains how to approximate the curvature of call prices around an at-the-money strike when option strikes are unevenly spaced. Since the risk-neutral density is related to the second derivative of call price with respect to strike, the method…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks why fitted copula models are used to generate new observations after marginal distributions have been transformed to uniform variables and dependence has been modeled. It distinguishes fitting a dependence structure to existing data from…

StatisticsMachine learning
Quant Q&A

The document investigates why QuantLib’s finite-difference Black–Scholes engine produces American put prices that diverge from a reference spreadsheet when discrete cash dividends are scheduled near expiration. The question reports that call prices are close…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains how cross-sectional regressions can help isolate an equity factor’s contribution when factors share exposures. To create a residualized factor, regress one factor component on other factors and use the residual scores. This removes the…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document asks whether Kendall rank correlation can be used directly in place of Pearson correlation when constructing a covariance matrix by scaling correlations with return standard deviations. The response offers a conversion from Kendall’s tau to…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks whether a Hurst exponent near 0.5 in one-second EUR/USD prices supports modeling developed markets as geometric Brownian motion, with constant volatility over short intervals. The author reports estimates around 0.5 from a week of February…

ForexStatisticsVolatilityMarket microstructure
Quant Q&A

The document presents a slow nested-loop implementation for pricing European calls, Asian options, digital calls, and up-and-in barrier calls under the Merton jump-diffusion model. It motivates the problem as a comparison with the exponential variance-gamma…

OptionsDerivatives pricingMachine learningBacktesting
Quant Q&A

The discussion considers how to estimate the expected termination time of an American put, counting maturity as the termination date when the holder never exercises early. One proposed approximation uses the time-zero price difference between otherwise…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion explains why an AA corporate bond yield can be used to discount corporate pension liabilities and how it relates to interest rates. A discount rate is an interest rate, but the appropriate rate depends on the liability and the purpose of…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document considers how to recover a limit order book after a process or machine failure. The proposed approach in the question is to save the full book state periodically, while the reply focuses on persisting the event stream so the system can rebuild…

Market microstructureExecutionHigh-frequency tradingRisk management
Quant Q&A

The document explains how to relate daily estimates of drift and volatility to the annual parameters commonly used in geometric Brownian motion. It also corrects a notation error: a Brownian motion increment is random, so it cannot be equated to a…

StatisticsVolatilityEquities
Quant Q&A

The question concerns a cumulative series of positive integer values across independent entities. Its cross-sectional distributions appear lognormal, suggesting geometric Brownian motion, but the usual GBM specification has normally distributed random shocks…

StatisticsMachine learningMarket microstructure
Quant Q&A

The document recommends using a covariance matrix to identify whether a portfolio of trades is concentrated in the same factors or bets. The matrix can be estimated from a factor model or from the prediction signals produced by multiple strategies, giving an…

Risk managementPortfolio constructionStatistics
Quant Q&A

The document clarifies how to apply Itô’s lemma to arithmetic Brownian motion written as a deterministic time term plus a scaled Brownian process. The key point is to define a function of two arguments, time and the current process value, then take the…

StatisticsDerivatives pricing
Quant Q&A

The document points readers seeking research on currency baskets to two approaches. One cited paper applies principal component analysis to a basket of nine foreign-exchange pairs over a rolling two-month window. It then uses the first principal component as…

ForexStatisticsMachine learningTechnical indicators
Quant Q&A

The document addresses why a futures price is modeled as a martingale under the risk-neutral measure even though its expected path under the real-world probability measure may rise. Daily settlement and the absence of a futures contract’s funding cost…

FuturesDerivatives pricingStatistics
Quant Q&A

The document examines delta hedging a quanto call when the underlying is priced in a foreign currency and the portfolio is accounted for in a domestic currency. A hedge based only on the foreign share count misses the currency conversion: the domestic value…

OptionsForexDerivatives pricingRisk management
Quant Q&A

The document explains how to design a normalized market data feed for algorithms consuming data from multiple providers. It recommends working backward from downstream strategy and operational needs: identify which fields applications actually use, then…

Market microstructureExecution
Quant Q&A

The document surveys ways to estimate the direction and size of upcoming order flow from intraday market data. It distinguishes behavioral models, which simulate trader actions, from statistical approaches that use tick-level order book variables and other…

Market microstructureStatisticsHigh-frequency trading