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

vn.py community

This forum exchange addresses duplicate or misaligned intraday bars in an options strategy. A user reports that live indicator signals occur at different times from backtest signals and observes repeated minute-bar pushes from an option bar generator. The…

OptionsMarket microstructureBacktestingExecution
Amberdata research

This market recap reviews Bitcoin and Ethereum options after an upside move. It reports rising realized volatility in both assets, with implied volatility lagging, and negative carry. The author links the demand for volatility to price moves exceeding…

CryptoOptionsVolatilityCarry
Quant Q&A

The document clarifies dimensional consistency in the Black–Scholes stock price stochastic differential equation. If price is measured in currency and time in days, the drift coefficient has units of inverse time. To keep the diffusion term dimensionally…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks how to interpret the Basel framework’s requirement to calculate equity vega “along one dimension.” It considers a two-year option whose theoretical vega depends on strike and maturity, then describes projecting the exposure to adjacent…

EquitiesOptionsVolatilityRisk management
Quant Q&A

A calibrated implied volatility surface represents option volatility across strikes or deltas and maturities. It can interpolate prices for contracts without direct market quotes, support smooth inputs for calculations such as Dupire local volatility, and…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document discusses ways to obtain option-chain information for a chosen underlying, including strikes, expirations, trading volume, and open interest. The responses distinguish freely viewable or scrapeable option-chain pages from historical tick-level…

OptionsMarket microstructure
Quant Q&A

The document prices a cash-or-nothing digital payoff that pays when the terminal stock price squared exceeds a threshold. Under the usual Black–Scholes assumptions with constant interest rate, dividend yield, and volatility, the key simplification is that…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks how to convert an option-implied probability distribution into real-world probabilities, especially for downside market moves. It describes estimating an implied density from option prices across nearby strikes: interpolate missing prices…

OptionsDerivatives pricingStatisticsVolatility
Quant Q&A

The document explains rate inputs for pricing a one-year EUR/GBP option and distinguishes OTC options on spot FX from listed options on FX futures. For spot FX, it describes the Garman–Kohlhagen form of Black–Scholes, in which domestic and foreign rates both…

ForexOptionsDerivatives pricingFixed income
Quant Q&A

The note explains how to price a put option whose underlying is a European call, also called a compound option. At the put’s expiration, each node in the stock tree has a corresponding value for the still-live call. The put-on-call payoff at that node is the…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document addresses how to describe a cap or spread attached to a monthly sum option. It asks whether these elements should be categorized as features or limits, highlighting that terminology may depend on the audience and the purpose of the description.…

OptionsDerivatives pricing
Quant Q&A

The document poses a basic discrete-time finance problem: a savings account grows by a fixed factor, while a stock can move to one of two values. The stock’s initial value is normalized, and the two possible outcomes lie on opposite sides of the savings…

StatisticsDerivatives pricingOptions
Quant Q&A

The document explains why a binomial option tree is evaluated backward from its terminal nodes. At expiration, the option payoff is determined by the underlying price in each scenario. Discounted risk-neutral expectations then propagate option values toward…

OptionsDerivatives pricingStatistics
Quant Q&A

This document raises a sign-convention question about the current cost of a levered hedge in the Cox–Ross–Rubinstein option-pricing framework. The portfolio consists of written calls, purchased shares, and borrowed funds. Its payoff at expiration is…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document compares Longstaff–Schwartz least-squares Monte Carlo with a forward Monte Carlo approach for pricing an American call. It explains that each method relies on an estimated exercise policy, so each reported price is a lower bound on the option’s…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document explains how to derive past expiration dates for WTI options when a historical calendar is unavailable. It starts from the underlying futures contract: its final trading day falls three business days before the 25th calendar day of the month…

CommoditiesOptionsFutures
Quant Q&A

This note asks how to construct a security whose value responds to implied volatility by holding call options and managing the other risks embedded in them. Calls have positive vega, but also carry exposure to the underlying, time decay, interest rates, and…

OptionsVolatilityRisk managementDerivatives pricing
Quant Q&A

This discussion considers boundary conditions for an implicit finite-difference solution of the Black–Scholes PDE after transforming spot into log-price. It compares fixing call values at finite grid edges with imposing slope conditions based on the call's…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

This note interprets the ratio of the standard normal cumulative probabilities Φ(d₂) and Φ(d₁) in the Black–Scholes call formula. The call value is expressed as the stock holding value, S₀Φ(d₁), minus the discounted-strike cash amount, Ke⁻ʳᵀΦ(d₂). Thus Φ(d₁)…

OptionsDerivatives pricingRisk management
Quant Q&A

This note examines whether a call option can be replicated in a one-period binomial market that admits arbitrage. It proposes a bond-and-stock portfolio and gives stock-price outcomes and a range of strikes and hedge positions for which the calculated…

OptionsDerivatives pricingArbitrageStatistics
Quant Q&A

The document examines whether rebalancing a delta hedge more often changes only the path and variance of profit and loss or can also change its expectation. A hypothetical long straddle example shows how frequent rebalancing can capture intraday round trips…

OptionsVolatilityRisk managementStatistics
Quant Q&A

The document explains how to think about hedging a European option that pays the positive difference between two asset values. Its pricing expression uses both assets, their carry rates, and a combined volatility that depends on their individual volatilities…

OptionsDerivatives pricingRisk management
Quant Q&A

The document explains how gamma and theta shape the profit and loss of a long call hedged by shorting the underlying. A local change in the hedged portfolio is approximated by theta decay over time plus a positive gamma contribution proportional to the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document sets up a pricing problem for a value function with geometric Brownian motion, a terminal put payoff, a constant running cost, and a constant intensity term that pulls the value toward a separate put-like payoff. It applies a Feynman–Kac…

OptionsDerivatives pricingStatistics