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

1,414 documents

Quant Q&A

The document compares CME expiration language for serial options on several grain contracts. Most examples specify the last Friday that falls at least two business days before month-end, with a fallback to the preceding business day if that Friday is not a…

OptionsCommoditiesFutures
Quant Q&A

The document describes a forecasting workflow for Brent crude oil: transform prices into log returns, check stationarity, fit an ARMA-GARCH model, and obtain forecasts of conditional means and variances. The author reports that the forecasted conditional…

CommoditiesStatisticsVolatilityBacktesting
Quant Q&A

The document outlines a way to estimate seasonal patterns in natural gas prices before analyzing or modeling the futures term structure. For each year, calculate the average daily spot price, then calculate the average for each month. Divide each monthly…

CommoditiesFuturesStatistics
Quant Q&A

This document is a curated reading list spanning factor investing, trading and execution, volatility estimation, derivatives pricing, and commodity futures. It names influential papers and briefly describes their contributions, including multifactor asset…

Factor investingExecutionVolatilityDerivatives pricing
Quant Q&A

The note explains how to select strikes for a costless collar using gold options. A collar pairs a long put with a short call whose premium offsets the put’s cost. There is an unlimited set of such strike pairs: for each positive put strike, a call strike…

OptionsCommoditiesVolatilityDerivatives pricing
Quant Q&A

The document explains how to estimate an implied volatility for an option maturity that is not directly quoted, using options with nearby expiries as market anchors. It frames the task as building a volatility surface with strike and maturity dimensions,…

OptionsCommoditiesVolatilityDerivatives pricing
Quant Q&A

The document explains how to express historical spread volatility when using the Bachelier single-factor spread option formula. Since the option’s underlying is the price difference between two futures contracts, the volatility input is measured in…

OptionsFuturesCommoditiesVolatility
Quant Q&A

The document describes factors behind the price difference between West Texas Intermediate and Brent crude. It first contrasts crude grades by API gravity and sulphur content, explaining how lighter, sweeter oils can be more valuable because of product…

CommoditiesFuturesMarket microstructure
Quant Q&A

The document outlines ways to set long-term capital market assumptions for fixed-income assets, including government bonds and high-yield credit. One approach builds expected returns from a cash-return estimate plus relevant premia, such as government bond…

Fixed incomeCommoditiesPortfolio constructionStatistics
Quant Q&A

The answer explains a practical reason to use a commodity swap when individual forwards are available: a swap can package a series of forward exposures into one agreement. For a farmer seeking to hedge production across multiple periods, this can reduce the…

CommoditiesDerivatives pricingRisk management
Quant Q&A

The note asks how commodities relate to real assets and physical assets, drawing on a CFA reading that classifies commodities and tangible property as physical assets. It distinguishes commodities such as metals, energy, and agricultural products from real…

CommoditiesMulti-asset
Quant Q&A

The document examines a proposed differential for the second risk factor in the two-factor Gibson–Schwartz commodity model. The factor is first defined as the time integral of an Ornstein–Uhlenbeck process, then rewritten as a stochastic integral using…

CommoditiesStatistics
Quant Q&A

The document explains LME prompt dates as the dates on which contracts trade and relates them to the sequence of available contract maturities. It contrasts the usual monthly contract pattern with LME's more frequent dates nearby, followed by weekly and…

CommoditiesFuturesMarket microstructure
Quant Q&A

The document investigates why correlations derived from a Kalman filter’s posterior covariance estimate for a commodity forward curve appear nearly constant across contracts. The described setup uses a latent state containing forward values and drift…

CommoditiesFuturesStatisticsRisk management
Quant Q&A

The document asks whether calendar spreads become pure arbitrage when implied volatility is flat across strikes and maturities, as in the Black–Scholes framework. Its answer cautions that equal implied volatility across maturities does not guarantee that…

CommoditiesFuturesArbitrageCarry
Quant Q&A

The document discusses computing and comparing Sharpe ratios for gold, Treasury returns, and a stock index when observations have different frequencies. The reply recommends calculating each asset’s excess return at a common monthly frequency by subtracting…

Risk managementStatisticsPortfolio constructionCommodities
Quant Q&A

The document derives the dynamics of a log forward price in a Schwartz model where the logarithm of the spot price follows a mean-reverting diffusion. The forward price is given as an explicit function of time and the current log spot. Applying Itô’s lemma…

CommoditiesFuturesDerivatives pricingStatistics
Quant Q&A

The document addresses forecasting daily asset prices with explanatory data published weekly or monthly. It recommends beginning with a market hypothesis and testing whether the slower series contains information at the forecast horizon. The discussion…

CommoditiesFuturesBacktesting
Quant Q&A

The document considers how to optimize a gas storage schedule using a forward curve, subject to facility volume and injection and withdrawal limits. The initial intuition is to buy gas for cheaper months and sell for more expensive months, with storage…

CommoditiesFutures
Quant Q&A

The document discusses how to assemble futures data for regressions that forecast monthly Brent spot prices at several future horizons. Its model uses the futures quote available at time t for a maturity matching the forecast horizon, alongside other…

CommoditiesFuturesBacktestingStatistics
Quant Q&A

The discussion clarifies how to simulate an oil spot price trajectory when starting from observed market data. For each simulated path, the first simulated value uses the actual starting spot price; subsequent values should be generated recursively from the…

CommoditiesFuturesBacktestingStatistics
Quant Q&A

The discussion addresses whether a deferred oil futures contract should fall toward spot when it becomes the front-month contract after a roll. Futures prices reflect more than the current spot price: financing and storage-related costs can raise futures…

CommoditiesFuturesArbitrageCarry
Quant Q&A

The document discusses market factors for mapping the risk of Brazilian commodity swaps exposed to commodity forwards, BRL interest rates, and the IPCA inflation index. It outlines common Brazilian curve proxies: DI futures for the nominal swap curve and…

Fixed incomeCommoditiesRisk managementStatistics
Quant Q&A

The document considers a USD-based firm that has agreed to pay a fixed EUR amount at a future date for an asset also priced in EUR. It asks how to hedge both the asset-price movement and the currency exposure. The answer first pairs the agreement with a sale…

ForexCommoditiesDerivatives pricingRisk management