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

The document considers how to assemble historical intraday data for penny stocks that gap up by at least 10%, using a definition based on low share price and market capitalization. Its suggested workflow is to identify qualifying gap-up events with a stock…

EquitiesBacktesting
Quant Q&A

The document describes a factor model in which factor returns are estimated by weighted least squares from asset returns and known exposures. It derives the corresponding factor mimicking portfolio weights as a matrix involving the exposure matrix and the…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document presents a derivation of Hamada's formula, which relates a firm's levered equity beta to its unlevered beta, debt-to-equity ratio, and tax rate. It starts from beta as covariance with market returns divided by market variance, then expresses…

EquitiesStatisticsRisk management
Quant Q&A

The document investigates why a QuantLib USD overnight indexed swap curve built from Bloomberg par rates reproduces Bloomberg discount factors at short maturities but diverges slightly at longer tenors. The example constructs OIS rate helpers and a…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note asks why modified duration equals Macaulay duration divided by one plus the yield, seeking an intuition beyond the derivative-based derivation. The response frames Macaulay duration as the present-value-weighted average time at which a bond’s cash…

Fixed incomeRisk managementStatistics
Quant Q&A

The note explains how the option portfolio’s gamma contribution to price change follows from the second-order term in Itô’s lemma. It distinguishes the instantaneous variance term in the pricing equation from realized movement in the underlying price. Using…

OptionsDerivatives pricingVolatility
Quant Q&A

The document gives intuition for the variable changes used to transform the Black–Scholes partial differential equation into the heat equation. The response breaks the spatial transformation into two steps: first express the underlying price in…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains that mean-variance portfolio optimization does not require normally distributed returns; it requires finite second moments. For returns with finite variance, including the stated Fréchet example, mean-variance allocation remains…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to calibrate the market price of risk in the Black–Karasinski short-rate model when zero-coupon bond prices lack a closed-form expression. The proposed Monte Carlo approach simulates short-rate paths, discounts cash flows along them,…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document discusses how to include swaps, FX forwards, and other non-equity derivatives in Monte Carlo Value at Risk simulations. It contrasts sensitivity-based approximations with full revaluation under simulated market scenarios. Sensitivity methods…

OptionsForexFixed incomeRisk management
Quant Q&A

The document presents a fixed-income futures position and asks why its realized price-based loss differs from a loss estimated using the change in the underlying Treasury note’s yield. The trader reports buying a US two-year note futures contract, later…

Fixed incomeFuturesRisk management
Quant Q&A

The document clarifies an ambiguous claim that spot price and variance have correlation near negative one. One response explains that the leverage effect concerns negative association between stock returns and volatility, rather than between the price level…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document describes an attempt to build implied volatility smiles for European options from American option chain data. The author calculates implied volatilities with Black–Scholes, selects out-of-the-money options to reduce early-exercise concerns, and…

OptionsVolatilityStatisticsDerivatives pricing
Quant Q&A

The note frames CAPM beta as a regression coefficient linking an asset’s excess returns to market excess returns, with residual returns representing variation not explained by the market factor. It explains that asking whether beta differs significantly from…

EquitiesFactor investingStatistics
Quant Q&A

The note derives a way to divide a total fund among people who retire at different times so that each allocation grows to the same value at that person’s retirement. It assumes a constant return and annual compounding. Each person’s share is set in…

Fixed incomePortfolio constructionStatistics
Quant Q&A

The document raises two questions about a volatility swap under a flat one-year volatility assumption with no skew: whether the fair volatility equals the quoted volatility when the number of fixings matches the stated annualization factor, and why the fair…

VolatilityDerivatives pricingStatistics
Quant Q&A

The note explains why an American put on a non-dividend-paying stock has the same value as its European counterpart when interest rates are non-positive. Its key comparison is between the European put’s lower bound, the discounted strike minus the stock…

OptionsDerivatives pricing
Quant Q&A

The question asks whether limited capital can produce a larger payoff by requiring several stocks to meet a return threshold, rather than holding equal investments in each. The response proposes a different approach: if expected price moves occur at…

EquitiesEvent-drivenExecution
Quant Q&A

The discussion explains why a regression intercept used in rough volatility analysis can be interpreted as volatility of volatility. Researchers measure increments in log volatility across sampling intervals, calculate their absolute moments, and regress the…

VolatilityStatisticsDerivatives pricing
Quant Q&A

The document identifies a source for Swiss zero-coupon bond yield curve data: the Swiss National Bank’s data portal. The original question explains that the data is sought for research and that the asker could not access a Bloomberg terminal. The reply…

Fixed income
Quant Q&A

The document points readers to a practical paper on calibrating the SABR model and to foundational references for interpreting its parameters. It explains that beta is commonly fixed in advance to represent a chosen dynamic, rather than estimated alongside…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks under what conditions subtracting the time integral of a diffusion's infinitesimal generator from a function of the process yields a martingale. It applies Itô's formula to a function of an Itô process and identifies the remaining…

OptionsStatistics
Quant Q&A

The document considers how to convert monthly Jensen's alpha estimates for individual stocks into quarterly or yearly measures. It describes two approaches: aggregate returns to the desired observation period and rerun the regression, or combine the monthly…

EquitiesFactor investingStatistics
Quant Q&A

The document asks why a drift term obtained after applying Itô's formula to a discounted European option price must vanish in a pricing partial integro-differential equation. The setup models the asset with a Lévy process, so the discounted option value has…

OptionsDerivatives pricingStatistics