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

8,116 documents

Quant Q&A

The document questions whether slowly changing estimated correlation matrices reflect genuinely stable markets or the smoothing effect of using a long rolling window. It highlights a potential implication for statistical arbitrage: strategies that rely on…

StatisticsOptionsArbitrageMarket microstructure
Quant Q&A

The document describes how option pricing is used in practice, emphasizing that model choice depends on the contract and market. It notes that standard Black-Scholes-Merton pricing can be sufficient for European-style listed index options, while…

OptionsDerivatives pricingMarket makingVolatility
Quant Q&A

Malliavin calculus extends differentiation to random processes such as Brownian motion, which are not differentiable in the ordinary sense. The document presents it as a stochastic counterpart to Itô calculus: where Itô calculus provides tools for stochastic…

OptionsDerivatives pricingStatistics
Quant Q&A

The document considers a European-style payoff that is positive when twice the log of the terminal asset price exceeds a strike parameter. Under geometric Brownian motion, the answer avoids solving a modified Black–Scholes partial differential equation…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks whether an option model can represent volatility as a deterministic function of strike alone. It distinguishes this idea from local volatility, which the author understands as deriving a volatility surface from market prices with dependence…

OptionsDerivatives pricingVolatility
Quant Q&A

The question asks how to calculate returns and a Sharpe ratio for a systematic options strategy that may open positions with no net premium paid. The response emphasizes that zero initial cost does not mean the strategy requires no capital: the trader must…

OptionsRisk managementBacktesting
Quant Q&A

The document describes a problem generating Monte Carlo paths from a QuantLib Black variance surface. The surface is interpolated and extrapolated from market data, with checks for decreasing total variance across maturities and butterfly irregularities, yet…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion considers estimating implied volatility at each intraday option tick when end-of-day implied volatility and Greeks are available alongside tick-level option and underlying prices. One shortcut estimates volatility changes from option price…

OptionsVolatilityDerivatives pricing
Quant Q&A

The note asks how the Black–Scholes framework extends to a stock paying a continuous dividend yield. It outlines a proposed construction that converts the dividend-paying stock into an auxiliary process by reinvesting the yield, then applies a change of…

OptionsDerivatives pricingStatistics
Quant Q&A

The response discusses ways to protect portfolio value and manage open positions. It describes portfolio insurance as hedging share exposure with put options, with puts placed below the acquisition price so they can gain value during a sharp decline. It…

EquitiesOptionsRisk managementExecution
Quant Q&A

The document distinguishes a delta-neutral hedge from a self-financing trading strategy in the Black–Scholes setting. A portfolio holding an option and a changing number of shares may cancel local price risk, but changes in the share position create…

OptionsEquitiesDerivatives pricingRisk management
Quant Q&A

The document raises a modeling question about computing option theta from the Black-Scholes partial differential equation when market implied volatility varies across strikes. It compares three approaches: standard Black-Scholes Greeks with implied…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains three common criticisms of the Heston stochastic volatility model: limited flexibility when fitting observed option volatility surfaces, unusual behavior in its forward volatility skews, and limited usefulness for some exotic pricing…

OptionsVolatilityDerivatives pricingEquities
Quant Q&A

The document shows how a narrow call spread approximates a cash-or-nothing digital option: subtract the call price at a slightly higher strike from the call price at the target strike, then divide by the strike interval. In the limit, this becomes the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks whether American option prices must increase with volatility whenever European option prices do, and seeks intuition for proving the result in more general models. The answer states that a standard American option under Black–Scholes is…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document investigates why a calculation for the delta of a foreign-exchange down-and-out call appears to produce an implausible negative value when the spot, strike, and barrier are entered on a larger numerical scale. The accepted answer approaches the…

ForexOptionsDerivatives pricingStatistics
Quant Q&A

The document considers how to reduce the worst losses of a bullish call spread by adding a bearish option position in a later expiry. It discusses balancing hedge size, the hedge’s cost, and the different rates of time decay across expiries. The proposed…

OptionsRisk managementBacktestingPosition sizing
Quant Q&A

The document explains why a higher risk-free rate can raise the value of a call on a non-dividend-paying stock, despite also increasing the discount applied to its future payoff. In the Black–Scholes framework, the same rate affects both the stock’s assumed…

OptionsDerivatives pricingEquities
Quant Q&A

The document presents a European call pricing comparison under the Heston stochastic volatility model. It gives a characteristic-function integral for the closed-form price and a Milstein-style discretization for simulating variance and log spot, then…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document raises a model-calibration question: whether parameters in the Heston–Nandi GARCH option-pricing model can be estimated by fitting model prices to observed option prices instead of using maximum likelihood. The proposed approach is to choose a…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains the claim that a derivative can be represented as a portfolio of its underlying asset and a risk-free asset. It connects this idea to continuous delta hedging in the Black–Scholes framework: adjusting the stock and bond positions can…

OptionsDerivatives pricingRisk management
Quant Q&A

The document compares using historical index returns directly in Monte Carlo option pricing with fitting a return distribution or a dynamic stochastic-volatility model. Its central pricing point is that option values are expectations under a risk-neutral…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks why QuantLib’s implementation of Margrabe’s formula computes forward prices using a risk-free discount factor when the familiar formula for an option to exchange one asset for another is often presented without an explicit risk-free rate.…

OptionsDerivatives pricing
Quant Q&A

This discussion considers how a shift from a currency peg toward a freer float could affect over-the-counter FX option prices, using the Moroccan dirham’s EUR and USD relationships as context. It notes that a regime change may bring a spot jump together with…

ForexOptionsVolatilityDerivatives pricing