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
Quantpedia
86 documents
TqSdk
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 considers how to estimate the future discounted exposure of a European stock put under the real-world measure, including whether a Black–Scholes value evaluated at the expected future stock price is an adequate approximation. It explains that…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document asks how implied volatility across strikes should behave for electricity options. It describes differing possibilities, including a convex smile and a skew with higher volatility at elevated strikes. The replies discuss German electricity market…

OptionsVolatilityCommoditiesDerivatives pricing
Quant Q&A

The document presents a VBA routine that estimates European call and put prices with a Black–Scholes formula, then attempts to solve for implied volatility by iterating on volatility. A reply identifies the very small volatility step used to approximate…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document compares finite-difference PDE methods with Monte Carlo simulation for pricing options under complex models. In a relatively simple setting such as Black–Scholes with a payoff that does not require modeling volatility convexity, a PDE can be…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explores the meaning of a tradable asset in the numeraire pricing theorem, using short rates and interest rate models as examples. Under a measure associated with a chosen numeraire, the price of a tradable asset divided by that numeraire is a…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document distinguishes expected exposure from the purchase cost of an investment. It defines expected positive exposure at a future time as the expected value of the positive part of a trade’s value. For a long option or share, the answer notes that…

OptionsEquitiesRisk managementDerivatives pricing
Quant Q&A

The document asks how to express the bank-account holding in a self-financing hedge for a derivative priced as a function of time and the underlying stock. Applying Itô’s formula gives a stock position equal to the derivative’s sensitivity to the stock…

Derivatives pricingOptionsRisk management
Quant Q&A

This question asks whether to price caplets on one-month USD floating rates with a normal Bachelier model or a lognormal Black model. The instruments are caps intended to limit rate exposure on pay-floating, receive-fixed swaps, with floating payments…

OptionsFixed incomeDerivatives pricing
Quant Q&A

This answer compares frequentist, maximum-likelihood, and Bayesian approaches as ways to estimate unknown quantities and guide financial decisions. It characterizes frequentist methods as offering long-run performance guarantees under repeated use, while…

StatisticsPortfolio constructionDerivatives pricing
Quant Q&A

This post describes an implementation problem in a bivariate tree used to price American options under the Heston stochastic-volatility model. The author reports getting a negative probability for the middle stock-price move while following a published tree…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document compares two ways to value cross-currency swap cash flows: convert foreign payments using FX forwards and discount in the base currency, or discount foreign payments on a basis-adjusted curve before converting at spot. The answers say these…

Fixed incomeForexDerivatives pricingArbitrage
Quant Q&A

The question asks whether a contingent claim’s stock hedge can be negative for every stock price at one time and positive for every stock price later. The accepted explanation says this is theoretically possible, even if unlikely in practice. Its example…

Derivatives pricingRisk managementEquities
Quant Q&A

The document recommends a staged set of resources for someone beginning stochastic calculus with applications to quantitative finance. It suggests first learning binomial trees, Wiener processes, Itô’s lemma, and Black–Scholes–Merton in the context of an…

Derivatives pricingStatistics
Quant Q&A

The document discusses implementation options for smoothing an implied volatility surface while enforcing arbitrage-free conditions. One response characterizes this as a difficult task and suggests that ready-made implementations may be uncommon outside…

OptionsVolatilityDerivatives pricingArbitrage
Quant Q&A

The document examines whether a Dynamic Nelson–Siegel model can explain CDS curve PnL when individual tenor residuals vary sharply over time. Even with high regression fit, changing residuals can dominate the PnL of a concentrated tenor position, while…

Fixed incomeStatisticsDerivatives pricingRisk management
Quant Q&A

The document presents a C++ implementation of a Leisen-Reimer binomial tree for pricing American options and describes cases where its output becomes NaN. The example computes transformed probabilities from two standardized option inputs, then uses those…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document clarifies that Itô’s formula is a mathematical tool for analyzing a process, rather than a pricing method on its own. For a European option, it describes the value as a conditional expectation of the terminal payoff given the current state.…

OptionsDerivatives pricingStatistics
Quant Q&A

The document works through an algebraic attempt to derive equation 8 in Derman and Kani’s implied binomial tree for local volatility. Starting from an earlier call-price relation, the answer substitutes the risk-neutral probability, rearranges terms to…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains why a pricing partial differential equation can be useful for deriving the relationship between option vega and gamma even when volatility is constant. In the Black–Scholes setting, volatility is a parameter of the differential…

OptionsDerivatives pricingVolatility
Quant Q&A

The discussion examines whether a long call butterfly must have a strictly positive premium under no-arbitrage. A butterfly’s strike-price second difference is nonnegative when call prices are convex in strike. In a smooth model, this difference approximates…

OptionsDerivatives pricingArbitrageRisk management
Quant Q&A

The question asks why the Black–Scholes quantities involving the stock price and the normal density at d1 equal the discounted strike multiplied by the normal density at d2. The accepted derivation substitutes the standard normal density, uses the relation…

OptionsDerivatives pricingStatistics
Quant Q&A

This document collects suggested online lectures, conference talks, courses, and notes related to quantitative finance. The topics range from financial mathematics, risk-neutral pricing, delta hedging, and option strategies to volatility, interest rate and…

Derivatives pricingOptionsVolatilityFixed income
Quant Q&A

The document explains when discrete and continuous compounding are used in cost-of-carry pricing for equity futures. Discrete rates are common in practice because real cash flows, such as bond coupons, occur at intervals. Continuous compounding is often…

FuturesDerivatives pricingFixed incomeStatistics
Quant Q&A

The document asks how to use a Python-defined local volatility function with QuantLib’s Black–Scholes process. It clarifies that a local volatility term structure handle cannot simply be constructed from an arbitrary Python function in the shown way; the…

OptionsVolatilityDerivatives pricingBacktesting