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

10,263 documents

Quant Q&A

The document explains the arbitrage argument behind a proof that forward and futures prices are equal under a constant interest rate. The proof compares two strategies that produce the same final capital. If their initial costs differ, an investor can take…

FuturesArbitrageDerivatives pricing
Quant Q&A

The document explains the basic construction of a bull spread using European calls with a common expiration. For the two-call example, the proposed position buys the lower-strike call and sells the higher-strike call. The intuition offered is that the…

OptionsDerivatives pricingPosition sizing
Quant Q&A

The document examines the expiry payoff and a proposed Black-style valuation for a payer option on a credit default swap index. It identifies two issues: whether the payoff’s running-spread component should reflect the surviving index factor, and how the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document discusses how someone without access to an OTC derivatives desk can study prices and payoff risks for customized options. It explains that dealers generally quote only to established desk customers, who may need product-specific legal agreements…

OptionsDerivatives pricingVolatilityCommodities
Quant Q&A

The document clarifies the distinction between daily futures accounting and final settlement. Futures are settled at expiry, while their positions are marked to market each day. The daily mark to market changes the balance in the trader’s margin account,…

FuturesCryptoDerivatives pricingRisk management
Quant Q&A

The document corrects a proposed variance formula for a stock modeled with geometric Brownian motion. Under Black–Scholes dynamics, the terminal price is lognormally distributed. Its conditional mean is the current price grown at the risk free rate less the…

EquitiesStatisticsVolatilityDerivatives pricing
Quant Q&A

For European interest rate options, the document distinguishes pricing from hedging. Vanilla prices across strikes can be represented by an implied volatility surface or interpolated total variance, so stochastic volatility is not required to price each…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document questions whether risk-neutral valuation remains adequate as derivatives become actively traded. It argues that the classical view treats derivatives as replicating portfolios, while trading in derivatives can produce volatility skews, smiles,…

Derivatives pricingOptionsRisk managementStatistics
Quant Q&A

The document asks why an up-and-out call is said to have a lower delta than a standard call, while a down-and-out call is said to have a higher delta. The answers reason from how the underlying’s movement affects both the call payoff and the chance that the…

OptionsDerivatives pricingVolatility
Quant Q&A

The document sets up a small Treasury futures example to investigate whether parallel yield curve shifts can change which bond is cheapest to deliver. It uses two hypothetical deliverable bonds, prices them from a shifted curve, applies conversion factors,…

Fixed incomeFuturesDerivatives pricingRisk management
Quant Q&A

The answer introduces Lévy processes as a way to model jumps in asset prices and connects them to risk-neutral pricing. It contrasts two constructions of price dynamics in the Black–Scholes setting, then describes generalizing them by replacing Brownian…

Derivatives pricingVolatilityStatistics
Quant Q&A

The answer distinguishes standard interest rate swap valuation from non-deliverable swaps, explaining that a library supporting ordinary swaps may not directly handle the latter. It outlines the fixed and floating leg present values for a standard swap,…

Fixed incomeForexDerivatives pricing
Quant Q&A

The document lists several basic ways to offset the interest rate exposure of a long bond position. Besides selling the same bond or a different bond, it names paying a swap and buying a payer swaption as possible hedges. Bond futures are also included in…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The explanation clarifies that interest rate swap pay and receive conventions refer to the fixed leg. A pay-fixed position has positive DV01 under the convention described: when market rates rise, the fixed payments become relatively less costly than current…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains a measure change from the risk-neutral measure to an alpha measure used with a power numeraire in option pricing. It starts from a geometric Brownian motion for the underlying and expresses the Radon–Nikodym derivative in terms of the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document examines whether bookmaker odds can inform option prices when an underlying asset moves up or down in response to a binary event. The proposed setup combines a real-world probability for the positive event outcome with an assumed expected…

OptionsDerivatives pricingEvent-drivenStatistics
Quant Q&A

The discussion explains how one-way collateral terms affect the funding valuation adjustment (FVA) for an interest-rate swap. Its central distinction is whether the swap is hedged with a standard, fully collateralized market hedge or with an uncollateralized…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document shows how to calculate positions in two derivatives that offset an option portfolio’s delta and gamma. It sets up a pair of linear equations: the hedge instruments’ weighted sensitivities must cancel the portfolio’s existing delta and gamma.…

OptionsDerivatives pricingRisk management
Quant Q&A

The document illustrates how borrowers with different relative advantages in fixed and floating rate markets can use an interest rate swap to improve their borrowing costs. Although one party has lower borrowing rates in both markets, the comparison of their…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document considers whether characteristic function methods used to price options can be adapted to interest rate derivatives, especially swaptions. It explains the key difficulty: many interest rate models describe short rates or zero coupon bonds, while…

OptionsFixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion addresses how to set an upper-domain boundary when numerically pricing options with finite differences. It recommends using linear behavior in an extreme model state as a generic boundary approximation for many products. In mathematical terms,…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The discussion distinguishes estimating implied volatility from observed option prices from using machine learning to approximate prices for complex derivatives. Inverting a standard option pricing model to find implied volatility is described as a simple,…

OptionsVolatilityDerivatives pricingMachine learning
Quant Q&A

The document compares a call credit spread and a put debit spread, whose expiration payoff diagrams can appear similar. It explains that the call spread places both strikes above spot, while the put spread places both below spot. The call credit spread…

OptionsDerivatives pricingRisk management
Quant Q&A

The document poses a risk measurement question about a portfolio of plain interest rate floor options. It asks whether the change in economic value under a one basis point parallel rate shock should equal the sum of value changes under one basis point shocks…

OptionsFixed incomeDerivatives pricingRisk management