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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

12,303 documents

Quant Q&A

The document asks how to estimate implied volatility for an American option on a deferred commodity futures contract when the option expires on the date associated with a nearer futures contract. It distinguishes volatility by both option expiration and…

OptionsFuturesCommoditiesVolatility
Quant Q&A

The document explains that implied volatility is inferred by applying an option-pricing model in reverse to quoted option prices. In the Black–Scholes framework, a higher quoted option price corresponds to a higher implied volatility, so the displayed…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document asks whether historical implied volatility can be downloaded from Interactive Brokers. The responses indicate that a dedicated utility may not be available and describe a possible workaround: retrieve historical option prices through the API,…

OptionsVolatilityDerivatives pricingExecution
Quant Q&A

The document considers a three-day, 95% value-at-risk estimate for a long European call when the underlying follows geometric Brownian motion. It describes valuing the option with Black–Scholes, deriving a lower-tail stock-price quantile from the lognormal…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The discussion surveys possible ways to obtain historical daily quotes across VIX option strikes and expirations. One response says reliable public data may be unavailable and cautions that analysis may also require the corresponding VIX futures history,…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document describes a way to account for recurring time-of-day patterns when estimating volatility with GARCH on hourly returns. It recommends estimating a deterministic intraday periodicity component and filtering returns by that component before fitting…

VolatilityStatisticsBacktesting
Quant Q&A

The document frames a model-design problem for estimating the concentrated positions component of an additional valuation adjustment for derivatives. It proposes relating price or volatility impact to the volatility of valuation inputs, bid–ask spread…

Derivatives pricingVolatilityMarket microstructureRisk management
Quant Q&A

The document discusses how to validate an implementation of Dupire’s equation when deriving local volatility from an implied volatility surface. The question proposes starting with a flat implied-volatility surface, then testing a surface with term structure…

Derivatives pricingVolatilityOptions
Quant Q&A

The document explains when an FX volatility smile quote for a put can be matched to a call quote with the complementary delta. Under the forward delta convention, put and call deltas at the same strike sum to one, so a 95-delta put and a 5-delta call…

ForexVolatilityDerivatives pricing
Quant Q&A

The answer distinguishes daily returns from intraday returns when calculating historical volatility. For close-to-close volatility, it describes taking the standard deviation of daily log returns and scaling by the square root of an assumed number of trading…

ForexVolatilityStatistics
Quant Q&A

The document examines how correlation can affect best-of and worst-of options and discusses confusion arising from the payoff definition. The questioner's Monte Carlo example simulates correlated terminal prices for two assets and reports that the price of a…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document answers whether local volatility can be estimated using only the spot price at a particular time. It explains that Dupire’s approach derives local variance as a function of option maturity and strike from a surface of call prices, rather than…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document examines why a finite-step Taylor expansion for an option price can include the squared asset-price increment, while a continuous-time Itô calculation uses quadratic variation. It distinguishes two ways to express a change in a smooth function:…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers how to specify the mean equation when forecasting stock index return volatility with a GARCH model. One workflow first selects AR and MA terms for the mean using an ARIMA procedure, estimates that equation by least squares, and checks…

EquitiesVolatilityStatisticsBacktesting
Quant Q&A

The document concerns estimating parameters for a stochastic volatility model in which variance follows a Cox–Ingersoll–Ross (CIR) square-root process. The question asks for estimation from time-series data rather than option prices, with quasi-maximum…

StatisticsVolatilityMachine learning
Quant Q&A

The document asks whether volume-based bars can make fixed-parameter strategies more responsive to changing market activity. It starts from the observation that equal calendar periods may represent very different conditions, then suggests volume bars as a…

Portfolio constructionVolatilityTrend following
Quant Q&A

The document considers how to calculate returns from one-minute price bars when a trading session begins after a long market closure. The first observed price of a session and the prior session’s final price produce a return spanning far more than one…

ForexStatisticsVolatilityMarket microstructure
Quant Q&A

The document asks how to build a simple parametric value-at-risk estimate for comparison with ISDA SIMM initial margin. It specifically raises whether the profit-and-loss distribution should be normal or asymmetric, and whether a model should include option…

OptionsVolatilityRisk managementDerivatives pricing
Quant Q&A

Realized variance is an estimate of intraday variation, not by itself a model for forecasting volatility across days. To forecast future volatility, a model must specify how information from realized measures relates over time. The document describes…

VolatilityStatisticsHigh-frequency tradingRisk management
Quant Q&A

The document discusses how to infer implied volatility from an option’s bid and ask prices. It compares averaging the prices before solving for implied volatility with solving for each quote’s implied volatility and averaging those values. Although the…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document asks how to read derivative notation in conditions from a theorem on arbitrage-free SVI volatility surfaces. One condition uses a time derivative of a parameter and requires it to be nonnegative. Another bounds the derivative with respect to…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document examines whether scaling a risky portfolio by the ratio of a target volatility to estimated volatility guarantees that realized portfolio volatility converges to the target. The answer first shows that, if next-period conditional volatility were…

VolatilityRisk managementPosition sizingStatistics
Quant Q&A

The document outlines how Lévy processes can model log stock prices through exponential Lévy models. It explains that these processes combine drift, diffusion, and jumps, and distinguishes finite-activity jump models from models with infinitely many jumps.…

EquitiesOptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to price a floating-strike American lookback option when the client pays a running fee over the option’s life instead of an upfront premium. It contrasts this with a European option, where the questioner views the total fee over the…

OptionsDerivatives pricingVolatility