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 discusses how trades are grouped into netting sets for calculating credit valuation adjustment. A netting set consists of trades that can legally be offset against one another if a default occurs, so the applicable agreements must permit the…

Risk managementDerivatives pricing
Quant Q&A

The document asks whether a European put’s price can be calculated as the expected payoff when the underlying’s return over the option’s life follows a specified density. Assuming zero interest rates, it writes the put payoff as the strike minus the terminal…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why an in-the-money option does not necessarily become more valuable simply because expiration is closer. It separates an option’s value into intrinsic value, determined by the current underlying price and strike, and time value, which…

OptionsDerivatives pricingVolatility
Quant Q&A

The document outlines the Black–Scholes derivation: apply Itô’s formula to an option whose value depends on the underlying, combine it with the underlying in a portfolio, hedge away the source of randomness, and use no-arbitrage to obtain the pricing PDE. It…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document discusses what a negative stock holding means in a single-period binomial model and whether it represents a real-world short sale. The practical interpretation is a short stock position: the investor borrows shares, sells them, and has an…

EquitiesDerivatives pricingRisk management
Quant Q&A

The document explains why a bond's quoted spread to mid-swaps at issuance may not match a calculation using a government benchmark, a later yield curve observation, or the bond's coupon. In the example, the quoted reoffer spread is applied to the swap rate…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why an up-and-out call can have negative delta when the underlying approaches its upper knock-out barrier. Near the barrier, a rise in the underlying has two opposing effects: it increases the ordinary call payoff conditional on…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks whether physical state probabilities can be recovered from current asset prices, state-contingent payoffs, and risk-neutral probabilities. Its central point is that state prices encode discounted, risk-adjusted probabilities; they do not by…

StatisticsDerivatives pricingFixed income
Quant Q&A

The document describes a pricing problem involving a multi-asset collar on European natural gas and US oil products, with an additional currency conversion because the contracts are denominated in different currencies. The questioner is considering Monte…

OptionsCommoditiesMulti-assetDerivatives pricing
Quant Q&A

The document gives a finite-difference estimate of a fixed-income instrument’s convexity using its current price and projected prices after equal upward and downward parallel yield shifts. The central second difference, formed by adding the two shifted…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to connect a zero-coupon bond’s price to the stochastic process for the short rate. If the rate follows an Itô diffusion under the risk-neutral measure, applying Feynman–Kac gives a pricing PDE with a terminal condition equal to…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document clarifies what the time partial derivative means when applying Itô’s lemma to a function of a stochastic process. For a function written as f(S_t, t), the partial derivative with respect to t treats the process value S_t as the first, separate…

StatisticsDerivatives pricing
Quant Q&A

The document discusses language choices for a pricing library that should support parallel pricing, control maintenance costs, and remain accessible to newer quantitative researchers. It argues that there is no single best language and suggests Python as a…

Derivatives pricingExecutionMachine learning
Quant Q&A

The document derives the instantaneous volatility of a zero-coupon bond price under a one-factor Hull–White short-rate model. It presents the bond price as a deterministic function of time multiplied by an exponential term in the current short rate. The…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document asks about an approximation discussed in a paper on delta hedging with a volatility smile: treating the sensitivity of implied volatility to the underlying price as equal to its sensitivity to strike. Under a downward-sloping smile, the cited…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document compares a manually discounted fixed-rate bond price with the output from RQuantLib. Its example uses a five-year bond with annual coupons, a flat interest rate, and a settlement date one day after the evaluation date. The manual calculation…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers whether a Euro Stoxx futures contract and matching European call and put options offer an arbitrage when only one of each contract may be traded. It introduces put-call parity and rearranges it to compare the call-minus-put price with…

FuturesOptionsArbitrageDerivatives pricing
Quant Q&A

The document asks whether a closed-form barrier-option model for a dividend-paying stock can be adapted to FX and commodity futures. Under Black–Scholes assumptions, it describes forward dynamics with zero drift, so the spot-model input can be repurposed by…

CommoditiesOptionsDerivatives pricing
Quant Q&A

The document explains why a QuantLib Gaussian one-factor swaption engine rejects a Vasicek model: the engine expects a model derived from Gaussian1dModel, while Vasicek does not meet that interface. The accepted answer shows using a GSR model instead,…

Fixed incomeDerivatives pricingOptions
Quant Q&A

The document poses a portfolio-replication problem for a derivative whose terminal payoff is the time average of an underlying asset's price over the contract period, less a fixed strike. It assumes continuously sampled prices and a zero interest rate, then…

Derivatives pricingOptionsPortfolio constructionStatistics
Quant Q&A

A total return swap is an over-the-counter contract, so whether it can be terminated early depends on the negotiated termsheet. Some agreements provide break rights and others lock the parties in until maturity. The responses describe dealer-to-dealer trades…

EquitiesFuturesDerivatives pricingRisk management
Quant Q&A

The document asks for current interest-rate modeling references that address the cessation of IBOR benchmarks, noting that established texts may predate the transition. The answer does not recommend a textbook; instead, it points to the generalized Forward…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document sets up two Black–Scholes call-pricing equations for options on the same stock with different strikes and a shared maturity. It uses the observed option prices to form a nonlinear system in the continuously compounded interest rate and…

OptionsDerivatives pricingStatistics
Quant Q&A

The document presents a framework for funding valuation adjustment when derivative value and received collateral differ. In a modified Black–Scholes setting, collateral can be rehypothecated and earns a collateral rate, while unsecured funding costs more.…

Derivatives pricingFixed incomeRisk managementStatistics