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
Quantopian lectures
45 documents
Binance API docs
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 asks how to estimate the parameters of a coupled square-root diffusion model for an interest rate and its stochastic volatility. It considers rearranging discretized equations for VAR or OLS estimation, but recognizes that these transformations…

Fixed incomeVolatilityStatisticsDerivatives pricing
Quant Q&A

The document discusses which instruments should be used to build a swaption volatility surface when calibrating to a particular underlying swap. The answer recommends matching the swaption underlying to the swap being calibrated, so that the forward rate…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The document gives a closed-form expectation for a call or put payoff when the log of the underlying price follows a normal distribution. A sign indicator selects the option type, while the expression uses the normal cumulative distribution function to…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why a European option on an arithmetic basket of correlated stocks generally lacks a direct Black–Scholes formula under geometric Brownian motion: the basket is a sum of lognormally distributed prices, which is not itself lognormal. It…

OptionsDerivatives pricingMulti-assetStatistics
Quant Q&A

The document asks which swap leg is priced first when structuring a new interest rate swap with zero net present value at inception. It considers two equivalent ways to frame a quote: specify a desired fixed rate and ask what floating payments correspond to…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document raises a pricing issue for an interest rate swap whose floating leg averages rates observed daily during each accrual period. The payment is based on the average of forward rates for short intervals, discounted to the payment date. Since…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers how to hedge an obligation to buy an asset under a forward contract at a future date. Buying a put with a strike equal to the forward purchase price establishes a floor on the value obtainable by selling the asset, but it requires…

OptionsFuturesRisk managementDerivatives pricing
Quant Q&A

The document describes a practical challenge in fitting an oil options volatility surface when market data are uneven across maturities. Near-dated contracts are liquid and screen-based, while longer-dated quotes are broker-based. At-the-money levels toward…

CommoditiesOptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how quantitative strategies can compare derivatives with different expiries, prices, and volatility characteristics, using commodity futures as an example. It highlights a limitation of applying a single-price time-series method, such as a…

FuturesCommoditiesDerivatives pricingTechnical indicators
Quant Q&A

The document considers a European payoff equal to the difference between the highest and lowest observed stock prices over a discrete period. Under its stated multi-step binomial model, the stock is assumed to be a martingale and the risk-free bond has…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks how to describe the distribution of the highest price reached by a cash-or-nothing digital call before expiration. It assumes the underlying follows geometric Brownian motion with constant volatility and uses the Black-style probability…

OptionsDerivatives pricingStatisticsVolatility
Quant Q&A

For European options with the same strike and expiry, put–call parity links their prices to the discounted forward price and implies consistent implied volatility when prices and market inputs are aligned. The discussion addresses why observed implied…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document considers how to generate many Brownian bridge paths for multiple underlying assets in a Monte Carlo setting. The original routine advances through time steps and simulates one path at a time, which becomes slow when the number of simulations…

OptionsDerivatives pricingStatisticsExecution
Quant Q&A

The document presents a proposed backward-time finite-difference scheme for solving the Black–Scholes partial differential equation. Starting from the option payoff at expiration, it uses a Taylor approximation to step the value backward in time. It…

OptionsDerivatives pricingStatistics
Quant Q&A

The note explains why an American put’s value can exceed the amount available from exercising it immediately. The payoff is a lower bound: the holder can exercise and receive that amount, or keep the option alive. The right to choose later has value because…

OptionsDerivatives pricing
Quant Q&A

The document asks how to split a European option’s net present value into intrinsic value and time value when pricing with QuantLib-Python’s Black–Scholes example. It explains that intrinsic value can be obtained by applying the option’s payoff function to…

OptionsDerivatives pricing
Quant Q&A

The document distinguishes an option’s expected payoff from the effect of volatility on that payoff. Under risk-neutral pricing, an option value is the discounted expected payoff, so a larger expected payoff corresponds to a higher value. But raising…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to estimate wrong-way risk for an exotic option priced by Monte Carlo under the Heston stochastic volatility model. It describes a proposed framework in which market risk factors and credit risk factors are simulated jointly. Dependence…

OptionsVolatilityRisk managementDerivatives pricing
Quant Q&A

The document explains how Libor fixings work when an interest rate swap pays every six months but references a three month Libor rate. Libor is typically set in advance, shortly before the start of each accrual period, and paid in arrears. In the example,…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to derive the conditional expectation of the future integral of squared standard Brownian motion using Itô’s formula and a partial differential equation. The key correction is that this conditional expectation is not itself a…

StatisticsDerivatives pricing
Quant Q&A

The document asks how a long straddle could produce positive profit when the underlying finishes at the strike and the option expires worthless, despite high volatility during the holding period. One explanation is dynamic delta hedging: as the underlying…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document examines whether a discounted option value in the Black–Scholes model is a martingale. Applying Itô’s formula and the Black–Scholes partial differential equation leaves a stochastic integral whose integrand contains the stock price and the…

Derivatives pricingOptionsStatistics
Quant Q&A

The document discusses whether option delta can approximate the probability of profit for multi-leg positions. Its example uses a call debit spread: the response treats the short strike’s delta as a rough chance of reaching the spread’s maximum gain and the…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document raises a research concern: option pricing models may be proposed without being tested against market data or compared with established alternatives. It notes that affordable options data can be difficult to obtain, while arguing that empirical…

OptionsDerivatives pricingBacktesting