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

9,797 documents

Quant Q&A

The document asks which securities offer options expirations more often than monthly, motivated by a strategy of buying near-the-money calls when little time value remains close to expiration. It notes that many U.S. stock options expire on the third Friday…

OptionsFuturesFixed income
Quant Q&A

The discussion clarifies which expiry to use when applying a Black-style model to an option on a VIX future. It says to use the option’s exchange-published expiration date, measured from the valuation date, rather than the maturity of the underlying futures…

OptionsFuturesDerivatives pricing
Quant Q&A

The document explains why forward prices can matter to option valuation even when a Black–Scholes formulation is written using spot and an interest rate. For equities, no-arbitrage cash-and-carry reasoning connects spot, funding, dividends, and the forward…

OptionsFuturesDerivatives pricingArbitrage
Quant Q&A

The document defines IMM dates as the third Wednesday of March, June, September, and December, then gives an Excel date formula for generating the next quarterly date from a starting date. The formula advances three months, finds the first Wednesday in the…

FuturesOptions
Quant Q&A

The document considers a physically settled crop futures contract when the farmer cannot deliver after a natural disaster destroys the crop. The answer explains that the contract remains in force and that failure to deliver can constitute default,…

FuturesCommoditiesRisk management
Quant Q&A

The document explains why futures open interest can be an odd number even though every open contract has both a long and a short. Open interest counts contracts, not the two sides separately, so its value does not need to be even. When both parties open…

FuturesMarket microstructure
Quant Q&A

The document outlines a scenario-based approach to assessing the richness or cheapness of a government bond futures basis and asks how to value the end-of-month switch option. The described steps estimate historical betas for yield changes, apply directional…

FuturesFixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to infer market expectations for a future central bank decision from overnight indexed swaps or short-term interest rate futures. It introduces an OIS relationship that equates the fixed leg’s accumulation with compounded daily…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The document discusses which market instruments can provide data for constructing yield curves during the transition from LIBOR to SOFR. It describes the familiar LIBOR approach, which uses forward rate agreements, futures, and swaps referencing the relevant…

Fixed incomeFuturesDerivatives pricingMarket microstructure
Quant Q&A

The document addresses where to obtain historical European Union Allowance futures data at intraday frequency for carbon market research. The response points to a commercial market data vendor that offers trade histories and, optionally, quote histories for…

FuturesCommoditiesMarket microstructureBacktesting
Quant Q&A

The document explains how closing a futures or perpetual futures position changes a trader’s net exposure. A trader closes a long by selling the contract, which opens or increases a long position for whoever buys it. The original short position remains open;…

FuturesPerpetual futuresMarket microstructure
Quant Q&A

The document addresses how a T-forward measure can be used when a directly observed zero-coupon bond for the required maturity is unavailable. It explains that market curves are built from instruments spanning different horizons: spot borrowing rates anchor…

Fixed incomeDerivatives pricingFuturesStatistics
Quant Q&A

The document examines whether the conditional covariance of two assets at a later date can be decomposed by conditioning on their forward values at an intermediate expiration. It starts from the usual expression for covariance as the conditional expectation…

StatisticsFuturesDerivatives pricing
Quant Q&A

The document asks whether the minimum-variance hedge ratio derived from returns also minimizes variance at the price level. It highlights that a hedge ratio chosen to reduce variation in changes or returns may not optimize variation in price levels,…

FuturesRisk managementStatistics
Quant Q&A

The discussion considers how to estimate a smooth price distribution when most observed intraday futures prices occur only once. It suggests starting with a histogram, where the chosen price-bin width changes the visible clusters, and describes kernel…

FuturesStatisticsTechnical indicators
Quant Q&A

The document describes the role of trading classes in Interactive Brokers contract identification. A trading class adds an identifying layer when a symbol, expiration, and currency may not uniquely distinguish securities, such as when related contracts have…

FuturesOptionsMarket microstructure
Quant Q&A

The document outlines practical challenges for a firm moving from vendor-provided end-of-day data to live feeds from exchanges. Direct access means handling exchange-specific formats and APIs, building and maintaining parsers, and arranging network…

Fixed incomeFuturesOptionsMarket microstructure
Quant Q&A

The document asks whether a long position in a quarterly bitcoin future and a short position in a perpetual swap can remain market neutral. It explains that perpetual swaps have no expiry and use funding payments to help keep their prices near spot. The…

CryptoFuturesPerpetual futuresCarry
Quant Q&A

The document derives a linear state-space representation for estimating parameters in a futures price model with two latent factors. The state variables follow continuous-time stochastic processes: one mean-reverts, while the other accumulates shocks.…

FuturesStatisticsVolatilityDerivatives pricing
Quant Q&A

The document asks whether potential pairs can be screened faster than testing every stock pair across every tick. It describes a theoretical approach based on fast matrix multiplication, which can reduce the asymptotic cost of computing a correlation matrix.…

Pairs tradingStatisticsEquitiesFutures
Quant Q&A

The document compares two ways to infer expected Federal Reserve rate changes across upcoming meetings: differences between successive overnight index swap rates, and implied average rates from fed funds futures. It gives a dated example using swap quotes…

Fixed incomeFuturesUS markets
Quant Q&A

The document clarifies how to identify the cheapest-to-deliver bond in a futures contract. The seller’s relevant comparison is each eligible bond’s market price relative to its futures invoice price, which incorporates the conversion factor. The CTD is the…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document describes a QuantLib issue encountered while bootstrapping a futures-based yield curve. A FuturesRateHelper constructed with explicit start and end dates, an ASX futures type, and numeric price and convexity inputs returns a null maturity date;…

Fixed incomeFuturesDerivatives pricingBacktesting
Quant Q&A

The document asks how to create a QuantLib business calendar from a supplied list of holidays and weekends when standard country or currency calendars do not match the relevant market schedule. The answer shows the basic approach: start with a weekends-only…

FuturesFixed incomeStatistics