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

16,761 documents

Quant Q&A

The discussion considers how to select the orders of an EGARCH model for forecasting volatility associated with S&P 500 option portfolios. It distinguishes choosing a model for in-sample fit from choosing one for predictive performance. AIC, BIC, and…

EquitiesVolatilityStatisticsBacktesting
Quant Q&A

The document asks whether a rolling Value at Risk backtest is appropriate for returns from a winner-minus-loser (WML) momentum strategy. The described procedure estimates a mean and variance from a moving historical window, computes a normal VaR threshold,…

MomentumRisk managementBacktestingPortfolio construction
Quant Q&A

The document asks how Cover’s universal portfolio algorithm compares with two simple allocations: a constant-relative-proportions portfolio that rebalances to equal weights, and a buy-and-hold allocation that initially divides wealth equally across assets.…

Portfolio constructionBacktestingStatistics
Quant Q&A

This exchange clarifies how to interpret labels in the triple barrier method. Each labeled instance corresponds to a specific trading circumstance and receives a single outcome according to which event closes it: an upper barrier win, a lower barrier loss,…

Machine learningEvent-drivenBacktesting
Quant Q&A

The document investigates why a return computed from a vendor’s adjusted closing prices differs from a hand-calculated dividend-inclusive return. The explanation focuses on the ex-dividend date: the investor’s daily return includes both the new share price…

EquitiesStatisticsBacktesting
Quant Q&A

The document considers how to simulate a variance process that can turn negative under a discretized stochastic volatility model with a variance-gamma jump term. Rather than forcing the jump component itself to be nonnegative, the answer presents ways to…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks whether GARCH(1,1) parameters can be updated as each new price arrives, without rerunning the full estimation. Its answer is that maximum likelihood estimates depend on the full likelihood across observations. Because the GARCH recursion…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks whether daily open, close, high, and low prices for thousands of US-listed stocks can be downloaded in one low-cost bulk file, without querying each symbol separately. The responses suggest using Python's Pandas DataReader to retrieve…

EquitiesBacktestingExecution
Quant Q&A

The document considers how to calculate investment performance when capital is added to or withdrawn from an account during the measurement period. A simple comparison of ending balance with starting balance can misstate strategy performance because it…

StatisticsRisk managementBacktesting
Quant Q&A

The document explains two ways to calculate an annual return from daily prices: compute the simple return over a date interval, or compound each daily return by multiplying one plus each return and subtracting one. It also mentions log price differences as a…

EquitiesStatisticsBacktestingUS markets
Quant Q&A

The document explains how to simulate a down-and-in barrier call under a local volatility model. At each simulation step, the volatility should be evaluated at the current time and stock level, rather than at the option’s fixed strike and maturity. The…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The note distinguishes the roles of the ARMA and GARCH components in a return model used for directional trading. The ARMA conditional mean supplies the expected return and therefore drives a rule that goes long or short according to the forecast sign. GARCH…

StatisticsVolatilityRisk managementBacktesting
Quant Q&A

The document raises a backtesting problem for a systematic strategy that repeatedly buys one-year, 90% strike equity index puts and rolls them shortly before expiry. It proposes repricing the option each month with Black–Scholes using the current spot,…

OptionsEquitiesVolatilityBacktesting
Quant Q&A

The document compares historical daily log-return standard deviations for NASDAQ, gold, and silver with average standard deviations measured across simulated GARCH(1,1) paths. The simulations use rugarch, fit separate models with a zero-mean specification,…

StatisticsVolatilityBacktesting
Quant Q&A

The document considers how to assess expected shortfall, also called conditional value at risk, when it is not directly elicitable as a standalone forecast. It discusses a proposal to approximate expected shortfall by averaging several value-at-risk…

Risk managementBacktestingStatistics
Quant Q&A

The document examines whether a cross sectional mean reversion strategy can replicate an equity index using a subset of its components. The proposed signal buys stocks whose returns lag the universe and shorts those that outperform. The response explains…

EquitiesMean reversionPortfolio constructionBacktesting
Quant Q&A

The document considers Monte Carlo evaluation of conditional expectations involving an integrated Jacobi volatility process, as part of a real-options research problem. The process is bounded, but the questioner worries that Euler discretization may…

OptionsVolatilityStatisticsBacktesting
Quant Q&A

The document asks how to obtain a discrete-time form of the Jamshidian–Zhu short-rate model, which combines an Ornstein–Uhlenbeck stochastic driver with principal-component weights for yield-curve movements. The stated application is estimating stressed…

Fixed incomeRisk managementBacktesting
Quant Q&A

The document presents a simple moving-average backtester for shares, with signals based on a fast and slow average, position sizing, cash accounting, and portfolio equity. The reported output contains missing values, and the answer points to a likely cause…

BacktestingEquitiesTechnical indicatorsExecution
Quant Q&A

The document asks how to adjust statistical significance when a trading rule is selected by optimizing continuous parameters, using moving-average lengths as an example. It contrasts this with calendar-effect research, where a finite set of candidate rules…

StatisticsBacktestingTechnical indicators
Quant Q&A

The document explains why the estimated constant in a GARCH return model may differ from the ordinary sample mean. The sample mean gives every observation equal weight. Under a GARCH model, observations have different conditional volatility, so…

StatisticsVolatilityEquitiesBacktesting
Quant Q&A

The document outlines a practical workflow for stock factor investing: define an investible universe, collect and process factor data, then rank or score securities. It describes several ways to turn scores into holdings, including selecting a subset and…

EquitiesFactor investingPortfolio constructionBacktesting
Quant Q&A

The document compares Monte Carlo estimates for discretely monitored variance and volatility swaps under a Variance-Gamma model. It defines the variance swap value as the square root of expected realized variance, while the volatility swap value is the…

VolatilityDerivatives pricingBacktestingStatistics
Quant Q&A

The document discusses how to evaluate a market forecasting model when each observation at time T is paired with an outcome measured n days later. Randomly assigning calendar years to training and testing sets can create boundary problems because future…

BacktestingMachine learningStatisticsEvent-driven