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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

1,414 documents

Quant Q&A

The document explains that a futures contract’s fair value can itself move as market expectations change. For equity index futures, uncertainty about future dividends and the cost or benefit of borrowing the underlying can shift the estimated fair value, so…

FuturesEquitiesCommoditiesDerivatives pricing
Quant Q&A

The document outlines a research project on whether weather, agricultural statistics, and other information can help explain or predict US soybean futures. It proposes narrowing the study to Illinois and examining how local conditions affect yields and…

FuturesCommoditiesMachine learningStatistics
Quant Q&A

The document considers how to incorporate temperature forecasts into a natural gas fair-value model, including which regions’ weather matters and whether regional temperatures should be averaged. The response describes a relationship between temperature and…

CommoditiesFuturesStatistics
Quant Q&A

The document addresses where to obtain long-run historical prices for gold and silver, preferably at weekly or monthly frequency. The response points readers to Dukascopy’s historical market data download and identifies XAUUSD and XAGUSD as the instruments…

CommoditiesMarket microstructureBacktesting
Quant Q&A

The discussion surveys reported tools used to price and manage electricity and natural gas risk. One contributor cites neural networks in corporate trading technology. Another describes a broader toolkit spanning futures, forwards, swaps, and options,…

FuturesOptionsCommoditiesMachine learning
Quant Q&A

The document examines how to interpret the sensitivity of a commodity futures price to spot, contrasting a cost-of-carry expression that includes a convenience yield with an argument that daily futures settlement affects the futures-versus-forward…

FuturesCommoditiesDerivatives pricingRisk management
Quant Q&A

The document addresses how to choose a volatility input for real-option valuation when historical observations are unavailable and annual present values are described as Gaussian. Its answer points to a mean-reverting model for the logarithm of spot prices,…

CommoditiesVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers how a wind generator might manage revenue risk when production is concentrated in low-priced nighttime hours and peak-to-off-peak spreads can turn negative. The responses describe baseload futures as a way to hedge expected volume and,…

FuturesCommoditiesRisk managementOptions
Quant Q&A

The discussion asks where to obtain open interest by strike and expiry for options on futures, including energy and equity index contracts. The accepted answer points to the exchange’s daily settlement information, which includes open interest data and can…

OptionsFuturesCommoditiesEquities
Quant Q&A

The document works through a credit valuation adjustment (CVA) question for a long gold forward with possible counterparty default at two future dates. The attempted calculation estimates positive exposure at each date using call-option values on the forward…

Risk managementDerivatives pricingCommoditiesStatistics
Quant Q&A

The document raises a modeling question about fitting SVI-family implied volatility surfaces to options on commodity futures. Standard SVI fitting often imposes constraints intended to prevent calendar-spread and butterfly arbitrage. The concern is that…

OptionsFuturesCommoditiesVolatility
Quant Q&A

The explanation distinguishes the cost of carry from convenience yield in commodity futures pricing. Carry costs, such as the expense of holding inventory, make physical ownership less attractive. Convenience yield works in the other direction: it represents…

CommoditiesFuturesCarryDerivatives pricing
Quant Q&A

The document compares futures and options as hedges for an oil trading company with fixed-price sales linked to Brent. It describes a short futures position as offsetting the price exposure of a long commodity position, assuming the hedge matches the…

CommoditiesFuturesOptionsRisk management
Quant Q&A

The document corrects a mistaken approach to measuring realized variance in WTI. Taking the cumulative sum of log returns and then its absolute value tracks the magnitude of net price movement, not variance; positive and negative returns can cancel before…

CommoditiesStatisticsVolatility
Quant Q&A

The question examines why futures-based exchange-traded products can decline over time in contango, using crude-oil and volatility products as examples. It distinguishes losses attributed to selling an expiring nearby contract and buying a more expensive…

FuturesVolatilityCommoditiesCarry
Quant Q&A

The document describes calibrating a one-factor mean-reverting log-price model for oil using futures prices at multiple maturities as observations. It specifies a latent spot-price state, a measurement equation linking that state to log futures prices, and a…

CommoditiesFuturesStatisticsMachine learning
Quant Q&A

The document considers whether annual commodity-price observations can be used in Monte Carlo simulations based on geometric Brownian motion (GBM), and whether observed annual log returns should be normally distributed. One response explains that GBM assumes…

CommoditiesStatisticsBacktesting
Quant Q&A

The document questions the cost-of-carry model for commodity futures when storing a commodity today may cost more than obtaining new supply at a later date. It uses oil as an example and asks whether the usual carry-based price should be treated as an upper…

FuturesCommoditiesCarryDerivatives pricing
Quant Q&A

The document considers valuing a monthly option on a renewable asset’s generation-weighted power price. It cautions that shaping a hub futures contract and applying Black–76 may miss important risks, especially when settlement depends on actual production.…

OptionsCommoditiesVolatilityDerivatives pricing
Quant Q&A

The document concerns historical options data on gold futures and asks what the symbols L01 through L31 represent. It contrasts those codes with the standard American-style gold futures option symbol and the listed weekly option symbols, showing that a…

OptionsCommoditiesFutures
Quant Q&A

The document considers a portfolio holding equal long and short positions in the same futures contract and expiry at the same traded price. It explains that under this setup, the positions offset one another, leaving the portfolio with no net exposure to…

FuturesRisk managementCommodities
Quant Q&A

The question asks how to represent a two-factor commodity futures model in QuantLib. Its instantaneous return combines two Brownian shocks: one whose loading decays exponentially with time to futures maturity, and another whose loading increases toward a…

CommoditiesFuturesOptionsDerivatives pricing
Quant Q&A

The document explains what happens when counterparties trade an exchange-listed calendar spread between futures months. It distinguishes the spread market, where the parties agree on a spread price, from the later reporting of the transaction as two outright…

FuturesCommoditiesMarket microstructure
Quant Q&A

The document explains that a futures contract’s delta with respect to its underlying is not always exactly one. Under risk-neutral pricing, a futures price is the conditional expectation of the underlying’s value at maturity. With a geometric Brownian motion…

FuturesCommoditiesDerivatives pricingRisk management