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
WonderTrader
14 documents
Alphalens
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 a trader who wants downside protection with the ability to benefit from rising prices may choose an option on a futures contract instead of entering a futures position later. A futures contract fixes exposure to a market price and…

FuturesOptionsCommoditiesRisk management
Quant Q&A

The document considers whether changes in a bond’s yield to maturity should be regressed on changes in a bond index’s yield to estimate a beta. It argues that stock-style beta is not the usual framework for bond risk: interest-rate sensitivity is more…

Fixed incomeFuturesRisk managementStatistics
Quant Q&A

An invoice spread pairs a bond future with an interest rate swap whose dates generally align with the future’s expiry and the cheapest-to-deliver bond’s maturity. Traders use the structure in part because bond futures are liquid and straightforward to trade,…

Fixed incomeFuturesDerivatives pricingRisk management
Quant Q&A

The document discusses how to evaluate a historical ratio between corn and soybean futures and how to express a trade in the relationship. One answer frames this as pairs trading or statistical arbitrage, recommending a cointegration check, such as an…

FuturesCommoditiesPairs tradingMean reversion
Quant Q&A

The document asks when a futures trader can use profits from a position opened and closed during the same day. Its example compares a long entered at 100 with a later close at 101, following a prior settlement at 99. The accepted explanation says the…

FuturesExecution
Quant Q&A

The document asks why CME derives forward-looking Term SOFR rates from SOFR futures rather than the SOFR overnight index swap curve. It contrasts the transparency and liquidity of those markets and notes that one-month SOFR futures settle against an…

Fixed incomeFuturesDerivatives pricingMarket microstructure
Quant Q&A

The document explains why futures and other derivatives do not have a single standard return calculation. Unlike owning an asset such as a share or an ounce of gold, a derivative position requires cash allocation to cover potential losses, while the chosen…

FuturesRisk managementStatistics
Quant Q&A

The document outlines the structure of Eris SOFR swap futures and asks how their price relates to the fixed rate on a forward starting swap. It defines listing, effective, and coupon dates, then expresses the futures settlement price as a base value plus…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains how futures open interest relates to trading volume. Open interest counts outstanding contracts, with each long matched by a short. Trading volume counts contracts traded during a period, so a trade does not necessarily create or remove…

FuturesMarket microstructure
Quant Q&A

The document surveys instruments used to construct money-market curves under multi-curve methods, with emphasis on USD and questions about EUR, GBP, and JPY. It explains that instruments tied to different floating-rate indices inform different forward curves…

Fixed incomeFuturesDerivatives pricingStatistics
Quant Q&A

The document asks how to describe a position in a futures calendar spread, using front- and back-month prices to illustrate the roll. The answer gives a directional rule based on the curve: sell the roll spread when the front contract is below the back…

FuturesCommodities
Quant Q&A

The document asks how a market maker can delta-hedge VIX index options when the index itself is not directly tradable like shares. One answer identifies VIX futures as the direct hedge, reasoning that the relationship is not based on a carry arbitrage. This…

OptionsFuturesVolatilityMarket making
Quant Q&A

The document asks whether futures backtests should use log price returns or changes in contract point value. Log returns are additive over time and are commonly useful for securities whose price represents the investment value, but a futures contract’s price…

FuturesBacktestingRisk management
Quant Q&A

The note compares approaches to building continuous futures histories for simulations, including additive back or forward adjustments, ratio adjustments, and selecting contracts by volume. Each method affects historical price levels and can create issues…

FuturesBacktestingExecutionMarket microstructure
Quant Q&A

The document describes an attempted replication of a published method for functional principal component analysis (FPCA) of financial time series. The author uses crude oil futures contract data, represents log prices with a curve built from exponential…

FuturesStatisticsMachine learning
Quant Q&A

The document frames a problem in which a trader chooses among candidate forward trades with known expected profits and maturity dates while operating under a finite capital limit. Since positions tie up capital until maturity, taking a profitable trade now…

FuturesPosition sizingPortfolio constructionRisk management
Quant Q&A

The document poses a fixed-income spread-trade question: whether a long Treasury bill position hedged with short fed funds futures earns mark-to-market profit equal to the bond’s DV01 times a five-basis-point tightening in the quoted spread. The trade is…

Fixed incomeFuturesCarry
Quant Q&A

The document compares two spread definitions used to trigger Z-score entries in automated pairs strategies: residuals from an ordinary least squares regression of log returns, and the log ratio of the two contract prices. The author reports that the…

Pairs tradingFuturesCryptoMean reversion
Quant Q&A

The document explains how a downward repricing in SOFR futures can relate to short-term dollar swaps and Treasury securities. The response says SOFR futures and swaps carry nearly the same rate exposure, with convexity adjustment creating a small first-order…

Fixed incomeFuturesMarket microstructure
Quant Q&A

The document distinguishes futures-style options on futures from traditional options on futures to explain when discounting applies. In the futures-style contract, gains and losses are settled through variation margin, so the option itself behaves like a…

FuturesOptionsDerivatives pricing
Quant Q&A

The document asks how to identify futures expiration dates programmatically and determine the current front-month contract. It explains why selecting the contract for the calendar month alone can fail: some futures do not trade every month, and a…

FuturesCommoditiesFixed incomeMarket microstructure
Quant Q&A

The document poses a one-period binomial pricing question for a European call on a futures contract. It asks how to construct a replicating portfolio when the futures price can move up or down, and the underlying asset is itself a futures contract rather…

FuturesOptionsDerivatives pricing
Quant Q&A

The document explains a simple way to infer the number of expected Federal Reserve rate increases from a deferred Eurodollar futures contract. The example compares the implied three-month LIBOR rate from the December 2019 contract with the current…

FuturesFixed incomeUS marketsDerivatives pricing
Quant Q&A

The document asks where historical tulip mania prices can be obtained in a form suitable for statistical analysis. It describes the scarcity and uneven provenance of the surviving records: one compilation draws on sales across multiple varieties and market…

CommoditiesFuturesOptionsStatistics