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

20,364 documents

Quant Q&A

The document distinguishes ordinary open interest from dealer directional open interest (DDOI). Open interest counts outstanding contracts without identifying who holds the long or short side, while DDOI attempts to infer dealers’ net option exposure because…

OptionsMarket makingMarket microstructureDerivatives pricing
Quant Q&A

The document asks whether Bloomberg’s cash flow generator for newly issued collateralized loan obligations is suitable for discounted cash flow valuation. The responses describe the tool as translating the cash flow waterfall documented in a CLO’s…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document describes a finite-difference approach to effective duration for an interest rate instrument with optionality. The practitioner prices the instrument using a model calibrated to a discount curve and at-the-money swaption volatilities, shifts the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document considers how to infer a second asset’s covariance structure from that of a first asset and a relationship between their returns. One answer models the second asset’s return as a constant beta times the first asset’s return plus a small…

StatisticsVolatilityEquities
Quant Q&A

A single-look CMS spread option pays on the difference between two forward constant-maturity swap rates relative to a strike on one expiry date. A CMS spread cap or floor instead consists of options settling on multiple dates. Both structures can express a…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document addresses a mismatch between an analytic price and a Monte Carlo estimate for a floating lookback put under geometric Brownian motion. The question gives a volatility, maturity, interest rate, time step, and spot, and reports that the simulation…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document considers whether ordinary least squares can estimate the parameters of a GARCH model, which are commonly fitted using quasi-maximum likelihood. It summarizes a reference describing explicit OLS estimation for ARCH models through an…

StatisticsVolatilityMachine learning
Quant Q&A

The document explains why barrier-option Greeks cannot be represented by one general curve. Their shapes depend on spot, strike, barrier placement, volatility, and time to expiry. In a knock-out call, a rising spot can increase the call’s payoff potential…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explains how to select the interest rate input in Black–Scholes pricing. In the basic model, the rate represents short-term risk-free funding over the option’s life; a continuously compounded government bill yield with a maturity near the option…

OptionsDerivatives pricingFixed income
Quant Q&A

The document shows how to estimate the real-world probability that a stock will finish within a specified price interval using a geometric Brownian motion model. It treats the stated required annual return as the drift and, for illustration, uses implied…

EquitiesOptionsVolatilityStatistics
Quant Q&A

Vega and gamma often have the same sign for a single option under standard assumptions, but a calendar spread can produce opposite exposures. The example pairs a long near-dated at-the-money option with a short longer-dated at-the-money option, yielding long…

OptionsVolatilityDerivatives pricing
Quant Q&A

A total return swap (TRS) exchanges an asset’s returns, including price changes and income, for financing payments. The asset leg is valued from the asset’s current price and accrued returns through the valuation date; expected future gains are not…

Derivatives pricingEquitiesFixed incomeCarry
Quant Q&A

The document asks whether beta can be estimated using either excess returns or price returns. One answer challenges beta’s interpretation, arguing that regression results depend on whether beta exists in the data-generating process and whether the chosen…

EquitiesStatisticsFactor investing
Quant Q&A

The document considers pricing a European option when the underlying asset’s daily return is constrained to a fixed interval. It proposes replacing the usual return density with a two-sided truncated normal risk-neutral density, then valuing the option by…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explains two ways to simulate the return of a fixed-weight portfolio under a normal-return assumption. One method samples directly from a univariate normal distribution using the portfolio’s expected return and variance. The other draws asset…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The document contrasts rational exercise models with behavioral approaches for embedded options, such as mortgage refinancing rights and callable corporate debt. Borrowers and issuers may exercise based on private circumstances, including personal finances…

OptionsFixed incomeDerivatives pricing
Quant Q&A

This question asks how SABR is used in practical option workflows. It contrasts fitting or interpolating a volatility surface with SABR to obtain Black implied volatilities, then managing positions with Black Greeks, against measuring and managing risk…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

This discussion surveys day-count conventions used to calculate interest accruals across bonds, money markets, floating-rate notes, and other instruments. It lists examples such as 30/360, Actual/360, Actual/365, Actual/Actual, and Brazil’s Business/252,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

This troubleshooting note concerns an error raised by the rugarch package while running a rolling GARCH forecast with ugarchroll. The reported setup estimates an sGARCH model with an ARMA mean specification, then forecasts one step ahead over a rolling…

StatisticsVolatilityBacktesting
Quant Q&A

The question describes a hypothetical illiquid stock whose price tends to return to $10 after moving by about $1. With sparse orders, bids no higher than $8, and asks no lower than $12, it proposes improving the best available quote by $1 to attract trades…

Market makingMarket microstructureExecutionMean reversion
Quant Q&A

The document explains how a t-statistic can test whether a trading strategy’s average return differs from a null value, commonly zero. A small statistic indicates insufficient evidence to reject the null of no excess return. Because return observations can…

StatisticsRisk managementBacktestingPairs trading
Quant Q&A

The document presents a way to create a nonuniform numerical grid on the unit interval when a solution changes rapidly near both endpoints. It assumes a finite-difference problem, where grid density near sensitive boundaries can matter for accuracy. The…

StatisticsDerivatives pricing
Quant Q&A

The document explains how to express a Bachelier caplet as the difference between an asset-or-nothing payoff and a cash-or-nothing payoff. Under the stated forward-measure setup, the cash digital component is proportional to the strike times the probability…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document asks for a more accessible derivation of the semi-closed-form price of a European call under the Heston stochastic-volatility model. It does not derive the pricing formula itself; instead, the replies point readers toward a paper with a…

OptionsDerivatives pricingVolatilityStatistics