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
Quantpedia
86 documents
TqSdk
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

9,797 documents

Quant Q&A

The document explains why the implied repo rate for a bond in a futures contract is below that bond’s term repo rate. The key comparison is between the futures price and the bond’s forward price for delivery, adjusted by the conversion factor. To rule out…

Fixed incomeFuturesArbitrageDerivatives pricing
Quant Q&A

The document discusses practical inputs for a rough cost-to-carry estimate of a distant-expiry Nikkei 225 index future. Its proposed dividend input is a market-implied dividend strip, with the annual dividend amount translated into a continuous yield by…

FuturesEquitiesCarryDerivatives pricing
Quant Q&A

The document derives the relationship between futures and forward prices when the underlying asset and short rate are stochastic and correlated. It assumes a geometric process for the asset price and a mean-reverting short-rate process, then integrates the…

FuturesDerivatives pricingStatisticsFixed income
Quant Q&A

The document discusses whether options can reproduce an index that tracks one asset’s performance relative to another, such as a stock against a broad market benchmark. It distinguishes the index exposure from an option on that index: a long position in the…

EquitiesOptionsPairs tradingFutures
Quant Q&A

The note explains why traders compare a current yield-curve trade with its forward curve level. Its example contrasts a steeper spot slope with a flatter slope implied for a future date. A trader could enter a steepener at the forward slope; if the spot…

Fixed incomeFuturesCarry
Quant Q&A

The document discusses a time series of implied repo for the cheapest-to-deliver bond in a Treasury futures contract. The author finds that implied repo tracks SOFR reasonably well but has sharp spikes, especially near the end of the delivery month, and asks…

Fixed incomeFuturesExecutionMarket microstructure
Quant Q&A

The document distinguishes cash-equity ownership from exchange-traded futures and over-the-counter derivatives. It explains that a cash-equity buyer can hold the security through a custodian or in certificate form, while futures are exchange-listed contracts…

EquitiesFuturesMarket microstructure
Quant Q&A

The document constructs an arbitrage involving a short stock position, interest-bearing short-sale collateral, a money-market investment, and a forward contract. The setup assumes a continuously compounded financing rate, a collateral fraction of the spot…

ArbitrageFutures
Quant Q&A

The discussion asks whether forward prices should be bootstrapped into estimated spot prices before calculating correlation between two commodities. One response recommends using returns from liquid futures contracts as a practical proxy: calculate daily…

CommoditiesFuturesStatistics
Quant Q&A

The document explains the conversion-factor adjustment in a duration hedge using bond futures. With a single cheapest-to-deliver bond and no delivery optionality, the futures price is the CTD bond delivery price divided by its conversion factor.…

FuturesFixed incomeRisk managementPosition sizing
Quant Q&A

The document explains the rationale behind bond futures conversion factors: they translate the futures invoice price into a comparable amount for eligible delivery bonds with differing coupons and maturities. The cited explanation says maturity and coupon…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The document explains how corporate actions affect single-stock futures and options. It distinguishes stock splits, which are handled through contract adjustments, from dividends, which can change the market value of the underlying shares and therefore the…

EquitiesFuturesOptionsDerivatives pricing
Quant Q&A

A futures option gives its holder the choice to enter a specified futures contract at the option’s strike price. Exercising creates a futures position with that contract price; it does not mean paying the strike amount upfront as though buying the underlying…

FuturesOptionsDerivatives pricing
Quant Q&A

The document compares two proposed denominators for measuring returns on a bond futures contract: the contract’s stated face value and the futures price at the start of the period. It favors the starting price as the more appropriate basis, consistent with a…

FuturesFixed incomeRisk management
Quant Q&A

The note discusses whether volatility helps explain or forecast the equity premium, focusing on the gap between implied volatility and estimated realized volatility. It suggests estimating variance from OHLC data, smoothing it with an ARCH-family model, and…

EquitiesVolatilityFuturesStatistics
Quant Q&A

The document surveys sources and methods for choosing position sizes in futures trading. It points to the Kelly criterion, which sizes exposure based on expected returns and risk, and notes that fractional Kelly uses a reduced fraction of the full Kelly…

FuturesPosition sizingRisk management
Quant Q&A

The document explains why an ETF that maintains exposure by rolling futures can have a forward value close to its current net asset value, despite differences between spot and futures prices. Because the fund sells expiring contracts and reinvests the…

FuturesCommoditiesOptionsDerivatives pricing
Quant Q&A

This note clarifies when the risk-neutral drift equals the risk-free rate and why market forwards or futures may be used to set drifts in pricing and risk simulations. For an asset with no dividends, carry expenses, or repo costs, the risk-neutral drift is…

FuturesDerivatives pricingRisk managementStatistics
Quant Q&A

The note explains why put-call parity can appear to differ between formulas for options on spot and options on futures. For spot options, the call-minus-put relationship uses a discount factor applied to the forward-minus-strike amount. For options on…

OptionsDerivatives pricingFutures
Quant Q&A

The document addresses how to view historical or intraday prices for options on E-mini S&P futures, when readily available futures charts do not provide the desired options data. It notes that some sites show current option prices but may not offer price…

OptionsFuturesEquitiesUS markets
Quant Q&A

The document discusses choosing a Python backtesting framework for a team familiar with Quantstrat, especially one interested in granular data, parameter sweeps, and futures. The response recommends BackTrader as a complementary research tool, emphasizing…

BacktestingFuturesTechnical indicators
Quant Q&A

The answer distinguishes Eurodollar futures from the short-term deposit market. A futures contract references a notional amount and interest rate exposure, but entering the contract does not transfer the principal from one bank to another. Instead, buyers…

FuturesFixed incomeDerivatives pricingMarket microstructure
Quant Q&A

The document explains how a bond becoming special in repo can affect its cash price and its forward price. The response first fits a discount curve to several bonds, then represents the temporary repo specialness with a separate curve and combines the curves…

Fixed incomeFuturesCarryDerivatives pricing
Quant Q&A

The document clarifies the distinction between a quoted cash or spot reference for the S&P 500 and a listed E-mini futures contract. The cash reference reflects the index level; it is not itself an exchange-traded instrument that can be bought or sold. The…

FuturesEquitiesUS markets