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 discussion explains how to express views on ECB decisions through overnight indexed swaps (OIS) spanning meeting dates. It distinguishes a view on the size of an individual meeting’s rate change, which could be structured as an option on a spread between…

Fixed incomeOptionsDerivatives pricingEvent-driven
Quant Q&A

The document shows how to count ordered outcomes for three six-sided dice according to their minimum value, then use those counts to reason about the expected payoff of a call-like contract with a strike of three. The counting method starts from rolls whose…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document discusses valuation differences between bespoke structured trades, which may be marked using consensus estimates, and listed instruments used to hedge them, which may have observable market prices. The question is whether using different marking…

Risk managementDerivatives pricingMarket microstructure
Quant Q&A

The document raises whether daily historical option prices can be approximated from historical closing prices of the underlying asset. It identifies Black–Scholes as one possible pricing framework and notes that the model requires implied volatility for…

OptionsDerivatives pricingVolatility
Quant Q&A

The document considers why the equivalent martingale measure is unique in the standard Black–Scholes setting. Its proof outline represents a candidate measure through a positive density process and uses the predictable representation property to express that…

StatisticsDerivatives pricingRisk management
Quant Q&A

The document explains how to obtain the probability that a stock price modeled by Heston will finish above a specified threshold at a future date. In options terminology, this probability is the undiscounted value of a digital call on the modeled spot…

OptionsEquitiesVolatilityDerivatives pricing
Quant Q&A

The document examines whether Itô’s lemma can derive the risk premium of a derivative without assuming in advance that it shares the underlying asset’s Sharpe ratio. It applies Itô’s lemma to a value defined as the exponential of the risk-free rate times the…

Derivatives pricingStatisticsRisk management
Quant Q&A

The document explains why forward Libor rates are often modeled as lognormal in Black’s framework, while clarifying that this distribution is a modeling choice rather than a requirement of no-arbitrage. By expressing a forward rate as a ratio of zero-coupon…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The discussion examines whether the risk-neutral measure, used to price securities, should also be used to forecast real-world returns. It argues for comparing predictive performance empirically rather than relying only on theoretical objections or strong…

StatisticsDerivatives pricingOptions
Quant Q&A

The discussion distinguishes listed options from over-the-counter foreign exchange options. Conventional option chains are associated with listed contracts. Interbank FX options are predominantly over the counter and are usually quoted in implied volatility,…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document discusses how to design a cross-asset pricing library that supports multiple models and numerical methods while keeping products and payoffs immutable for serialization. Its central design principle is to keep a payoff focused on contract terms…

Derivatives pricingOptionsPortfolio constructionBacktesting
Quant Q&A

The document shows how to derive a par coupon from a zero-rate curve. First convert each continuously compounded zero rate into a discount factor using its maturity. Then price a hypothetical coupon bond by discounting each coupon and principal payment.…

Fixed incomeDerivatives pricing
Quant Q&A

The document considers bull and bear equity performance bonds that pay periodic coupons linked to stock returns, subject to a minimum coupon. It raises a modeling ambiguity: the coupon might be a minimum plus a positive performance component, or the maximum…

EquitiesOptionsDerivatives pricing
Quant Q&A

The document describes a numerical failure when calculating implied volatility for American options with RQuantLib: the solver reports that it cannot bracket a root, even though the user obtains values by entering observations manually. The suggested…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document derives a linear state-space representation for estimating parameters in a futures price model with two latent factors. The state variables follow continuous-time stochastic processes: one mean-reverts, while the other accumulates shocks.…

FuturesStatisticsVolatilityDerivatives pricing
Quant Q&A

The document examines whether a covered call can earn a relatively reliable profit by waiting for time decay. Its example sells calls against a large stock holding, but the response points out that the stock’s price movement dominates the small option…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The document discusses an options-text exercise comparing two quarterly interest-rate payoffs: a spread involving a five-year swap rate and compounded SOFR, and a spread between compounded SOFR and a Treasury bill rate. It reports that the solution manual…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document raises a question about why the COS method presents a characteristic-function relation specifically for Lévy processes. It notes that if a log price is represented as an initial log-moneyness plus a random log-price change, the characteristic…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses how to construct USD yield curves from publicly available data for valuing interest rate swaps and FX forwards. It distinguishes a discount curve from a LIBOR projection curve: the response recommends bootstrapping an OIS curve for…

Fixed incomeDerivatives pricingForexUS markets
Quant Q&A

This note examines an apparent arbitrage in put-call parity when a stock follows a zero-drift Black-Scholes process, with no interest or dividends. For a strike equal to the current stock price, parity makes the call and put prices equal. The apparent puzzle…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document outlines an Euler–Maruyama simulation for log asset prices under a local volatility model, using volatility that varies with time and the asset level. It asks which drift to use for option valuation versus estimating the real-world chance of an…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks whether the average strike and, where relevant, average implied volatility of a set of calls can be entered into one Black-Scholes calculation to approximate the portfolio’s average delta. The scenarios hold the underlying, expiry, rates,…

OptionsDerivatives pricingRisk management
Quant Q&A

The document derives lower and upper bounds for a European call using payoff dominance. A call payoff cannot exceed the underlying asset’s payoff, so its price is at most the asset price. It also dominates both zero and the payoff from holding the asset…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The discussion explains why a cash-or-nothing digital call cannot generally be replicated exactly using ordinary calls and puts at strikes spaced five dollars apart. In theory, a digital payoff can be approached by a call spread whose strike gap shrinks…

OptionsDerivatives pricingRisk management