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

1,414 documents

Quant Q&A

The document explains how a copula model relates to the variance-minimizing hedge ratio for spot and futures returns. That ratio depends on the correlation between the two return series and their respective volatilities. In a static copula model, the…

CommoditiesFuturesVolatilityRisk management
Quant Q&A

The document explains why physical commodity buyers and sellers use futures markets even when most contracts do not end in physical delivery. It clarifies that exchange classifications such as hedger and speculator do not cleanly separate people with…

CommoditiesFuturesMarket microstructure
Quant Q&A

The document challenges a news explanation that linked a small oil price recovery with a risk-on move in the Australian dollar. Its answer argues that labels such as risk-on, risk-off, risk appetite, and market sentiment lack precise definitions in common…

ForexCommoditiesSentiment
Quant Q&A

The document explains how technical indicators such as moving averages and MACD can be used in neural network trading models. Indicators can be calculated from market data and supplied as predictor variables to the network, alongside raw price data. The…

Machine learningTechnical indicatorsFuturesCommodities
Quant Q&A

The document asks how to judge whether implied volatility is expensive or cheap when historical volatility is a weak guide. It argues that volatility’s fundamental value depends on changing conditions such as the arrival and importance of news, market…

VolatilityOptionsCommoditiesRisk management
Quant Q&A

The document asks how to adapt a globally diversified portfolio of US-listed funds for an investor in Europe who would prefer euro-denominated products. The portfolio spans international and emerging-market bonds, commodities, gold, global and US equities,…

Multi-assetPortfolio constructionFixed incomeEquities
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 how to estimate a volatility surface for illiquid daily options when the available market data consist only of at-the-money implied volatilities on quarterly futures. The options extend across a much longer horizon and include…

OptionsVolatilityStatisticsCommodities
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 how to reconstruct two related time series, unleaded and diesel prices, using principal component analysis. It provides eigenvalues and eigenvectors for the two price columns and wants to compare the original series with reconstructions…

StatisticsCommoditiesMachine learning
Quant Q&A

The document asks how to compare Black–Scholes and Bachelier option prices in an energy-market setting, where the underlying can become negative. Since Black–Scholes does not accept negative underlying prices or strikes, a direct price comparison cannot…

OptionsDerivatives pricingCommoditiesVolatility
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 question seeks literature on how non-financial companies manage commodity and currency price risk in their operating businesses, rather than on speculative trading. The replies offer broad starting points: commodity-market books and the Energy Risk…

CommoditiesForexRisk management
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 describes an attempt to model electricity prices before, during, and after the introduction of a carbon price. It presents a regression approach for a known structural break: retain baseline coefficients and interact selected explanatory…

StatisticsCommodities
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
Quant Q&A

The document interprets a principal component analysis applied to returns across several commodity futures and contract months. The displayed loadings show that the first component varies little across maturities of a given product, suggesting that product…

CommoditiesFuturesStatistics
Quant Q&A

The document examines why a commodity spot-price model may be adjusted using a measure that does not make discounted spot a martingale. It contrasts a constant market-price-of-risk specification for a mean-reverting log spot process with a proposed…

CommoditiesDerivatives pricingFuturesRisk management
Quant Q&A

The document discusses how to build an arbitrage-consistent model for energy derivatives when traded futures prices are more observable than any single spot price. It explains that “spot” can refer to different delivery horizons and market conventions, such…

CommoditiesFuturesDerivatives pricingArbitrage
Quant Q&A

The document explains why the euro profit from an XAUUSD trade cannot be calculated from the gold price movement alone. A trade denominated in dollars creates exposure to the EUR/USD exchange rate when the account balance is in euros. The response describes…

ForexCommoditiesRisk managementPosition sizing
Quant Q&A

This note considers an option on an electricity and gas spread that can be exercised hourly, even though liquid gas prices are observed only daily. The question proposes modeling seasonality-adjusted log prices as correlated mean-reverting Ornstein–Uhlenbeck…

OptionsCommoditiesStatisticsDerivatives pricing
Quant Q&A

The document describes a comparison of gold futures traded on two exchanges with different trading hours. One market is open for eight hours, while the other trades for sixteen hours; their sessions overlap and close together. The author observes that…

FuturesCommoditiesStatistics
Quant Q&A

The document introduces the commodity cost-of-carry relationship, which links a futures price to spot price, financing, storage costs, convenience yield, and time to delivery. It asks whether the model implies an upper bound on futures prices and how to…

CommoditiesFuturesCarryDerivatives pricing
Quant Q&A

Value at Risk (VaR) is generally not additive: a portfolio’s VaR cannot usually be found by summing the standalone VaRs of its holdings. For two independent, normally distributed asset returns with zero means, the document derives portfolio risk by adding…

CommoditiesRisk managementPortfolio constructionStatistics