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

8,116 documents

Quant Q&A

The document concerns reproducing a short Monte Carlo example for pricing a European call under a GARCH(1,1) return and variance process. The question includes code with supplied random draws, a risk-neutral adjustment, a stock-price update, and a variance…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document asks whether options max pain—the strike associated with the greatest dollar value of options expiring worthless—predicts where the underlying will settle. Its answer argues that the idea rests on an assumption about options writers benefiting…

OptionsMarket microstructureStatistics
Quant Q&A

The document raises a pricing question about a reverse convertible denominated in euros and linked to a US dollar stock. It frames the product as a zero-coupon bond combined with a put, and asks how quanto adjustment affects both components. For the…

OptionsDerivatives pricingForex
Quant Q&A

The document asks whether SPX and SPY options should have matching implied volatility at the same expiration and log-moneyness, given that SPY tracks the S&P 500. It explains that the curves are generally correlated and often close, but need not match. ETF…

OptionsVolatilityEquitiesDerivatives pricing
Quant Q&A

The document asks what insight can be gained by integrating a simulated stock price path generated under a Merton jump-diffusion model. The response interprets the integral, after division by the observation horizon, as a time-weighted average price: each…

StatisticsExecutionOptions
Quant Q&A

The document considers a calendar spread that is short a call expiring first and long a call with the same strike expiring later. At the first expiry, the short call’s payoff is determined by the stock price, while the remaining long call still has time…

OptionsVolatilityDerivatives pricing
Quant Q&A

The question asks how to maintain a portfolio allocation to long volatility through repeatedly purchased straddles while limiting the chance of exhausting the capital assigned to the strategy. The brief answer points to the Kelly criterion as a framework for…

OptionsVolatilityPosition sizingRisk management
Quant Q&A

The document addresses how to choose when to rebalance a delta hedge for a delta-neutral straddle that is long volatility and exposed to time decay. It lists several practical triggers: a one-standard-deviation price move, a delta position crossing a risk…

OptionsVolatilityRisk managementExecution
Quant Q&A

The document derives the instantaneous profit and loss of an option position that is delta hedged while valued using implied volatility. It applies Itô’s formula to the option value using the underlying’s actual volatility, then combines that expression with…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document examines the relationship between gamma and theta in the Black–Scholes equation. Rewriting the pricing equation in terms of the Greeks shows that theta and the volatility-weighted gamma term are linked, but their sum also includes interest-rate…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks how to hedge the vega of an exotic option, such as a barrier, when its value depends on an implied-volatility smile rather than a single volatility input. It describes a workflow in which a pricing model is calibrated to a market smile and…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document explains why quantitative finance is broader than predicting the next stock move. It distinguishes market-making, where models help set fair customer prices and hedge exposures, from proprietary strategies that seek returns. In pricing and…

Market makingArbitragePairs tradingMean reversion
Quant Q&A

The document asks how to interpret an over-the-counter Asian option quote expressed as implied volatility, including whether that volatility corresponds to a same-price European vanilla option. Its answer does not define a unique vanilla-equivalent…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document discusses the practical inputs needed to calculate implied volatility for listed equity and equity-index options using Black–Scholes-style models. The question raises how practitioners estimate historical volatility across different horizons,…

OptionsEquitiesVolatilityDerivatives pricing
Quant Q&A

The discussion explains why filling historical option trades at the midpoint of quoted bid and ask can make a backtest too optimistic. A market maker generally quotes a spread to compensate for the risk of trading against a one-sided order, so the reply…

OptionsBacktestingExecutionMarket microstructure
Quant Q&A

The document asks how to use a local volatility function after estimating it from observed option prices. It presents the Dupire-style expression relating local volatility to derivatives of call prices with respect to maturity and strike. The proposed…

OptionsDerivatives pricingVolatility
Quant Q&A

The document identifies boundary conditions for valuing a European call spread with lower strike K₁ and higher strike K₂ under the Black–Scholes framework. At maturity, the payoff is the difference between the two call payoffs. As the underlying price…

OptionsDerivatives pricingVolatility
Quant Q&A

The document distinguishes estimating an option’s theoretical value from replicating its payoff through hedging. It considers a proposed approach that reads implied volatility from a surface by moneyness, assumes sticky delta, and applies the Black–Scholes…

OptionsDerivatives pricingRisk management
Quant Q&A

The discussion compares continuous-time finance models with discrete-time numerical approaches. One answer favors continuous time when it produces closed-form solutions, while suggesting discrete methods when a continuous model lacks one, since numerical…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses discretizing the running average when using a two-state-variable Forward Shooting Grid Method to price an American floating-strike arithmetic-average call. The option has already been active for part of its life, so the calculation…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document asks how to interpret risk-neutral probability in a one-step binomial model. It gives an up factor of 1.2, a down factor of 0.9, and a zero risk-free rate, then applies the standard formula that makes the discounted expected asset value match…

OptionsDerivatives pricingStatistics
Quant Q&A

The document clarifies that the VIX is derived from near-term options on the S&P 500 index, rather than options on SPY or ES futures. Its construction approximates the square root of a fair variance swap strike: weighted prices of out-of-the-money puts and…

OptionsVolatilityDerivatives pricingUS markets
Quant Q&A

The document considers what to trade with an imagined near-zero-latency program. It argues that speed within one data center is less decisive than the speed of communication between venues, so faster code alone does not confer a general trading advantage.…

FuturesOptionsArbitrageHigh-frequency trading
Quant Q&A

The question examines an apparent conflict between the risk-neutral geometric Brownian motion for a stock and the expected terminal price implied by no-arbitrage pricing. The resolution is to apply Itô’s lemma to the logarithm of the stock price. The log…

Derivatives pricingStatisticsOptions