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 choose a probability measure when pricing derivatives with Monte Carlo simulation. It starts from risk-neutral valuation, where price is the discounted expected payoff, and notes that simulations may require modeling state variables…

Derivatives pricingFixed incomeStatisticsBacktesting
Quant Q&A

The document explains how to generate multivariate Gaussian returns with a target covariance structure. Starting with a vector of independent standard normal draws, apply a matrix square root of the desired covariance matrix. A Cholesky factor is one such…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The document examines a proposed monthly regression of year-over-year stock index returns on lagged returns and macroeconomic variables, including credit spreads, inflation, and industrial production. It describes a forecasting setup that uses ARIMA…

EquitiesStatisticsBacktesting
Quant Q&A

The document explains why quasi-Monte Carlo methods use low-discrepancy sequences: these points fill a space more evenly than random samples, reducing large gaps. It defines discrepancy as a measure of how closely the fraction of points in a region matches…

StatisticsBacktestingDerivatives pricing
Quant Q&A

The question seeks a long historical daily closing-price series for the individual companies that made up the Dow Jones Industrial Average, rather than a series for the index itself. The response points to a dataset of intraday one-minute bars covering the…

EquitiesUS marketsBacktesting
Quant Q&A

This exchange diagnoses a dimensional error in a one-step geometric Brownian motion simulation. The closed-form process uses a drift term of (μ − σ²/2)T and a random term of σ√T multiplied by a standard normal shock. The code in the question instead…

StatisticsBacktesting
Quant Q&A

The document introduces basis-function selection in Longstaff–Schwartz least-squares Monte Carlo pricing for options on multiple underlyings. In this approach, continuation values are approximated with basis functions during backward induction, which…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document shows how to generate joint spot and variance paths from QuantLib's Heston process in Python. It constructs the process from initial variance, mean-reversion, long-run variance, volatility-of-variance, correlation, spot, and rate inputs, then…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document discusses how to evaluate residuals when comparing time-series forecasts, including volatility forecasts from models such as GARCH. It recommends examining autocorrelation: if errors contain predictable structure, the model may be missing a…

StatisticsBacktestingVolatility
Quant Q&A

The document explains a data choice for studying market expectations of Federal Reserve policy. Actual 30-day Fed Funds futures reference the average effective rate over a calendar month, so they do not offer a contract with a continuously rolling 30-day…

FuturesFixed incomeUS marketsBacktesting
Quant Q&A

The document raises a problem in simulation-based testing of investment strategies that use valuation measures such as price-to-book or dividend yield. A simulation that generates prices while retaining historical values for accounting variables may create…

EquitiesBacktestingStatistics
Quant Q&A

The document asks whether historical listed SPX options data from the CBOE data shop is reliable enough for backtesting, especially regarding missing or incorrect prices and Greeks. The response recommends checking a small sample of purchased contracts…

OptionsBacktestingUS markets
Quant Q&A

The document considers whether historical equity prices should be adjusted for ordinary dividends when backtesting strategies, alongside the existing adjustments for splits and special dividends. Its practical guidance separates signal construction from…

EquitiesBacktesting
Quant Q&A

The document proposes revisiting the portfolio construction rule at every rebalance instead of committing to one allocation scheme throughout an investment horizon. It contrasts optimized approaches, such as minimum variance and maximum Sharpe portfolios,…

Portfolio constructionBacktestingStatistics
Quant Q&A

The document explains why multiplying single-period variance by the number of periods can misstate the variance of compounded horizon returns when returns are serially correlated. Under covariance stationarity and a common single-period variance,…

StatisticsRisk managementBacktesting
Quant Q&A

The document presents a beginner’s question about why summing rate-of-change values multiplied by trading signals gives a different return from the price change between a stated entry and exit. The example uses Bollinger Bands, stochastic indicators, and…

EquitiesTechnical indicatorsBacktestingStatistics
Quant Q&A

This collection of answers challenges widely used ideas in quantitative finance, including correlation-based diversification, CAPM as an allocation rule, normally distributed independent returns, value at risk, efficient markets, copulas, and perfect delta…

Risk managementStatisticsPortfolio constructionDerivatives pricing
Quant Q&A

The discussion considers how to scale a large set of technical indicators when training a model across many stocks with different price levels and feature ranges. Suggested approaches include range scaling, mean-zero standardization, and converting skewed…

Technical indicatorsMachine learningStatisticsBacktesting
Quant Q&A

The document presents four regressions for a series and its first and second differences, then asks which integration level is supported. The examples include lagged-level coefficients, standard errors, and Breusch–Godfrey p-values for residual…

StatisticsBacktesting
Quant Q&A

The document explains how to turn a sequence of periodic returns into a continuous index or equity curve starting from a base value. It distinguishes adding return increments from compounding them and gives the accepted answer: multiply the index by one plus…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document outlines the two-step Fama–MacBeth procedure: estimate cross-sectional return regressions each month, then average each coefficient’s time series. It describes the usual standard error as the sample standard deviation of those monthly estimates…

StatisticsEquitiesBacktesting
Quant Q&A

The document addresses an unexpected result in a Sharpe ratio sensitivity analysis: lowering the assumed risk-free rate appears to lower the ratio for both a strategy and its benchmark. The calculation described converts an annual rate into a daily rate,…

StatisticsRisk managementBacktesting
Quant Q&A

The document raises a data-continuity question for a pair-trading model using futures contracts. It says the training series for each contract has been forward-adjusted and asks whether live prices should receive the same adjustment when the model is tested.…

FuturesPairs tradingBacktesting