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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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 describes an attempt to forecast a differenced FTSE 100 series with an ARMA mean model and GARCH disturbances using the rugarch package. The author encounters missing volatility forecasts when requesting rolling forecasts and a plotting error…

EquitiesVolatilityMachine learningBacktesting
Quant Q&A

The document considers how to assemble historical intraday data for penny stocks that gap up by at least 10%, using a definition based on low share price and market capitalization. Its suggested workflow is to identify qualifying gap-up events with a stock…

EquitiesBacktesting
Quant Q&A

The document asks how to calibrate the market price of risk in the Black–Karasinski short-rate model when zero-coupon bond prices lack a closed-form expression. The proposed Monte Carlo approach simulates short-rate paths, discounts cash flows along them,…

Fixed incomeStatisticsBacktesting
Quant Q&A

The discussion surveys resources and cautions for applying statistical tests to trading ideas. It recommends evidence-based technical analysis as an introduction to objective indicator testing, including statistical inference, Monte Carlo permutation…

StatisticsBacktestingTechnical indicatorsRisk management
Quant Q&A

The document asks for a stock market anomaly that is straightforward to reproduce in an event study. The motivating constraint is that some candidate anomalies, such as post-earnings-announcement drift, are harder to demonstrate because company events occur…

EquitiesEvent-drivenBacktestingStatistics
Quant Q&A

The document asks how to simulate a multifactor Ornstein–Uhlenbeck process with matrix-valued mean reversion and diffusion. It contrasts the scalar exact time-step formula with the multivariate solution, whose random increment has correlated components.…

StatisticsMean reversionBacktesting
Quant Q&A

The document collects approaches to generating synthetic price series that remain within a chosen range while exhibiting a specified, but imperfect, relationship to historical prices. One answer proposes modeling returns with an Ornstein–Uhlenbeck process…

StatisticsMachine learningBacktestingFutures
Quant Q&A

The document explores whether predictive models should use market closing prices or adjusted prices, which account for distributions such as dividends. The author considers a model forecasting Dow Jones returns from other indices, commodities, and…

EquitiesMulti-assetStatisticsBacktesting
Quant Q&A

The document describes a Monte Carlo exercise procedure sometimes called hindsight overhedge for path-dependent options. At an exercise date, it examines the simulated path through a later maturity and uses that future information to decide retrospectively…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document discusses the difficulty of using wavelet transforms causally on finite financial time series. Boundary handling methods such as padding, symmetry, polynomial extrapolation, or forecasting an extension can influence coefficients near the…

StatisticsTechnical indicatorsBacktesting
Quant Q&A

The response explains how Bayesian modeling could relate strategy performance to changing factors, while correcting the idea that historical observations themselves constitute a prior. It distinguishes observed data from prior information about unknown…

StatisticsMachine learningBacktesting
Quant Q&A

The document raises a practical concern about estimating Value-at-Risk with a circular block bootstrap. The author asks how to wrap sampled return blocks from the end of a series back to its beginning, particularly around the observations labeled P10 and P1,…

StatisticsRisk managementBacktesting
Quant Q&A

The discussion examines an apparent case in which a numerically calculated American call is slightly cheaper than an analytically priced European call under matching inputs. The accepted response attributes the discrepancy to comparing different numerical…

OptionsDerivatives pricingBacktesting
Quant Q&A

The discussion explains why a high-frequency backtest’s latency assumption should reflect both message timing and the strategy’s sensitivity to event ordering. For spread-crossing or arbitrage strategies, it suggests modeling latency as variable, potentially…

High-frequency tradingBacktestingExecutionMarket microstructure
Quant Q&A

The document poses a research question about whether a stock’s price relative to its 52-week high can help explain subsequent returns. The proposed setup uses the price-to-high ratio as a predictor and a forward return, such as the following week’s return,…

EquitiesStatisticsMachine learningBacktesting
Quant Q&A

The discussion addresses how to compare a resampled efficient frontier (REF) with standard mean–variance optimization (MVO) when expected returns and a covariance matrix are available but future outcomes are not. It presents two sharply conflicting views of…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document explains a simple way to generate two non-stationary time series that are cointegrated. Start with a series containing a unit root, such as a random walk, then form a second series by adding a stationary process. The shared stochastic trend…

StatisticsPairs tradingBacktesting
Quant Q&A

The document examines an R example that assigns long and short positions from buy and sell signals, carries the latest signal forward, multiplies it by discrete close-to-close returns, and exponentiates the cumulative sum. The replies explain why the…

BacktestingStatisticsRisk management
Quant Q&A

The document considers whether individual quarterly returns can be recovered from a sequence of rolling one-year returns. Each rolling figure combines several quarterly returns, so the unknown quarterly values can be represented as a system of equations. The…

StatisticsBacktesting
Quant Q&A

This discussion collects risk management topics relevant to automated trading, with particular attention to high-frequency systems. It names drawdowns, runs of losses, empirical loss distributions, confidence intervals, value at risk, slippage, liquidity,…

Risk managementHigh-frequency tradingExecutionMarket microstructure
Quant Q&A

The document asks how a martingale should appear in a simulation of a Cox–Ross–Rubinstein stock-price model. It proposes checking whether the expected ratio of successive prices is one, then wonders whether plotting prices through time would reveal the…

StatisticsBacktesting
Quant Q&A

The note addresses whether days with zero observed stock returns should be removed before calculating excess returns in a CAPM analysis. Its main guidance is to first determine whether the zeros represent genuine market observations or data errors. Erroneous…

EquitiesStatisticsBacktesting
Quant Q&A

The document presents a regression question about two predictors whose individual coefficient tests produce relatively large p-values, while a joint test of both coefficients being zero produces a smaller p-value. It asks why this can happen and seeks…

StatisticsBacktesting
Quant Q&A

The document asks how to find past expiration dates for futures, especially stock index contracts, and contrasts calculating dates with retrieving recorded contract data. One answer describes querying historical instrument definitions from a market data…

FuturesBacktestingMarket microstructure