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

The document addresses why option implied volatility may show a smile or a directional skew, and whether turbulent markets necessarily make one pattern more likely. Its central distinction is that a smile reflects a premium across the wings associated with…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document derives the Black–Scholes price of a claim paying the terminal stock price multiplied by its logarithm. It changes from the risk neutral measure associated with the bank account to the stock measure, applying Girsanov’s theorem to adjust the…

Derivatives pricingOptionsStatistics
Quant Q&A

The answer considers whether option positions can combine long gamma with short volatility, or short gamma with long volatility. It argues that a short-dated long straddle against a longer-dated short straddle does not provide the proposed combination, and…

OptionsVolatilityDerivatives pricingEvent-driven
Quant Q&A

The question asks how to adapt Black’s approximation, commonly used for American calls on dividend-paying stocks, to price puts when dividends are discrete. The response does not derive a put-specific version of Black’s approximation. Instead, it points to…

OptionsDerivatives pricingEquities
Quant Q&A

The discussion explains two identities used in variance swap analysis. Applying Itô’s lemma to the log of an asset price shows that its quadratic variation can be written as twice the integral of the asset’s proportional price change minus twice the change…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document describes a research need for reliable Heston option prices, especially for options far out of the money. The author reports that numerical instability in a current implementation produces slightly negative or oscillating prices, which then…

OptionsVolatilityDerivatives pricingMachine learning
Quant Q&A

The document describes how a delta-hedged option position can generate gains or losses as the underlying moves. Rebalancing the hedge offsets the option’s first-order price sensitivity, while the remaining daily change is approximated by a gamma term linked…

OptionsVolatilityRisk management
Quant Q&A

The document contrasts local volatility models, where price diffusion is driven by a volatility function of price and time, with stochastic volatility models that add a random volatility state coupled to the price process. It asks whether a local volatility…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains how implied volatility affects option value across moneyness in the Black–Scholes framework. Put–call parity links a deep in-the-money call to an out-of-the-money put, so their volatility sensitivities are qualitatively symmetric. This…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document investigates why two R packages produce different values for an American call using the Barone-Adesi–Whaley approximation. The answers identify two interface issues: one function takes spot before strike while another expects strike before spot…

OptionsDerivatives pricingStatistics
Quant Q&A

The document addresses two conceptual gaps in a Black-Scholes derivation: why the hedge removes risk and why the hedged portfolio must grow at the risk-free rate. It explains that choosing the stock position to match the option’s delta cancels the…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document explains why dynamically hedging an option’s delta does not generally turn the position into a risk-free bond equivalent. Delta hedging reduces exposure to small directional moves, but leaves volatility exposures, including gamma and vega, as…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document asks when Monte Carlo discretization is needed in financial modeling, given that geometric Brownian motion can be simulated exactly at selected dates. The responses name the LIBOR market model, Heston stochastic volatility, and local volatility…

Derivatives pricingOptionsStatisticsBacktesting
Quant Q&A

The document asks how to value a one-period payoff equal to the higher of two stock prices and whether stochastic calculus is necessary. For jointly normal prices, the accepted answer rewrites the maximum as one stock plus a call-like payoff on the…

EquitiesOptionsDerivatives pricingStatistics
Quant Q&A

The document asks how an issuer can value a callable bond before knowing its option-adjusted spread. It explains the market practice described in the answer: construct a credit curve from noncallable bonds when possible, then use an interest-rate lattice or…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document discusses ways to reduce sampling noise when simulating a Cox–Ingersoll–Ross interest rate process for option valuation. It recommends quasi-random sequences, with Niederreiter sequences given as an example, and control variates, suggesting a…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document considers what to call the attribute that distinguishes a call option from a put option. Suggested terms include “CallPut,” “PutCall,” and “OptionType”; some systems also use “Right,” though one response cautions that this can be misleading…

OptionsDerivatives pricing
Quant Q&A

The document explains how least-squares Monte Carlo (LSM) values an American option and identifies when exercising is preferable to continuing to hold it. Working backward from terminal payoff, the method estimates each time step’s discounted continuation…

OptionsDerivatives pricingMachine learningStatistics
Quant Q&A

The document explains why differentiating a Black–Scholes option price with respect to time does not include a derivative of the stock price. The option pricing formula treats time and spot price as separate arguments: a partial derivative with respect to…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks how to connect risk-neutral moments of simple gross returns to moments of log returns under a Black–Scholes model. It applies Itô’s lemma to obtain the stock’s terminal value, then uses the moment-generating function of a normal variable to…

Derivatives pricingOptionsVolatilityStatistics
Quant Q&A

The document compares an equal-strike interest rate floor with a receiver swaption on the same underlying forward rate exposure and asks which is more valuable. Under single-curve pricing, the receiver swaption’s payoff is no greater than the sum of the…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document resolves an apparent paradox: an American put’s value is at least its immediate exercise payoff, yet early exercise can still be optimal. The option value is the greater of immediate exercise value and the best expected discounted payoff from…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document discusses reducing Monte Carlo pricing variance for a European put under a stochastic volatility simulation. The questioner uses the terminal stock price as a control variate and reports a modest reduction in the estimated standard error after…

OptionsStatisticsBacktestingDerivatives pricing
Quant Q&A

The document compares a European call price computed from a binomial model with a Monte Carlo estimate. In a binomial model, the risk-neutral probability is derived from the up and down factors and the risk-free rate. The terminal payoff is then averaged…

OptionsDerivatives pricingBacktesting