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 interprets the stock return term in the Black–Scholes setting as a proportional, rather than dollar, rate of price change. Dividing the instantaneous price change by the current price expresses movement as a percentage change. The discrete-time…

OptionsDerivatives pricingStatistics
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 asks how to infer a stock price probability distribution from option prices and track changes in that distribution over time. One response identifies implied probability densities, also called state price densities, as the relevant framework.…

OptionsDerivatives pricingStatistics
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 answer explains how to move from a Bachelier underlying with an unspecified physical drift to a risk-neutral process for pricing a European call. It starts with the discounted asset price and uses the martingale condition to identify the required drift…

OptionsDerivatives pricingStatistics
Quant Q&A

The document reviews a Heston option-pricing implementation that produces negative probabilities or prices under extreme inputs, despite giving plausible at-the-money results for other parameter choices. The implementation applies a characteristic-function…

OptionsDerivatives pricingStatisticsRisk management
Quant Q&A

The note explains why the profit and loss of a portfolio hedged with stock must include dividends received or owed on the stock position. It writes the portfolio value with a money market account, stock, and short derivative, then tracks those holdings over…

OptionsDerivatives pricingRisk management
Quant Q&A

The note rewrites the payoff of a power option, defined as the underlying raised to a power times a call payoff, as a difference of two asset-or-nothing binary call payoffs. It first expands the payoff into two terms, each gated by the condition that the…

OptionsDerivatives pricing
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 examines whether an option and its underlying stock require risk premiums in a binomial pricing model when their payoffs can be replicated using other instruments. The central issue is a confusion between replication and hedging: constructing a…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document describes the inventory challenge faced when quoting many option strikes and levels in a fast market. Frequent fills change the portfolio’s delta, but immediately hedging every fill with taker orders can incur substantial spread costs. Waiting…

OptionsHigh-frequency tradingMarket makingRisk management
Quant Q&A

The document presents a Delphi implementation of the Black-Scholes formula for European call and put options. It calculates the standard d1 and d2 terms from spot price, strike, time to expiration, interest rate, and volatility, then applies the cumulative…

OptionsDerivatives pricingStatistics
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 investigates why a simulated call price comes out as zero when the Black–Scholes calculation gives a positive value. Its proposed remedy is to simulate the underlying under the risk-neutral geometric Brownian motion process, using the risk-free…

OptionsDerivatives pricingStatisticsBacktesting
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 gives an approximation for the probability that a stock touches a short strangle’s higher strike without touching its lower strike. It defines events for touching each side and expresses the desired probability as the probability of touching the…

OptionsStatisticsRisk management
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 asks how to apply stratified sampling, a variance reduction technique, when pricing Asian options by Monte Carlo simulation. It contrasts stratifying the terminal Brownian motion value for a European option with stratifying the average of…

OptionsStatistics
Quant Q&A

The discussion examines a long-dated equity index call whose hedged profit and loss appears sensitive to interest rates. It questions whether a standard Black–Scholes formula using a current LIBOR rate and ordinary delta hedging remains appropriate when…

OptionsFixed incomeDerivatives pricingRisk management
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

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 poses a valuation problem for a software investment whose daily revenues depend on an exchange rate and whose costs depend on a commodity price. The proposed simulation models both underlying prices as geometric Brownian motions estimated from…

OptionsCommoditiesForexDerivatives pricing