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 asks how to apply the PRIIPs category 3 methodology to an index-linked bond product. The proposed workflow is to collect daily historical yield-curve log returns, use principal component analysis to retain the three largest components,…

Fixed incomeStatisticsRisk managementBacktesting
Quant Q&A

This exchange discusses whether Stata can estimate a BEKK-GARCH model and clarifies when that model is appropriate. One answer says it is not aware of a Stata implementation and points to R software that can fit a BEKK(1,1) model, while noting that…

StatisticsVolatilityBacktesting
Quant Q&A

The document explains two ways to construct a constant-maturity sovereign bond yield series. A rolling series records the yield of whichever specific bond is currently designated on-the-run for a maturity. When the benchmark bond changes, the series can jump…

Fixed incomeStatisticsBacktesting
Quant Q&A

The discussion offers practical considerations for choosing historical and recurring market data when starting quantitative research on a limited budget. It suggests weighing the desired accuracy and breadth of coverage, including the number of markets and…

Multi-assetEquitiesBacktesting
Quant Q&A

The document considers whether adding Bitcoin to a stock-market proxy improves a CAPM test. The questioner reports applying a GRS test to ten industry portfolios and finding jointly significant alphas with a stock-based market proxy. Adding Bitcoin at a 2.1%…

CryptoFactor investingStatisticsBacktesting
Quant Q&A

The document explains the joint-test problem in empirical tests of market efficiency. A researcher does not observe market efficiency directly; instead, the test evaluates whether returns contain statistically significant abnormal performance relative to an…

StatisticsFactor investingBacktesting
Quant Q&A

This note diagnoses a warning from a rolling GARCH estimation in R. The example computes returns from SPY closing prices with `ROC`, then passes them to `ugarchroll` for repeated model estimation. The key issue is that the first return is missing because a…

VolatilityBacktestingEquitiesStatistics
Quant Q&A

The document proposes ways to fill an early gap in monthly total returns for a German government bond maturity bucket of ten years and above. One approach constructs a proxy using a chosen long tenor, with twenty years offered as a practical example. It uses…

Fixed incomeBacktestingStatistics
Quant Q&A

The document describes a way to maintain adjustment factors for saved historical price data obtained through Interactive Brokers. It distinguishes the provider’s TRADES series, which reflects stock splits but not dividends, from ADJUSTED_LAST, which reflects…

EquitiesBacktesting
Quant Q&A

The document considers how to defend a historical simulation model when external changes, such as a financial crisis or tax policy shift, cause its predictions to diverge from observed outcomes. The example is a non-performing loan rate model that may lag…

StatisticsRisk managementBacktesting
Quant Q&A

The document asks how to estimate covariance when optimizing a minimum-variance portfolio over weekly or fortnightly cumulative returns. It contrasts calculating covariance directly from returns sampled at the target frequency with scaling a daily covariance…

StatisticsPortfolio constructionBacktestingOptions
Quant Q&A

The document considers how to handle missing monthly returns for stocks selected into a portfolio. It outlines simple treatments, including assigning zero, the risk-free rate, or a strategy-neutral return, and skipping months across assets. It also describes…

EquitiesBacktestingStatisticsRisk management
Quant Q&A

The document presents ways to simulate multiple price series whose log prices share stationary long-run relationships. One approach specifies an error-correction mechanism: deviations from a chosen cointegrating combination pull the series back toward…

StatisticsPairs tradingMean reversionBacktesting
Quant Q&A

The document asks how to calculate measures such as maximum drawdown, Sharpe ratio, and Treynor measure from a strategy’s returns. Replies point to several Python tools: Backtrader for a broader backtesting environment with analyzers, empyrical for risk and…

BacktestingStatisticsRisk management
Quant Q&A

The document compares two ways to estimate the distribution of an hour of USDJPY one-minute returns: repeatedly convolving an empirical histogram and Monte Carlo sampling sums of 60 observed moves. The simulated sums produce a wider distribution, while the…

ForexStatisticsVolatilityBacktesting
Quant Q&A

The discussion explains how to solve the Black–Scholes partial differential equation directly with a finite-difference scheme, without first transforming it into the heat equation. A European option’s payoff at maturity supplies the terminal condition;…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document asks how to benchmark covariance forecasting methods used to build minimum-variance portfolios. The strategy described estimates covariance from historical daily returns, forms portfolio weights, and rebalances weekly. For a perfect-information…

Portfolio constructionStatisticsBacktestingRisk management
Quant Q&A

The document describes an attempt to reproduce simulated regression results from research on long-horizon predictability. It sets up annual returns as unpredictable shocks and models the predictor as an AR(1) process, with correlated predictor and return…

StatisticsBacktestingEquities
Quant Q&A

The document presents a Python implementation intended to price a European option under the Kou double-exponential jump-diffusion model. The author reports a call value that differs from a reference value and asks for help locating the error. The code…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document asks how to combine two return series when holding a long position in one asset and a short position in another, with capital weights of 0.7 and 0.3. The response describes converting each period’s return into a gross return factor, applying a…

EquitiesPortfolio constructionBacktesting
Quant Q&A

The document describes an implementation problem with Least Squares Monte Carlo (LSM) pricing of American vanilla puts. The questioner follows Longstaff and Schwartz’s setup, including simulated paths with antithetic variates and regressions using weighted…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The discussion asks what to do when a historical Value-at-Risk model fails conditional coverage or independence backtests. It recommends treating the failure as a prompt to investigate the model and its inputs, rather than assuming that changing the return…

Risk managementBacktestingVolatilityStatistics
Quant Q&A

The document explains a spreadsheet simulation that draws a lognormal value and subtracts one. The key interpretation is that the lognormal draw can represent a gross price ratio, such as the ending price divided by the starting price. Subtracting one…

StatisticsBacktesting
Quant Q&A

The document presents a measure-change approach to estimating a very small standard normal tail probability. It shifts the sampling distribution toward the rare event by using a normal distribution centered at the threshold, where exceedances become much…

StatisticsBacktestingRisk management