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 works through a covariance involving the stochastic integral of cubed Brownian motion and the time integral of squared Brownian motion. It rewrites the latter using an Itô-integral representation plus a deterministic term. The deterministic…

Statistics
Quant Q&A

The document asks whether the time integral of Brownian motion is a martingale. Although integration by parts rewrites it using a stochastic integral, the resulting integrand depends on the terminal time. The accepted answer explains that the familiar…

Statistics
Quant Q&A

The document answers which exchange rate to enter as the spot parameter when pricing an FX option with the Garman–Kohlhagen model. Its central point is to use the current spot rate; the forward rate for the option’s expiry is already implied by the model’s…

ForexOptionsDerivatives pricing
Quant Q&A

The document concerns constructing a portfolio of individual bonds selected from a benchmark, with exposure to a chosen investment factor. The questioner seeks research on factor investing using actual bonds rather than exchange-traded funds or sovereign…

Fixed incomeFactor investingPortfolio construction
Quant Q&A

The document explores an empirical approach to estimating fair implied volatilities for SPX options. It proposes using a proxy for future volatility, such as VIX, to select similar historical observations, fitting a distribution to those observations, and…

OptionsVolatilityStatistics
Quant Q&A

The note asks how to define risk factors for scenario testing of a portfolio containing several currency pairs. It outlines a basic stress-testing workflow: identify portfolio-relevant drivers, specify scenarios, shock those drivers, and interpret the…

ForexRisk managementStatistics
Quant Q&A

The note corrects a short-sale profit calculation that incorrectly credits interest to both the sale proceeds and the haircut collateral. The proceeds are reduced by the opening commission, while the haircut amount is restricted collateral whose interest…

EquitiesRisk management
Quant Q&A

The document explains why applying Itô’s lemma to a function of a diffusion requires a second-order term. For a process with drift and Brownian volatility, a Taylor expansion includes the squared process increment. Ordinary time increments have negligible…

StatisticsDerivatives pricingVolatility
Quant Q&A

The document questions a claim about compounding a constant overnight rate over a three-month period when calculating a spot swap’s roll-down. The questioner interprets the quoted rate as an annualized overnight rate and compounds it daily, finding that the…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how to identify the standardized random increment in a risk-neutral trinomial asset model and connect it to a weak convergence argument for Black–Scholes. Taking logarithms of each of the three possible one-step multipliers gives three…

StatisticsDerivatives pricing
Quant Q&A

The document describes a discrepancy between a closed-form price for a geometric Asian call and a Monte Carlo estimate. The author uses a formula parameterized by spot, strike, maturity, volatility, interest rate, and a monitoring count, and reports that the…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document explains how to calculate a portfolio’s logarithmic return from its value at two consecutive times. With fixed holdings represented by weights, first calculate the weighted sum of component prices at each time, then take the logarithm of the…

Portfolio constructionStatisticsEquities
Quant Q&A

The document discusses why Fama–French work testing the CAPM may not cite Ross’s arbitrage pricing theory (APT) as its foundation. The answer distinguishes the frameworks: it characterizes Fama–French factors as added variables used to test whether the CAPM…

Factor investingStatisticsEquities
Quant Q&A

The document raises a practical concern about combinatorial purged cross-validation (CPCV) in financial backtesting. By combining separated time blocks into a training sample, the method can make observations on either side of a gap appear adjacent. That can…

BacktestingMachine learningStatistics
Quant Q&A

The document reviews a Monte Carlo implementation for a payoff capped at an upper barrier and floored at a lower barrier at expiry. The accepted answer identifies errors in the simulation: each price update should multiply the current spot by the geometric…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document responds to a beginner’s difficulty identifying widely traded ETF symbols by outlining how funds can be grouped into asset classes and investment styles. One answer points to a commercial fund-classification service and gives an example of how a…

Multi-assetEquitiesFixed incomeCommodities
Quant Q&A

The document explains how a European call behaves in the Black–Scholes setting when volatility is zero. With no dividends, the stock follows a deterministic path growing at the risk-free rate. The call’s payoff is therefore known at expiry; discounting that…

OptionsDerivatives pricingRisk managementFixed income
Quant Q&A

The document explains how to turn a Dupire local volatility model into a European option price. Its example starts with an implied volatility surface, constructs a Black–Scholes–Merton process that uses the surface, and sets up a vanilla call. It then…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document explains why option pricing can use an equal-probability illustration for upside and downside outcomes even when historical returns are asymmetric. It distinguishes the risk-neutral measure used to price derivatives from historical return…

Derivatives pricingOptionsFixed incomeArbitrage
Quant Q&A

The document works through the time-zero value of a claim in a one-period, two-state market. A portfolio holding the risky asset and a bond is chosen so that its terminal value matches the claim in both the up and down states. The hedge ratios are obtained…

Derivatives pricingOptionsRisk managementStatistics
Quant Q&A

The document considers how to derive a pricing PDE for a derivative under the Heston–Hull–White model, where the stock, stochastic variance, and short rate are correlated. It identifies a problem with applying the usual discounting transformation directly:…

Derivatives pricingOptionsVolatilityRisk management
Quant Q&A

The document examines how to calculate vega sensitivity under the Basel Fundamental Review of the Trading Book standardized approach. The question contrasts multiplying Black–Scholes vega by implied volatility expressed as a decimal with an example using a…

Risk managementVolatilityDerivatives pricingFixed income
Quant Q&A

The document discusses two interest-rate products that pay based on absolute changes in future rate volatility. One references successive six-month LIBOR changes; the other references changes in a long-dated forward-start swap rate and includes capital…

Fixed incomeVolatilityDerivatives pricingRisk management
Quant Q&A

The document poses a static arbitrage problem using a contract that pays a negative logarithm of the terminal underlying price, a forward contract, and a discount bond. Given prices for the three traded assets, it infers the underlying’s spot value from the…

ArbitrageDerivatives pricingFixed income