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

10,263 documents

Quant Q&A

The document explains why a 10-year receiver and 20-year payer swap with equal and opposite DV01s may not offset under a parallel rate move. Equal DV01s cancel the positions’ first-order sensitivity at the starting curve, but they do not ensure equal…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document addresses which date to enter when calculating a Treasury bond’s yield from its clean price, and whether auction prices use the same approach. The answer recommends using the settlement date rather than the trade date or the most recent coupon…

Fixed incomeDerivatives pricing
Quant Q&A

The document describes how to align a QuantLib fixed-rate bond valuation with a Bloomberg clean price. The example concerns a Polish government bond valued on a specified date at a given yield. The initial QuantLib calculation differs from Bloomberg by a…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document answers a question about how far an asset price might move over a three-month horizon given its annualized volatility. The response treats the estimate as a static one-standard-deviation range, scaling volatility by the square root of time and…

VolatilityOptionsDerivatives pricingStatistics
Quant Q&A

The document explains how to obtain a forward discount factor and forward reference rate from discount factors observed from today to two future dates. For dates t1 and t2, it uses the multiplicative relationship between discount factors: the factor from t1…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to value a one-year at-the-money European call when volatility is specified as 20% for the first half-year and 90% for the second half-year. The proposed answer combines the two periods’ variances, weighted by their durations, and takes…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document sets up an arbitrage check for calls on the same underlying with strikes 100, 120, and 130 and prices 8, 5, and 3. It represents a portfolio with signed quantities, requires a negative initial cost, and writes its maturity payoff across regions…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document studies the stochastic behavior of marginal default density when default intensity follows a lognormal diffusion. It writes default density as intensity multiplied by survival probability, then applies Itô’s product rule to derive a stochastic…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document corrects a digital-call valuation under the stated risk-neutral dynamics, where the price has drift proportional to its current level and constant diffusion. The original calculation omitted the conditional mean of the terminal price, leading to…

OptionsDerivatives pricingStatistics
Quant Q&A

The document distinguishes zero rates, used to derive discount factors for valuing cash flows today, from forward rates, which are implied by zero rates and no-arbitrage relationships to describe rates over future periods. It frames curve selection as…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks what information a binomial tree must retain when valuing an up-and-in barrier option. The response assumes a European-style contract and proposes using knock-in/knock-out parity: the value of the corresponding vanilla European option…

OptionsDerivatives pricingStatistics
Quant Q&A

The document presents a question about implementing Tilley’s algorithm for pricing American options through simulated asset paths. The shown R approach generates risk-neutral paths, works backward through exercise dates, sorts paths by asset value, estimates…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document explores whether implied volatility in a diffusion model must be bounded by the model’s instantaneous volatility. It assumes the asset follows a stochastic-volatility diffusion under the pricing measure and considers a setting where…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains how negative risk free rates affect equity and index option valuation. It says the Black Scholes framework can accommodate negative rates, and an answer suggests setting very small negative CHF rates to zero as a practical…

OptionsDerivatives pricingFixed income
Quant Q&A

The document asks whether a Heston stochastic volatility model and a local volatility model derived from it produce identical option prices. It points to a comparison in Gatheral’s book and asks whether the equivalence depends on spot and variance having…

OptionsVolatilityDerivatives pricing
Quant Q&A

For puts with the same underlying and expiry, the displayed bid and ask quotes generally increase as strike prices rise. The question arose because some last-traded prices appeared to violate that pattern, leading the answers to distinguish current quotes…

OptionsDerivatives pricingMarket microstructureExecution
Quant Q&A

In investment banking, a curve is a set of values indexed by date, such as discount factors across maturities. A practical curve stores values at selected dates and uses interpolation to estimate values between them, since a value for every possible date is…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to interpret the ratio of a standard normal upper-tail probability to its density when evaluated at Black–Scholes d₁ for a put option. It identifies this as the Mills ratio and relates its reciprocal to the normal hazard rate, a concept…

OptionsDerivatives pricingStatistics
Quant Q&A

The document distinguishes three option price references. The last-traded price records the most recent execution and can remain unchanged when no further trades occur, even as current quotes move. A closing price may reflect the market around the exchange’s…

OptionsDerivatives pricingMarket microstructure
Quant Q&A

The document discusses the practical standing of the Linear Gauss–Markov model for interest rates and its relationship to other short-rate frameworks. It reports that one reference treats LGM under the name “Hagan and Woodward Parameterization,” and that two…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks why a bond pricing system switches discount factors during the final year before maturity. It contrasts annual compounding, using a factor based on yield raised over the time to payment, with simple-interest discounting, using yield…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document values a perpetual claim that pays one unit when a stock first reaches an upper barrier and pays nothing if it reaches zero. Under geometric Brownian motion, zero interest rates make the claim worth one, assuming the upper barrier is eventually…

OptionsDerivatives pricingStatistics
Quant Q&A

The document distinguishes current coupon spread duration from option-adjusted spread (OAS) duration for mortgage-backed securities. Current coupon spread is the excess yield on the current coupon mortgage over a reference yield curve. Its duration is…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note discusses how a short stock position can affect the carry embedded in an option strategy. In a short sale, the trader receives proceeds that may earn interest, while also paying a stock borrow fee. The net financing effect can reduce the effective…

OptionsEquitiesDerivatives pricing