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

16,761 documents

Quant Q&A

The document collects questions about calibrating one- and two-factor Hull–White models to cap prices, calculating instantaneous forward rates for the drift function, and obtaining short-rate paths after calibration. The replies distinguish the model’s short…

Fixed incomeDerivatives pricingRisk managementBacktesting
Quant Q&A

The document addresses how to reconstruct historical trading dates for the S&P E-mini futures contract from its first appearance onward, especially when a holiday calendar does not cover the earliest years. The suggested approach is to request a futures…

FuturesBacktestingUS markets
Quant Q&A

The document addresses how to select lookback lengths for trading indicators, warning against searching for the single period with the best historical result. Repeatedly optimizing a parameter on the same data creates data-snooping bias and can make a…

BacktestingTechnical indicatorsStatistics
Quant Q&A

The document compares bootstrapping realized strategy returns with resampling the underlying price series, and explains why neither approach directly provides a convincing test of a strategy’s added value. Resampling strategy returns can obscure whether…

BacktestingStatisticsRisk management
Quant Q&A

The document considers using principal component analysis on industry peers’ fundamental metrics to inform equity analysis. It provides variance shares and loadings for thirteen components, then asks what the first two components represent. The response…

EquitiesStatisticsFactor investingMachine learning
Quant Q&A

The document asks how to measure and simulate gradual rises followed by sharp market declines. It presents threshold GARCH as a way to model return asymmetry, with APARCH as a related model family, and points to jump diffusions, often paired with stochastic…

EquitiesVolatilityStatisticsBacktesting
Quant Q&A

The document asks how a Monte Carlo approximation of conditional value at risk can be expressed as a linear optimization problem. The approximation uses a threshold variable and the positive part of each scenario's loss beyond that threshold. Introducing one…

Risk managementPortfolio constructionStatisticsBacktesting
Quant Q&A

The document discusses how to calculate a stressed performance scenario under the PRIIPs framework when the product has a recommended holding period (RHP). The response distinguishes the historical data used to estimate stressed volatility from the future…

VolatilityStatisticsRisk managementBacktesting
Quant Q&A

The document explains how dollar bars can be used in a machine-learning workflow despite their irregular time spacing. A bar retains the familiar structure of a time bar, such as open, high, low, and close, so these values can be supplied as model features.…

Machine learningBacktestingExecutionMarket microstructure
Quant Q&A

The document examines the assumption that a small order has negligible influence on market observations and price dynamics. That assumption can make historical backtests easier because the recorded order book or other market data are left unchanged by…

Market microstructureExecutionBacktestingHigh-frequency trading
Quant Q&A

The document proposes a staged way to learn Monte Carlo methods, while emphasizing that the right material depends on the problem. It starts with simple simulations such as dice, coin tosses, estimating areas, and pricing a vanilla option. It recommends…

StatisticsOptionsDerivatives pricingBacktesting
Quant Q&A

The document concerns Monte Carlo valuation of a barrier option when the underlying follows a jump-diffusion process. The question reports a simulated value that differs from the cited paper and jump probabilities that sometimes fall outside the valid…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document explains why a monthly strategy that ranks stocks by price-to-earnings ratios and takes opposite positions in the top and bottom groups can show misleading backtest performance. Historical prices and earnings are not enough to reconstruct the…

EquitiesFactor investingBacktestingStatistics
Quant Q&A

The response discusses how implied volatility differences between expiration dates can affect calendar spread pricing. It suggests that when front-month implied volatility is below back-month volatility, calendars may have broader profit ranges and higher…

OptionsVolatilityBacktesting
Quant Q&A

The document surveys ways to turn trading signals into mathematical strategy rules. One suggestion is to combine implemented signals in a factor model and estimate coefficients, which can produce a fitted formula and measures of statistical fit. The response…

Machine learningFactor investingBacktestingTechnical indicators
Quant Q&A

The document asks how a futures backtester should represent the funds required when opening long or short positions. It considers using margin requirements calculated through CME's SPAN system and asks where historical margin data can be obtained, noting…

FuturesBacktestingRisk managementPosition sizing
Quant Q&A

The document asks how to evaluate intraday strategies whose long-only trades may benefit from an asset’s longer-term upward drift. Its examples enter an S&P 500 or gold position at the market open and exit around midday. The concern is that apparent strategy…

BacktestingEquitiesCommoditiesStatistics
Quant Q&A

The document discusses how to assess a market-making strategy that starts and ends each day flat, using a series of daily dollar profit and loss figures. One response says the annualized Sharpe formula based on mean and standard deviation is appropriate if…

Market makingStatisticsRisk managementBacktesting
Quant Q&A

The document considers an out-of-sample portfolio process that updates monthly. It uses a rolling 36-month covariance estimate to construct a minimum-variance portfolio, reverse-optimizes those weights into implied returns, combines the estimates with…

Portfolio constructionBacktestingRisk management
Quant Q&A

The document explains why Broadie–Kaya exact simulation is not automatically the practical choice for the Heston stochastic volatility model. Its main advantage is that it can simulate across arbitrary time steps without the time-discretization bias…

VolatilityDerivatives pricingStatisticsBacktesting
Quant Q&A

This discussion explains the basic direction of a pair trade when two stocks diverge from a relationship assumed to persist. Under that assumption, the trader shorts the stock judged relatively overpriced and goes long the one judged relatively underpriced.…

EquitiesPairs tradingMean reversionBacktesting
Quant Q&A

The document considers how to compare hedging strategies for two models that price options on WTI crude oil futures. It questions whether a traditional delta hedge is meaningful when the underlying is a futures contract, since buying or selling futures does…

CommoditiesFuturesOptionsBacktesting
Quant Q&A

The document asks where to find algorithmic trading strategies that were once profitable but later stopped working. Its answer points to public compilations of strategies, while cautioning that detailed disclosure is unlikely. It gives several reasons:…

Machine learningBacktestingVolatility
Quant Q&A

The document gives a standard-error approach to estimating how many observations are needed to assess a strategy’s returns. It relates sample size to measured return variability, a chosen confidence level, and the desired width of the confidence interval.…

BacktestingStatisticsHigh-frequency tradingRisk management