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

8,116 documents

Quant Q&A

This note shows how a binary option payoff can be bounded by a scaled call spread with nearby strikes. The spread buys calls at a lower strike and sells calls at the binary option’s strike. At expiration, its payoff is one or more in the interval between the…

OptionsArbitrageDerivatives pricing
Quant Q&A

The question asks how to price a European payoff that equals the positive part of the stock price cubed minus its square. Although the payoff can be written as the stock price squared times a call-like term with strike one, applying the ordinary…

OptionsDerivatives pricingVolatility
Quant Q&A

The document compares Monte Carlo simulation and partial differential equation methods for pricing options, including American and Asian contracts. It presents dimensionality as a major consideration: PDE methods can work well in lower-dimensional problems,…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document outlines how risk-neutral valuation can lead to a partial differential equation for the value of a self-financing portfolio whose price depends on time and an underlying asset. It sets up a market with a money-market account and a risky asset,…

OptionsDerivatives pricingStatistics
Quant Q&A

The document describes OANDA box options, which pay out when an exchange rate enters a chosen price interval during a specified time window. It distinguishes a successful bet on touching the interval from the opposite bet that the rate stays outside it, and…

ForexOptionsDerivatives pricing
Quant Q&A

The document explains a timing distinction in put–call parity for options on futures. At option expiry, the underlying futures contract may still be open. The value of a futures position then reflects the difference between the current futures price for that…

OptionsFuturesDerivatives pricingArbitrage
Quant Q&A

The document discusses how to construct state-price deflators in a two-period binomial model for a European call when the underlying is described by geometric Brownian motion. It distinguishes the real-world up-move probability from the risk-neutral…

OptionsDerivatives pricingStatistics
Quant Q&A

The document considers whether a turbo warrant should be modeled as a down-and-out barrier option. The described contract becomes worthless when the underlying reaches a barrier, while its quoted price is tied to the difference between the underlying price…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks how current and historical volatility, including skew, relate to observed option implied volatility. It frames implied volatility as potentially reflecting both the underlying asset’s volatility history and current conditions, as well as…

OptionsVolatilityStatistics
Quant Q&A

Dupire’s local volatility formula requires derivatives of option prices across strike and maturity, but market data provide only discrete quotes. Applying the formula therefore depends on interpolating prices, and the chosen interpolation can impose…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document asks how a continuous dividend yield should be incorporated when applying the Longstaff–Schwartz least-squares Monte Carlo method to price an American call. The author expects the dividend yield to affect simulated geometric Brownian motion…

OptionsDerivatives pricingStatistics
Quant Q&A

The document outlines ways to connect the Heston stochastic volatility model with the CBOE SKEW index, which reflects standardized third-moment information in S&P 500 returns. One proposed route starts from the log-return decomposition under Heston, then…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes a Python argument error when setting up QuantLib’s Monte Carlo barrier option engine. The immediate cause is that an integer is passed as the engine’s second positional argument, where the binding expects a string identifying the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explores how to use an equity alpha signal that sorts stocks into forecast-return groups, where average realized returns rise across the groups and lower-return groups also show lower realized volatility. It asks whether option positions, such…

EquitiesOptionsVolatilityPortfolio construction
Quant Q&A

The document considers a European cash-or-nothing option that pays when the terminal underlying value exceeds a strike, provided the process has first crossed a lower barrier. The underlying is modeled as driftless Brownian motion with constant volatility.…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks whether standard Black–Scholes–Merton (BSM) theta includes the cost of financing an option premium. It quotes a discussion from Taleb’s Dynamic Hedging that distinguishes theta from the trader’s financing carry: the option’s present value…

OptionsDerivatives pricingCarry
Quant Q&A

The document asks how mean reversion affects the price of a continuously monitored upper barrier knock-out call when comparing a mean-reverting normal process with a non-mean-reverting process calibrated to match vanilla prices. One response argues that the…

OptionsMean reversionVolatilityDerivatives pricing
Quant Q&A

The exchange describes using options on Treasury bond futures to adjust the interest-rate exposure of a fixed-income portfolio. For a long bond portfolio, buying puts on Treasury futures or, where permitted, writing calls can provide negative duration…

Fixed incomeFuturesOptionsRisk management
Quant Q&A

The exchange considers a proposed options signal that buys when forecast realized volatility exceeds current implied volatility. It cautions that this raw comparison is not automatically a valid trading rule because implied volatility often includes a…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document considers a call calendar spread after the underlying falls substantially by the expiry of the short-dated option. The trader asks how to reduce risk without closing the position or rolling it forward, noting that the spread appears delta…

OptionsDerivatives pricingRisk management
Quant Q&A

When an option is unavailable at a desired strike, the response suggests estimating its theoretical price with an option pricing model such as Black–Scholes–Merton. The model requires an implied volatility assumption; with that input and the custom strike, a…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document presents an attempted comparison between a Kemna–Vorst analytic valuation and a Monte Carlo estimate for a geometric-average Asian put whose averaging starts at the initial time. It includes code for both calculations and reports that, for the…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document explains why the familiar hedge of holding the derivative’s sensitivity to the underlying price applies when the option value can be written as a function of time and current state variables. In a Markov model with a single state variable, that…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks whether a trader should shift the effective barrier when hedging barrier options, focusing on up-and-out calls and down-and-in puts. The question contrasts knock-out and knock-in behavior: a hedge in an out option may be unwound when the…

OptionsDerivatives pricingRisk managementVolatility