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
WonderTrader
14 documents
Alphalens
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 note addresses whether a rates Bermudan callable or swaption remains convex as its strike changes, even though possible exercise dates correspond to swaps with different remaining maturities. It represents the exercise payoff at a given date as the…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The note explains why an exponential moving average can be matched to an N-period simple moving average by equating their average data ages. EMA observations k periods old receive weights αβ^k, where β = 1 − α. The simple moving average has an average age of…

Technical indicatorsStatistics
Quant Q&A

The document distinguishes financial bars from statistical resampling methods. Time bars divide observations by clock intervals, while tick, volume, and dollar bars aggregate irregular transaction data until a chosen trade count, traded volume, or traded…

StatisticsBacktestingMarket microstructureHigh-frequency trading
Quant Q&A

The document asks whether residuals from regressing equity returns on principal component factors can support a mean-reversion strategy, given the common regression assumptions of normally distributed, independent errors. The response clarifies that fitting…

EquitiesMean reversionFactor investing
Quant Q&A

The document discusses how to express the Heston stochastic volatility pricing equation using a forward price, log-moneyness, time to expiry, and an undiscounted option value. It gives the spot and variance processes, their correlated Brownian shocks, and a…

OptionsVolatilityDerivatives pricingFixed income
Quant Q&A

The document considers how to model hedge fund returns for simulation, noting that return moments alone do not specify a distribution. One proposed approach represents returns as exposures to a broad set of tradable ETF factors. The cited research uses…

StatisticsPortfolio constructionMachine learningBacktesting
Quant Q&A

The document explains why the Black–Scholes delta of an in-the-money call can first decline and later increase as volatility rises. Interpreting delta as the risk-neutral probability of exercise, it separates two effects: greater volatility makes the strike…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document discusses how to convert daily US Treasury volatility to an hourly measure and cautions against assuming that trading activity is evenly distributed across the full day. Treasury trading is described as over the counter, without official…

Fixed incomeVolatilityUS markets
Quant Q&A

The document examines how a Black–Scholes call price approaches its terminal payoff as time to maturity shrinks to zero. It rewrites the price into a term involving the discounted intrinsic-value difference and a second term expressed as an integral of the…

OptionsDerivatives pricingStatistics
Quant Q&A

This worked example uses two risky stocks, their volatilities and correlation, and a risk-free asset under CAPM. It distinguishes the market portfolio from the minimum-variance portfolio: market capitalization determines the market weights, which are then…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The Snell envelope is explained through a sequence of choices where each decision may be taken only when its opportunity arises. In the highway example, each exit represents a stopping time, and the value at a given point is the best outcome still achievable…

StatisticsOptions
Quant Q&A

The document compares the continuous-time Ornstein–Uhlenbeck (OU) process with the discrete-time AR(1) model for stationary, mean-reverting data such as a spread. It presents OU as a continuous-time model with an analytic solution and explains that a simple…

StatisticsMean reversionPairs trading
Quant Q&A

The document explains how to find the probability mass under a normal distribution between a lower and upper bound. It uses the cumulative distribution function (CDF), which gives the accumulated probability from negative infinity up to a chosen value.…

StatisticsOptionsVolatility
Quant Q&A

The document defines bullish RSI divergence as price making a lower low while RSI makes a higher low, and bearish divergence as price making a higher high while RSI makes a lower high. These patterns indicate that RSI is not confirming the latest price…

Technical indicatorsMomentumStatistics
Quant Q&A

The document introduces Fischer Black’s idea that the nominal short rate can be viewed as an option: it is the greater of zero and the sum of a shadow real interest rate and inflation. The shadow rate is described as tied to the investment opportunity set,…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The note explains how delta-hedging error arises when an option is valued using an assumed volatility that differs from the underlying asset's true volatility. The option's Black–Scholes pricing equation links its theta to its price, delta, gamma, interest…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The note asks why options on leveraged exchange-traded funds can appear cheaper than options on an unleveraged fund tracking the same index and expiry, despite an expectation that leverage should multiply implied volatility. It explains that a daily…

OptionsEquitiesVolatilityDerivatives pricing
Quant Q&A

The document considers how to convert independent country signals into equity portfolio weights while preserving a neutral allocation and bounding each country's deviation. Its proposed construction treats the signal vector as a point in a multidimensional…

EquitiesPortfolio constructionPosition sizing
Quant Q&A

The note addresses why a call spread built from two outer strikes does not create arbitrage simply because its price exceeds the price of an intermediate-strike call. The intermediate call is cheaper than the weighted combination, so buying it and selling…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document compares two numerical approaches for pricing European calls under the Heston–Nandi GARCH model using an inversion integral. One implementation evaluates the integrand through adaptive quadrature, while another precomputes…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document describes a way to extend the standard top-of-book microprice to several price levels. At each level, it weights the ask price by bid-side size and the bid price by ask-side size, then divides the combined weighted prices by total depth across…

Market microstructureExecution
Quant Q&A

The document outlines practical approaches to estimating the value of a corporate bond in default. Distressed-debt analysis can consider possible bankruptcy or restructuring recoveries, including cash, replacement debt or equity, and other securities. Those…

Fixed incomeRisk managementStatistics
Quant Q&A

The document explains how interest enters the overnight profit of a delta-hedged option position. It represents the portfolio as a short option combined with a position in the underlying sized by the option’s delta. The net portfolio value determines whether…

OptionsDerivatives pricingRisk management
Quant Q&A

The document considers how to display an S&P 500 futures moving average as a comparable reference level on a Nasdaq futures chart. A direct price-ratio adjustment is proposed by the questioner but is reported not to work as intended. The answer instead…

FuturesTechnical indicatorsUS markets