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

BigQuant

This article recounts the 2022 nickel market crisis involving Tsingshan, Glencore, and the London Metal Exchange. It uses a simplified commodity-delivery analogy to explain how a seller with a large short futures position may face stress when prices surge…

CommoditiesFuturesRisk managementMarket microstructure
MQL5 code base

This document describes an Expert Advisor that trades when the XROC2_VG oscillator changes color at a bar close, corresponding to a crossover between its main line and signal line. The inputs allow users to set a daily start and end time for trading. With…

Technical indicatorsExecutionBacktestingCommodities
ProRealCode

This automated Brent oil CFD strategy uses five minute bars and permits only one accumulated position. For long entries, a short time series average must be at least as high as a longer Wilder average, while the SMI crosses above a negative threshold. For…

CommoditiesTechnical indicatorsTrend followingRisk management
BigQuant

Gerber statistics offer a threshold-based way to estimate dependence between asset returns. Each return is classified by whether it rises or falls beyond an asset-specific threshold; paired observations count as concordant when both move substantially in the…

StatisticsPortfolio constructionEquitiesFixed income
MQL5 code base

The document describes an Expert Advisor that uses the TrendMagic indicator and makes a trade decision when the indicator changes direction. It notes that the indicator file must be available in the platform’s indicators folder for the EA to operate. It also…

Technical indicatorsTrend followingBacktestingCommodities
MQL5 code base

The document describes a visual indicator that transforms Commodity Channel Index calculations into a sequence of candlesticks. Rather than plotting the CCI as a conventional line, it processes the relevant price time series with the CCI algorithm and…

Technical indicatorsCommodities
SuperMind

The document explains why a simple moving average of intraday volume can give misleading comparisons. Volume patterns vary across times of day, particularly across regional sessions, and can also differ by weekday. Comparing a bar with an average that mixes…

StatisticsTechnical indicatorsCommodities
Awesome Systematic Trading

This strategy ranks a universe of commodity futures by the skewness of their daily returns over a trailing 12-month window. At each monthly rebalance, it goes long the quintile with the lowest skewness and short the quintile with the highest, with equal…

CommoditiesFuturesFactor investingBacktesting
BigQuant

This Chinese A-share research summary examines airline stocks against the CSI 300 and proposes a fundamental timing and stock-selection model. It characterizes the sector as high beta and reports that relative performance has tended to vary by quarter, with…

China marketsEquitiesFactor investingBacktesting
BigQuant

The document outlines Two Sigma’s systematic investment approach and briefly describes its China macro strategy, which invests across Chinese commodity and financial futures. It presents a process built around research, portfolio construction, and risk…

FuturesCommoditiesChina marketsPortfolio construction
BigQuant

This study explores genetic programming as a way to discover formula-based signals for commodity futures trading. It adapts a genetic programming package to search combinations of market data and operators, aiming to find signals that could complement…

FuturesCommoditiesMachine learningBacktesting
FMZ forum

This profile follows a quantitative trader’s shift from intraday models toward medium-frequency futures strategies grounded in industry knowledge. He argues that statistical relationships alone can be fragile: attractive historical fits may reflect…

FuturesCommoditiesBacktestingRisk management
Quant Q&A

The document considers how an industrial electricity buyer might manage purchase-price variability using spot and futures markets. The problem includes electricity’s limited storability and resulting spot-price spikes, futures with monthly, quarterly, or…

CommoditiesFuturesSpot marketsRisk management
Quant Q&A

The document gathers rules for gold futures dates that traders may need to calculate without consulting a calendar. One answer describes the last trading day as the third business day before month end, while another quotes listing months from exchange…

FuturesCommoditiesExecution
Quant Q&A

The document explains how to derive past expiration dates for WTI options when a historical calendar is unavailable. It starts from the underlying futures contract: its final trading day falls three business days before the 25th calendar day of the month…

CommoditiesOptionsFutures
Quant Q&A

The document explains why financing enters a physical commodity forward price. Holding the commodity until delivery ties up capital, so the cost of financing the spot purchase contributes to the forward price, alongside storage and insurance costs. The…

CommoditiesFuturesArbitrageDerivatives pricing
Quant Q&A

The document examines how to derive a pricing equation for an option when the underlying asset follows a mean-reverting process in log price. It contrasts a delta-hedging argument with a risk-neutral valuation argument and discusses when the model’s physical…

CommoditiesOptionsDerivatives pricingMean reversion
Quant Q&A

For goods that have not yet been produced, futures pricing may depend on expected future supply and demand as well as carrying costs. The simple spot-plus-carry relationship applies most directly when the commodity can be stored and delivered, and does not…

FuturesCommoditiesCarryDerivatives pricing
Quant Q&A

The document asks for examples of using large or unconventional datasets to build trading strategies across stocks, bonds, and foreign exchange. Its only concrete example is the use of location data by investment managers. The cited news story describes…

CommoditiesMachine learningEvent-driven
Quant Q&A

This discussion compares estimating a hedge ratio by regressing spot and futures returns with regressing their price levels. The question reports much lower fit and a smaller hedge ratio from returns, while levels appear to track closely. The answer cautions…

FuturesCommoditiesStatisticsRisk management
Quant Q&A

The document asks how to set market capitalization weights for a Black–Litterman portfolio holding international and emerging-market equities, gold, long-term Treasury bonds, and real estate. Its central advice is not to use the market values of the ETFs…

Portfolio constructionMulti-assetEquitiesCommodities
Quant Q&A

The document explains why an option on a spread of two futures cannot generally be replicated statically using options on the individual futures. It uses a gasoline crack spread option as an example of this contract type. The proposed approach is to price…

FuturesOptionsCommoditiesDerivatives pricing
Quant Q&A

The document addresses a common time-series modeling problem: gold prices appear autocorrelated, and repeated differencing seems not to remove the effect. The responses suggest that the issue may be the choice of series. Price levels are persistent and…

CommoditiesStatisticsBacktesting
Quant Q&A

The document presents a question about Monte Carlo paths generated for the Heston stochastic volatility model using a full-truncation Euler scheme. It gives discrete-time equations for variance and asset price, along with a set of silver-market parameters…

CommoditiesVolatilityDerivatives pricingStatistics