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
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 considers how to hedge an obligation to buy an asset under a forward contract at a future date. Buying a put with a strike equal to the forward purchase price establishes a floor on the value obtainable by selling the asset, but it requires…

OptionsFuturesRisk managementDerivatives pricing
Quant Q&A

The document asks how quantitative strategies can compare derivatives with different expiries, prices, and volatility characteristics, using commodity futures as an example. It highlights a limitation of applying a single-price time-series method, such as a…

FuturesCommoditiesDerivatives pricingTechnical indicators
Quant Q&A

The document works through a hedge for a company planning to issue 180-day commercial paper. Because the company benefits from higher short-term rates when issuing the paper, it can short Eurodollar futures; the example scales the position by comparing the…

FuturesFixed incomeRisk managementPosition sizing
Quant Q&A

A baker who will need wheat later can hedge the uncertain purchase price by going long futures contracts that mature when the wheat is needed. The document explains the cash flows at maturity: the futures gain is the spot price at maturity minus the initial…

FuturesCommoditiesRisk management
Quant Q&A

The note explains daily variation margin by contrasting futures with assets such as stocks and options. When an investor buys a stock or an option, cash changes hands at the initial transaction; later price moves alter the account’s marked value. The…

FuturesOptionsMarket microstructure
Quant Q&A

The question compares a probability shown by the CME FedWatch Tool with a calculation based on a fed funds futures price, the effective rate for part of the month, and the number of days affected by a rate decision. The author finds that the calculation…

Fixed incomeFuturesUS marketsStatistics
Quant Q&A

The document addresses why a futures contract’s notional value can be difficult to define, using a Eurodollar futures position as the motivating example. Its main point is that notional is not necessarily governed by one universal formal definition. In…

FuturesFixed incomeRisk management
Quant Q&A

A portfolio long the EuroStoxx 50 total return index and short its futures appears to earn about 15% over ten years, exceeding the return of three-month Euribor. The discussion explains why this spread should not be treated as a risk-free arbitrage. A…

EquitiesFuturesArbitrageExecution
Quant Q&A

The document asks whether Quandl’s Wiki Continuous Futures series are already adjusted for contract rolls and how to handle them in rolling train-and-test backtests. It distinguishes continuous series from explicitly back-adjusted data: the presence of a…

FuturesBacktestingStatistics
Quant Q&A

The discussion explains the contract convention behind the $25 DV01 of a Eurodollar futures contract. The contract quote is 100 minus annualized three-month LIBOR, so a one-basis-point rate move corresponds to a small change in the quoted price. The…

FuturesFixed incomeRisk management
Quant Q&A

The document explains why a futures backtest needs to model the transition from an expiring contract to a later-dated contract. A price difference between those contracts is not itself a trading gain or loss: a live trader closes the expiring position and…

FuturesBacktestingCarry
Quant Q&A

The document explains why a futures quote usually does not predict where the underlying asset’s spot price will be at expiration. For storable commodities and financial products, arbitrage links futures and spot prices: financing, storage, insurance, and…

FuturesCommoditiesArbitrageCarry
Quant Q&A

The document asks when an American put and a European put on the same underlying can have equal value, motivated by checking an American put binomial-tree implementation. It notes that early exercise does not benefit a call on a non-dividend-paying stock, so…

OptionsDerivatives pricingFuturesStatistics
Quant Q&A

The note outlines a way to express a Eurodollar futures rate when the short rate follows a Vasicek process. It treats the futures settlement rate as the risk-neutral expectation of the three-month LIBOR rate at its fixing date. LIBOR is written as an…

FuturesFixed incomeDerivatives pricingStatistics
Quant Q&A

The document analyzes the carry of a long bond, short futures position used to hedge interest rate exposure. It frames carry as coupon income minus financing cost. When the bond yield is below the short-term rate used to fund it, the financing expense…

FuturesFixed incomeCarryRisk management
Quant Q&A

The document explains how to request historical data outside regular trading hours through Interactive Brokers’ API using the R IBrokers package. The key setting is the historical-data request’s regular-hours flag: disabling it allows the request to include…

FuturesEquitiesExecutionUS markets
Quant Q&A

The document explains how a Monte Carlo simulation can align with Black 76 without first converting futures prices into spot prices. It starts from a lognormal spot-price process with drift and volatility, then substitutes the spot-forward relationship so…

CommoditiesFuturesOptionsDerivatives pricing
Quant Q&A

The document explains Trade-at-Settlement orders in futures markets. A TAS trade sets the transaction price relative to the eventual futures settlement price, with the chosen offset recorded in the TAS order book. The reply characterizes the trade as an…

FuturesExecutionMarket microstructureMarket making
Quant Q&A

The document describes a volatility pattern in monthly electricity futures that changes as the delivery month progresses. Because electricity is delivered throughout the month, the contract price converges toward the monthly average as delivery unfolds. The…

FuturesCommoditiesVolatilityStatistics
Quant Q&A

The document explains why comparing two delivery months of a bond future generally cannot isolate the underlying bond’s price using a simple carry relationship. Futures pricing depends on the cheapest-to-deliver bond, its conversion factor, the repo rate…

Fixed incomeFuturesDerivatives pricingArbitrage
Quant Q&A

The note addresses why Treasury basis traders commonly express a bond-to-futures hedge using conversion factors rather than a DV01 ratio. Its central point is that the two approaches are equivalent when the futures contract’s DV01 is calculated from the…

FuturesFixed incomeRisk managementPosition sizing
Quant Q&A

This note asks about buying an off-the-run Treasury bond that is deliverable into a bond futures contract but is not currently the cheapest to deliver, while shorting the futures. The proposed relative-value rationale is that the cash bond may richen against…

Fixed incomeFuturesCarry
Quant Q&A

This discussion describes fitting a SABR volatility surface to options on SOFR futures. The workflow solves for implied Black or Bachelier volatilities at selected out-of-the-money strikes, calibrates SABR with QuantLib, adjusts parameters by hand, then…

FuturesOptionsVolatilityDerivatives pricing
Quant Q&A

The document compares Interactive Brokers demo and personal paper-trading accounts for testing Trader Workstation API applications. Demo accounts provide simulated data and can help check connectivity or exercise account types, but the answers describe…

ExecutionMarket microstructureBacktestingFutures