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

10,263 documents

Quant Q&A

The document explains how the standard maturity for a five-year single-name credit default swap is determined under the post-2015 convention. Although a simple five-year anniversary calculation might suggest a September maturity for a trade made in early…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why a zero curve built from continuous-rate data can fail when its dates are mapped to times using an Actual/Actual day-count convention. Curve interpolation requires distinct times, but the convention may assign the same year fraction…

Fixed incomeDerivatives pricing
Quant Q&A

The document investigates why a calculation for the delta of a foreign-exchange down-and-out call appears to produce an implausible negative value when the spot, strike, and barrier are entered on a larger numerical scale. The accepted answer approaches the…

ForexOptionsDerivatives pricingStatistics
Quant Q&A

Commodity Asian swaps settle against an average reference price over an averaging period rather than a single final observation. The discussion describes a typical payoff as the period’s notional multiplied by the difference between a fixed strike and the…

CommoditiesDerivatives pricingFutures
Quant Q&A

The document explains why calling the amount or rate method on a QuantLib IborCoupon can fail with a “pricer not set” error, even when the relevant Euribor fixing has already been supplied. In the implementation described, coupon rate calculation delegates…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why a higher risk-free rate can raise the value of a call on a non-dividend-paying stock, despite also increasing the discount applied to its future payoff. In the Black–Scholes framework, the same rate affects both the stock’s assumed…

OptionsDerivatives pricingEquities
Quant Q&A

The document presents a European call pricing comparison under the Heston stochastic volatility model. It gives a characteristic-function integral for the closed-form price and a Milstein-style discretization for simulating variance and log spot, then…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document illustrates a convexity adjustment by comparing two ways to price cash flows when an interest rate can take one of two values. One calculation discounts the amount using the average of the rates, while the other averages the two prices obtained…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document raises a model-calibration question: whether parameters in the Heston–Nandi GARCH option-pricing model can be estimated by fitting model prices to observed option prices instead of using maximum likelihood. The proposed approach is to choose a…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains the claim that a derivative can be represented as a portfolio of its underlying asset and a risk-free asset. It connects this idea to continuous delta hedging in the Black–Scholes framework: adjusting the stock and bond positions can…

OptionsDerivatives pricingRisk management
Quant Q&A

The document compares using historical index returns directly in Monte Carlo option pricing with fitting a return distribution or a dynamic stochastic-volatility model. Its central pricing point is that option values are expectations under a risk-neutral…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks why QuantLib’s implementation of Margrabe’s formula computes forward prices using a risk-free discount factor when the familiar formula for an option to exchange one asset for another is often presented without an explicit risk-free rate.…

OptionsDerivatives pricing
Quant Q&A

This discussion considers how a shift from a currency peg toward a freer float could affect over-the-counter FX option prices, using the Moroccan dirham’s EUR and USD relationships as context. It notes that a regime change may bring a spot jump together with…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

This discussion examines whether European put options with the same maturity can have equal prices when one has a higher strike. It presents a no-arbitrage argument: if the lower-strike put were at least as expensive as the higher-strike put, an investor…

OptionsArbitrageDerivatives pricing
Quant Q&A

The question asks why a butterfly spread’s value might be expressed using the probability that the terminal asset price falls between the outer strikes, multiplied by half the spacing between adjacent strikes. The answer frames pricing under the risk-neutral…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document compares exercising a call with selling it before expiration. In its example, a call bought for $1 has a market value of $2.10 when the stock reaches $12, above the $10 strike. Exercising and immediately selling the shares produces a $1 gain per…

OptionsDerivatives pricingRisk management
Quant Q&A

The question considers a discrete price process with normally distributed independent shocks and asks whether the affine closure property of normal random variables can replace the Central Limit Theorem in deriving a continuous-time limit. It specifies an…

StatisticsDerivatives pricing
Quant Q&A

The document works through the reciprocal of a stochastic process that follows geometric Brownian motion, as a step toward finding the process for a ratio of two correlated processes. It identifies a likely notation error in the stated reciprocal formula:…

StatisticsDerivatives pricing
Quant Q&A

The document explains why buying a bond and shorting a futures contract can be viewed as a synthetic reverse repo. In a reverse repo, an asset is sold with an agreement to repurchase it later; the price difference represents financing interest, while the…

Fixed incomeFuturesCarryDerivatives pricing
Quant Q&A

The document compares a covered call with a cash-secured put on the same underlying, strike, and expiration. Their similar payoff profiles can still show different displayed maximum gains when the call and put have different prices or implied volatilities.…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document presents an attempt to calibrate the raw SVI parameterization to market implied volatilities. The code converts quoted volatilities to total implied variance, computes model variance at log-moneyness values, and minimizes the root sum of squared…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document asks how to evaluate the integral in the semi-closed Heston formula for call options. Its answer says Monte Carlo simulation can approximate the integrals, while Newton-Cotes formulas and Gaussian quadrature are also possible numerical methods.…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document examines why sponsors may not issue an exchange-traded note alongside an inverse version. It explains that daily leveraged and inverse notes are path-dependent: their exposure resets as their values change, so the pair’s gains and losses do not…

Derivatives pricingRisk managementCommoditiesFutures
Quant Q&A

The document explains why at-the-money implied volatility can rise or fall across option maturities. It challenges the assumption that the term structure should be monotonic and identifies several possible drivers, including return autocorrelation,…

OptionsVolatilityDerivatives pricingStatistics