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 question considers forecasting a future multi-day return from a history of rolling returns. Because adjacent rolling windows share most of their daily observations, the inputs are strongly autocorrelated. The response says that autocorrelation alone does…

StatisticsMomentumMachine learningBacktesting
Quant Q&A

The document explains how to use QuantLib’s FixedRateBondHelper to bootstrap a discount curve from bond market data. It distinguishes the bond’s coupon, which defines its scheduled cash flows, from its quoted price, which calibrates the curve. Short-maturity…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document discusses potential drawbacks of using deep learning to calibrate and price a full implied-volatility surface. It notes that neural methods can produce very fast calibration at application time, while training may involve substantial…

OptionsMachine learningDerivatives pricingBacktesting
Quant Q&A

The discussion considers how to simulate returns for a portfolio containing many equities and bonds while retaining realistic dependence across assets. The initial proposal estimates historical means, standard deviations, and correlations, draws multivariate…

Multi-assetPortfolio constructionStatisticsBacktesting
Quant Q&A

The document concerns how to design a simulation study comparing hierarchical risk parity with the analytical global minimum variance portfolio formula for stocks. The question highlights that results may depend on assumptions about the covariance structure…

EquitiesPortfolio constructionBacktesting
Quant Q&A

The exchange discusses whether an asymmetric dynamic conditional correlation GARCH model can produce covariance forecasts beyond one day using R’s rmgarch package. The questioner believes the package supports only one-day forecasts and asks how to obtain an…

StatisticsVolatilityBacktesting
Quant Q&A

The discussion considers how to convert assets denominated in different currencies into an account currency during portfolio backtests. The central tradeoff is computational cost versus fidelity: applying an FX rate to every market tick may be expensive,…

ForexBacktestingPortfolio constructionRisk management
Quant Q&A

The document outlines a basic Monte Carlo procedure for estimating single-asset Value at Risk: choose a return distribution, estimate its parameters, simulate returns, revalue the position under each scenario, and read the loss quantile for the chosen…

Risk managementStatisticsBacktesting
Quant Q&A

The note outlines a process for building a UK equity sample for Fama–French five-factor or q-factor asset-pricing research. It favors Worldscope UK over combining the active UK securities list with the dead-stock list because accounting data is more…

EquitiesFactor investingBacktestingUS markets
Quant Q&A

The discussion examines how to tell whether a market-timing strategy adds skill beyond exposure to broad market returns. A strategy that is mostly long during a rising market may appear successful while offering little independent evidence of an edge. One…

BacktestingRisk managementStatisticsPosition sizing
Quant Q&A

The document considers ways to hedge a long SPY position against a substantial decline: a volatility-linked ETF, an inverse leveraged ETF, and put options. It sketches possible gains and costs for each, but the proposed payoff estimates are uncertain and are…

EquitiesOptionsVolatilityRisk management
Quant Q&A

The document discusses quality checks for daily stock records containing open, high, low, close, adjusted close, and volume. Beyond basic consistency rules—such as checking whether the close or open falls outside the daily high-low range—it recommends…

EquitiesBacktestingStatistics
Quant Q&A

The document discusses how to represent brokerage fees, bid-ask effects, and slippage when simulating daily stock trades without quote data. It argues that a single relative transaction-cost rate cannot be assumed realistic across all situations: costs vary…

EquitiesBacktestingExecutionMarket microstructure
Quant Q&A

The document asks when Monte Carlo discretization is needed in financial modeling, given that geometric Brownian motion can be simulated exactly at selected dates. The responses name the LIBOR market model, Heston stochastic volatility, and local volatility…

Derivatives pricingOptionsStatisticsBacktesting
Quant Q&A

The document discusses ways to reduce sampling noise when simulating a Cox–Ingersoll–Ross interest rate process for option valuation. It recommends quasi-random sequences, with Niederreiter sequences given as an example, and control variates, suggesting a…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document asks how to define a stock that fades through the day in a way that can be measured. An open-to-close decline alone may miss a rise earlier in the session followed by a sharp late drop. The questioner suggests requiring an early high of day that…

EquitiesStatisticsMomentumBacktesting
Quant Q&A

The document raises two questions about reproducing a hidden Markov model study of factor investing across market regimes. First, it asks whether the reported regime labels and their return and volatility summaries use future observations to classify past…

Machine learningStatisticsBacktestingUS markets
Quant Q&A

The document discusses reducing Monte Carlo pricing variance for a European put under a stochastic volatility simulation. The questioner uses the terminal stock price as a control variate and reports a modest reduction in the estimated standard error after…

OptionsStatisticsBacktestingDerivatives pricing
Quant Q&A

The document compares a European call price computed from a binomial model with a Monte Carlo estimate. In a binomial model, the risk-neutral probability is derived from the up and down factors and the risk-free rate. The terminal payoff is then averaged…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document describes a simulation problem: a researcher wants to compare a trading model’s behavior on ordinary price paths and paths with jumps, while isolating the effect of increased skewness. They can match the mean of the jump process to a geometric…

StatisticsVolatilityBacktesting
Quant Q&A

The document describes simulations using the Gibbons–Ross–Shanken test to evaluate a CAPM-style model across multiple test portfolios. With returns generated under the model, the test does not reject the null; adding nonzero portfolio alphas leads to…

StatisticsFactor investingBacktesting
Quant Q&A

The document discusses how to estimate execution slippage for a strategy trading many stocks with orders that are small relative to average daily volume. One proposed starting point is a cross-sectional regression using bid-ask spread and order size relative…

EquitiesExecutionMarket microstructureBacktesting
Quant Q&A

The document examines an apparent performance bias in a simple rolling walk-forward backtest. It uses lagged indicators to predict next-day returns, fits a linear regression on each training window, and evaluates it on the adjacent test window. The accepted…

BacktestingTechnical indicatorsEquities
Quant Q&A

The document explains what it means when a test statistic falls within the non-rejection region at a stated confidence level. The result is a failure to reject the null hypothesis; it does not establish that the null is true. A non-rejection may reflect…

StatisticsRisk managementBacktesting