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

21,023 documents

Quant Q&A

The document asks how to model prices that are pulled toward a target value but may overshoot it when momentum persists. It presents a discrete return regression with both a lagged-return term and a target-gap term, then reviews possible continuous-time…

Mean reversionMomentumStatisticsMachine learning
Quant Q&A

The document compares two objective types for calibrating a one-factor Hull–White interest-rate model to caplet or similar market data. A price-based calibration minimizes differences between quoted instrument prices and prices produced by the model. A…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document addresses an apparent conflict between the Black–Scholes relationship linking spot and forward prices and models that assign different volatility processes to forwards with different maturities. With a constant interest rate and a deterministic,…

Derivatives pricingVolatilityFixed incomeStatistics
Quant Q&A

The document clarifies that mean-variance portfolio optimization does not require every asset’s return history to have the same length. It requires a covariance matrix, which may be estimated from data, proxies, or judgment. The practical problem is how to…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document considers whether principal component analysis of US Treasury rates should use cash yields or Treasury futures. It recommends constant-maturity par yields, which keep the maturity of each series stable as bonds and futures delivery baskets…

Fixed incomeFuturesStatisticsUS markets
Quant Q&A

The document outlines a practical architecture for calculating value at risk when a trading system already generates simulated market scenarios, such as interest rate curves. In that setup, the main task is to reprice instruments under each scenario rather…

Fixed incomeRisk managementBacktestingStatistics
Quant Q&A

The document asks how to convert information coefficients observed at a monthly frequency into an annualized information ratio. It presents a proposed scaling formula and raises a discrepancy with a sample calculation that applies an additional factor. The…

EquitiesFactor investingStatistics
Quant Q&A

The document considers pricing a discounted payoff that depends jointly on two equity prices at a future date. Its central point is that pricing requires a joint risk-neutral distribution; a copula is one way to construct one, but it is not the only possible…

EquitiesOptionsDerivatives pricingStatistics
Quant Q&A

The document concerns maximizing a portfolio's Sharpe ratio when expected excess payoffs and the covariance matrix of asset payoffs are given. It writes the objective as expected excess payoff divided by portfolio volatility, then differentiates it with…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document discusses preparing technical indicator time series as inputs to a neural network. It presents two basic transformations: use differences between consecutive observations, or use percentage changes to express relative movement. When combining…

Machine learningTechnical indicatorsStatistics
Quant Q&A

The document derives the exponential correction needed when expectations of products and powers of jointly log-normal variables are rewritten using their individual means. The motivating expression involves a numerator with a variable multiplied by a powered…

StatisticsPortfolio construction
Quant Q&A

The document asks how to obtain a risk-neutral probability measure from a real-world model under a no-arbitrage assumption. It gives a geometric Brownian motion example in which an asset has drift and volatility under the real-world measure, while a…

StatisticsDerivatives pricingFixed income
Quant Q&A

The document presents a binomial pricing exercise for an American call option whose underlying is a futures contract. The stock tree is calibrated to a Black–Scholes geometric Brownian motion setup, while the option expires before the futures contract…

OptionsFuturesDerivatives pricingStatistics
Quant Q&A

The document explains why a historical return histogram may compare simple returns with a normal distribution even though geometric Brownian motion implies normally distributed log returns and lognormally distributed prices. For small price changes, the…

StatisticsEquitiesVolatility
Quant Q&A

The note addresses whether negative risk-free rates invalidate the CAPM or the use of a risk-free rate when calculating market excess returns in the CAPM and Fama–French three-factor model. Its answer is that the CAPM does not require the risk-free rate to…

Factor investingFixed incomeStatistics
Quant Q&A

The note considers cross-sectional estimation of factor returns when asset-loading columns are linearly dependent. Ordinary least squares then has no unique solution because the loading matrix’s cross-product is singular. A market factor combined with…

Factor investingStatisticsPortfolio construction
Quant Q&A

The document outlines a proposed workflow for applying an Ornstein–Uhlenbeck process to a pair of potentially cointegrated stocks. The suggested steps are to estimate a linear relationship by OLS, form a residual or auxiliary series, fit an AR(1) model to…

Pairs tradingMean reversionStatisticsEquities
Quant Q&A

The document examines why adding risky assets can move the mean–variance frontier toward lower volatility without making it approach zero in every case. For equal-variance, uncorrelated assets, it considers an equally weighted portfolio and shows that…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to price derivatives when the underlying follows an arithmetic Brownian motion rather than the geometric Brownian motion used in the Black–Scholes model. It starts with an additive diffusion under the physical measure, then proposes…

Derivatives pricingStatistics
Quant Q&A

The document asks how to estimate a company’s pre-tax cost of debt when its borrowings include bonds with different coupon rates, maturities, and repayment schedules. The proposed method is to calculate the yield on each bond for the relevant fiscal year,…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document discusses converting a quoted three-month Treasury bill rate into a weekly risk-free return and subtracting it from an asset’s weekly log return. It endorses scaling the log of one plus the quoted annual rate by the weekly fraction of a 360-day…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document explains how to price a zero-coupon bond when yields differ across maturities. Its key distinction is between a bond’s maturity-specific zero-coupon spot rate and the sequence of one-year forward rates. Under annual compounding, discounting the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines negative variance-equation intercept estimates in a GJR-GARCH model with a pandemic indicator as an exogenous input. The response writes a simplified model with a regime indicator and an asymmetric term for negative shocks, then argues…

VolatilityStatisticsRisk managementEquities
Quant Q&A

The document explains how to attribute a portfolio’s volatility to a subset of its assets, such as an equity sector, while accounting for the portfolio covariance structure. It defines an asset’s marginal risk contribution as the change in portfolio…

EquitiesPortfolio constructionRisk managementStatistics