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

412 documents

Quant Q&A

The document considers a weather-linked call whose daily payout depends on maximum temperature mapping to a quantity and a price index average exceeding a strike. The payoff also has daily and contract-wide payout limits, making a direct closed-form…

OptionsCommoditiesDerivatives pricingRisk management
Quant Q&A

Energy retailers that promise customers fixed prices while buying power or gas at floating wholesale prices face a mismatch between sales revenue and procurement cost. The risk can grow when demand and prices move together, as during cold weather. The…

CommoditiesRisk managementVolatilityDerivatives pricing
Quant Q&A

The answer identifies a gas-fired power plant’s spark spread—the relationship between electricity revenue and the gas cost required to generate it—as a central exposure. It describes over-the-counter spread options as a way for a plant operator to hedge this…

CommoditiesFuturesOptionsRisk management
Quant Q&A

The document asks how to evaluate a Laspeyres index built from five oil and energy stocks, intended for use in mean-reversion allocation across asset classes. The central suggestion is to measure tracking error or tracking efficiency: compare the index’s…

CommoditiesEquitiesMean reversionStatistics
Quant Q&A

The document explains why commodity options commonly reference futures or forwards rather than spot prices. Futures can offer liquid, standardized contracts with established price discovery and settlement conventions, making them practical underlyings for…

CommoditiesOptionsFuturesVolatility
Quant Q&A

The document considers whether a continuously traded energy market can be modeled with diffusion and an auction-based market with occasional jumps. The proposed approach is to build a separate jump-diffusion process for each market, allowing the auction…

CommoditiesStatisticsVolatilityMarket microstructure
Quant Q&A

The document addresses how to interpret implied volatility for commodity options whose delivery or settlement reflects prices over a period, as in power markets. Its central point is that implied volatility is tied to the underlying specified in the option…

OptionsCommoditiesVolatilityDerivatives pricing
Quant Q&A

The document distinguishes geometric Asian options, often introduced in textbooks because they admit an explicit Black–Scholes pricing formula, from the contracts used in practice. The answers disagree somewhat about whether geometric Asian options trade…

OptionsDerivatives pricingCommoditiesForex
Quant Q&A

The document asks how to compare long-only commodity futures roll strategies using historical contracts and ratio back-adjusted price series. The questioner adjusts earlier prices at each roll, then estimates returns from changes in adjusted prices while…

FuturesCommoditiesBacktestingExecution
Quant Q&A

The document asks how to estimate implied volatility for an American option on a deferred commodity futures contract when the option expires on the date associated with a nearer futures contract. It distinguishes volatility by both option expiration and…

OptionsFuturesCommoditiesVolatility
Quant Q&A

The document asks whether a US investor who trades a euro-denominated commodity future, such as a carbon contract, takes on ongoing EURUSD exposure. It compares the question with foreign equity index futures and explains that a futures position is…

FuturesForexCommodities
Quant Q&A

The document poses a valuation problem for a software investment whose daily revenues depend on an exchange rate and whose costs depend on a commodity price. The proposed simulation models both underlying prices as geometric Brownian motions estimated from…

OptionsCommoditiesForexDerivatives pricing
Quant Q&A

The note explains how numbered Bloomberg crude oil indices represent exposure to futures contracts at different points along the Brent or WTI futures curve. The number indicates the contract’s forward position relative to the front month. The example…

CommoditiesFuturesBacktestingPortfolio construction
Quant Q&A

The document poses a conceptual question about a company managing commodity exposure through dynamic hedging. The described policy begins with a market price and a higher budget price, which acts as a maximum acceptable average purchase level. The company…

CommoditiesOptionsDerivatives pricing
Quant Q&A

The document proposes estimating portfolio profit distributions by simulating monthly generation for each energy asset and electricity forward prices, multiplying generation by price to estimate asset revenues, summing across assets, and taking lower-tail…

CommoditiesFuturesStatisticsRisk management
Quant Q&A

The document presents a pricing question for vanilla quanto options on commodity forwards. It proposes adjusting the forward by an exponential term involving the correlation between the underlying and foreign exchange rate, their volatilities, and time to…

OptionsCommoditiesForexDerivatives pricing
Quant Q&A

The document examines why a coffee-linked index or ETF can perform very differently from the quoted spot coffee price. One explanation is that a futures-based commodity index return includes the effects of rolling contracts: when futures are in contango,…

CommoditiesFuturesForex
Quant Q&A

The document describes constructing a synthetic futures price at a target maturity by linearly interpolating between two listed contracts whose expiries fall on either side of that target. The weights depend on how far the target lies between the shorter and…

FuturesCommoditiesStatisticsRisk management
Quant Q&A

The document distinguishes the Samuelson effect’s maturity-related volatility pattern from volatility measured directly on futures price levels. The effect concerns returns volatility: nearby commodity contracts are often more volatile than deferred…

CommoditiesFuturesVolatilityStatistics
Quant Q&A

The document distinguishes precious metals from foreign exchange when describing spot-price dynamics under a risk-neutral measure. In FX, the domestic and foreign interest rates reflect the ability to invest in short-term sovereign instruments in each…

CommoditiesFuturesSpot markets
Quant Q&A

This document asks why a leveraged WTI exchange-traded note and its inverse counterpart appear to trace different slopes during large price moves. One note is described as providing leveraged long exposure and the other as leveraged inverse exposure. The…

CommoditiesVolatilityDerivatives pricing
Quant Q&A

The document compares two descriptions of risk remaining around a commodity futures hedge. It describes “basic risk” as residual exposure after hedging, including the difference between futures and spot prices if a futures position is closed early. The cited…

CommoditiesFuturesRisk management
Quant Q&A

The question describes an energy option that runs across several months. For each month, its strike resets to that month’s first-of-month index, and daily settlements below that level generate a payoff based on the difference. The question asks how to value…

OptionsCommoditiesDerivatives pricing
Quant Q&A

The document asks how the weather derivatives market is organized, how participants share information, and where historical data can be obtained. Its answer is limited: market information is largely not public, and data generally require paid access. It…

CommoditiesDerivatives pricing