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

12,303 documents

Quant Q&A

The document asks whether a GARCH model should be fitted to absolute log returns when the goal is to model volatility. It starts from a stock-market price index with a unit root and defines returns as differences in successive log prices. The answer…

EquitiesVolatilityStatistics
Quant Q&A

The document explains why swaps do not share a single pricing formula: their fair terms depend on the underlying, cash flows, market conventions, and valuation framework. It distinguishes setting a contract’s fixed rate or strike at inception so its value is…

Derivatives pricingVolatilityFixed incomeOptions
Quant Q&A

The document raises questions about how volatility smiles affect the strikes used to construct currency risk reversals. It asks why, under a flat smile, strikes are approximately symmetric around at-the-money in log space, and why that symmetry can place the…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The discussion examines the claim that equity markets often decline sharply and recover gradually. One answer relates the pattern to negative skewness and excess kurtosis in return distributions: many returns may be small and positive, while a smaller number…

EquitiesStatisticsVolatilityRisk management
Quant Q&A

The document explains why a local volatility model can imply a spot–implied-volatility correlation of either positive or negative one, or zero. In this model, the implied volatility of a European option is a deterministic function of time and spot. Applying…

OptionsVolatilityDerivatives pricing
Quant Q&A

The answer explains why a curve steepener can carry negative convexity when it sells a longer-maturity rate product and buys a shorter-maturity product in matched delta. Longer-maturity bonds and swaps generally have greater convexity, and convexity tends to…

Fixed incomeDerivatives pricingVolatilityRisk management
Quant Q&A

The document raises a question about estimating the constant, ARCH, and GARCH parameters of a GARCH(1,1) model with Markov chain Monte Carlo. It asks why a cited approach samples parameters using an auxiliary proposal distribution instead of a normal…

StatisticsVolatilityMachine learning
Quant Q&A

The document explains two ways to value rebates in barrier options under Black–Scholes assumptions. For a down-and-out call with a rebate paid at maturity, the payoff can be separated into the ordinary surviving call payoff and a rebate paid if the barrier…

OptionsDerivatives pricingVolatility
Quant Q&A

Local volatility models can be calibrated to European vanilla option prices across strikes and maturities, reproducing the current implied-volatility surface. Dupire’s relationship derives a risk-neutral diffusion consistent with a sufficiently smooth…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The answer explains the square-root-of-time rule of thumb for the vega of at-the-money options. Under Black–Scholes, vega is proportional to the underlying price, the normal density evaluated at d1, and the square root of time to expiry. Near the money, for…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document poses a derivatives-pricing question: how to derive the stochastic differential equation for a futures price when the underlying stock follows geometric Brownian motion but its interest rate and volatility vary randomly over time. It notes the…

FuturesDerivatives pricingVolatility
Quant Q&A

The discussion asks why a stock's expected return does not directly appear in the Black-Scholes option-pricing formula. Several replies explain the result through replication and hedging: a dynamically adjusted stock position can offset exposure to the…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document concerns sourcing US credit default swap data for a study of the Corona pandemic period. A response suggests that Bloomberg's CMAN historical CDS spreads may be adequate when IHS Markit historical consensus data are unavailable, while noting a…

Fixed incomeOptionsVolatilityStatistics
Quant Q&A

The document poses an asymptotic option-pricing question. With the underlying price, interest rate, and time to expiry normalized, it defines a put price as the larger of a linear function of strike above a threshold and the put’s intrinsic value. Below or…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a trader might neutralize an option portfolio’s delta: to reduce sensitivity to directional moves in the underlying while retaining exposure to volatility. It gives options market making as an example, where the objective is to…

OptionsVolatilityRisk managementMarket making
Quant Q&A

The discussion explains how an FX option table organized by strike relates to a volatility chart organized by delta. Delta links a strike to the option’s moneyness: at a given strike and maturity, the call and put have opposite-side deltas and one is in the…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains why volatility measured on log returns cannot generally be converted into a unique standard deviation of price changes using an exponential transformation. Log-return volatility is scale invariant: multiplying every observed price by…

VolatilityStatisticsDerivatives pricing
Quant Q&A

The discussion considers whether Levene’s test can compare return variances across two halves of a financial time series. The example divides observations into periods and reports Levene test statistics indicating a difference in variance. Respondents say…

StatisticsVolatilityEquities
Quant Q&A

The discussion considers whether volatility can be estimated using execution prices alone. One proposed approach is to estimate the bid-ask spread from transaction-price changes using Roll’s method, then adjust observed volatility because bid-ask bounce adds…

VolatilityStatisticsMarket microstructure
Quant Q&A

The document considers how to estimate the probability that a forward swap rate finishes above or below a swaption strike. A simple approximation uses the cumulative normal distribution of a standardized forward-minus-strike distance under a Bachelier model,…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how to calculate expected return and volatility when returns come from two possible states: a normal environment and a crisis environment. Each state has its own probability, conditional mean return, and conditional standard deviation.…

StatisticsVolatilityRisk management
Quant Q&A

The document shows how to backtest a portfolio of ETFs using inverse-volatility weights estimated from recent returns. A target-weight function obtains closing prices for the preceding 20 trading days, computes returns, estimates each asset’s volatility, and…

BacktestingPortfolio constructionVolatilityPosition sizing
Quant Q&A

The discussion explains why geometric Brownian motion (GBM) remains common despite unrealistic assumptions about returns. Its appeal comes from simplicity, intuitive results, and closed-form Black–Scholes pricing. Practitioners often use Black–Scholes as a…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document contrasts maximum-likelihood fitting of a Student-t model for future log returns with fitting the same model to realized option payoffs. In the first approach, parameters determine the conditional mean and volatility from current variance and…

OptionsStatisticsDerivatives pricingVolatility