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
WonderTrader
14 documents
Alphalens
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 examines an open foreign-exchange forward that lets its holder choose when to draw down or settle within a defined period, while requiring the full amount by maturity. The accepted response treats this flexibility as an option-like feature: at…

ForexDerivatives pricingOptionsVolatility
Quant Q&A

The document troubleshoots finding Black implied volatility from a cap price using a numerical root solver. It identifies two issues: the supplied cap prices use percentage-style values while the pricing formula expects decimal values, and the implementation…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document explains the interpretation of two volatility measures: the SPX convexity spread, defined as variance swap volatility minus at-the-money implied volatility, and the convexity ratio, defined as variance swap volatility divided by at-the-money…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document presents a Python attempt to reproduce results from Duan’s 1995 GARCH option pricing paper. It specifies GARCH parameters and a risk-neutral adjustment, simulates daily variance and innovations, evolves a stock price, and estimates a call price…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document answers a request for an inexpensive source of current option-chain data for European stocks such as Bayer, Siemens, Volkswagen, and Daimler. It points to Eurex, where many of these companies’ options are listed, and says market information can…

OptionsEquities
Quant Q&A

The document asks how long a standard implementation of the Longstaff–Schwartz Monte Carlo method would need to price an American put under Black–Scholes to more than ten digits of accuracy. It gives one practitioner’s response: their C++ implementation did…

OptionsDerivatives pricingStatistics
Quant Q&A

The document examines why a put option’s premium may rise by much less than its new intrinsic value plus its earlier out-of-the-money premium after the underlying falls through the strike. The explanation is that option Greeks describe changes in the total…

OptionsDerivatives pricingVolatility
Quant Q&A

This note considers the costs of buying SPY options near the market open and selling later in the day. It highlights explicit transaction charges and the bid-ask spread as separate drags on a trade. It also warns that option spreads may widen around the open…

OptionsExecutionMarket microstructureBacktesting
Quant Q&A

This note explains how to adapt QuantLib code after `DividendVanillaOption` was deprecated. The replacement is `VanillaOption`, constructed with the payoff and exercise terms alone; dividend information is supplied to the pricing engine instead. For a…

OptionsDerivatives pricing
Quant Q&A

The document asks how a continuity correction for a discretely sampled diffusion’s minimum improves the weak convergence rate of a lookback option payoff. The approximation adjusts each simulated grid value by a term proportional to the local diffusion…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document examines the relation between an option’s volatility, the underlying stock’s volatility, and the option’s elasticity. It asks whether this relation depends on the Black–Scholes model, referencing a textbook proof but supplying no derivation of…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why the undiscounted value of a European option can be a martingale, using the maturity bond as numeraire. Under the associated forward measure, the option value divided by the bond price equals the conditional expectation of the payoff…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion explains how to implement the Black–Scholes vega formula by clarifying the notation for the derivative of the standard normal cumulative distribution function. By the fundamental theorem of calculus, that derivative is the standard normal…

OptionsDerivatives pricingStatistics
Quant Q&A

The document derives an approximate mark-to-market value for a variance swap partway through its life. It splits total realized variance into the portion already observed and the expected variance over the remaining period, then weights each by its number of…

VolatilityDerivatives pricingOptionsRisk management
Quant Q&A

The document compares CME expiration language for serial options on several grain contracts. Most examples specify the last Friday that falls at least two business days before month-end, with a fallback to the preceding business day if that Friday is not a…

OptionsCommoditiesFutures
Quant Q&A

The document explains several apparent irregularities in historical SPX options data from 2008–2009. Traditional options can show Saturday expiration dates for historical reasons, although the practical settlement reference is Friday: the index close for…

OptionsUS marketsFuturesMarket microstructure
Quant Q&A

The document asks how to choose a log-growth-maximizing allocation for a portfolio holding a stock and an option through expiration, without continuous hedging. It contrasts the familiar single-asset Kelly formula with the harder joint problem and describes…

OptionsEquitiesPosition sizingRisk management
Quant Q&A

The document frames a model selection question for calculating option Greeks from a fitted volatility surface. It compares a local volatility model that matches the observed vanilla surface closely with a stochastic volatility model that may better represent…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why Vibrato Monte Carlo can estimate sensitivities when a derivative has a discontinuous payoff and full valuation under the model is difficult. It contrasts pathwise sensitivities, which require differentiating the payoff, with the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks how to differentiate the risk-neutral value of a call option with respect to its strike. It starts from the discounted expected payoff and restricts the integral to terminal prices above the strike, then cites the familiar results: the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares analytic approximations for American option exercise boundaries, including Kim’s integral equation and the Whaley approximation, with numerical PDE methods. It argues that PDE solvers can be preferable when pricing requires reliable…

OptionsDerivatives pricingVolatility
Quant Q&A

The document decodes a short market comment about a two-month Turkish lira put, describing an option with a five-delta level, a strike of 8, and a premium of 0.6%. In FX quoting terms, the position is a USD call and TRY put, with the strike expressed as…

ForexOptionsDerivatives pricing
Quant Q&A

The document contrasts the standard Black–Scholes pricing equation, which uses the risk-free rate r in both the underlying-price drift term and the option discount term, with a modified equation that uses a separate rate r′ to discount the payoff. It invokes…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document derives a European call price when the forward price follows a lognormal process with volatility that changes deterministically over time. The option expires at an earlier date than the forward's delivery date. Integrating the instantaneous…

OptionsDerivatives pricingVolatilityStatistics