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 asks how to estimate future values for a portfolio containing a stock, a long-term coupon bond, and a European call option. It provides example daily inputs for the stock price, required yield, volatility, and short-term interest rate, and asks…

Multi-assetPortfolio constructionBacktestingDerivatives pricing
Quant Q&A

This document asks how practitioners should interpret the J-statistic in linear factor models, where the test evaluates whether model pricing errors, or alphas, are jointly zero. The author describes simulating stock returns with normal noise but failing to…

Factor investingStatisticsBacktesting
Quant Q&A

The document explains why weights from PortfolioAnalytics’ rebalancing optimizer can differ from weights produced by a separate call to its portfolio optimizer. Rebalancing occurs at specified data endpoints, and at each endpoint the rolling window…

Portfolio constructionBacktesting
Quant Q&A

The document explains how to interpret a correlation heatmap associated with many strategy backtests in a financial research paper. The questioner is unsure how thousands of index-versus-strategy data points are ordered in the exhibit. The accepted…

BacktestingStatisticsMachine learning
Quant Q&A

The answer treats a cointegration spread as a synthetic position: going long the spread means buying one leg and shorting a hedge-ratio-weighted amount of the other, with the reverse positions for a short spread. It then discusses practical sizing across…

Pairs tradingPosition sizingPortfolio constructionBacktesting
Quant Q&A

The document describes a simple pathwise approximation for the time integral of an exponential function of standard Brownian motion. First, divide the time horizon into small intervals and simulate each Brownian increment from a normal distribution with…

StatisticsBacktesting
Quant Q&A

The document explains market dynamics as the conditions and behaviors that influence a trading model’s parameters and the patterns it seeks to exploit. A model estimated on historical data assumes that relationships such as a market beta remain sufficiently…

BacktestingStatisticsMachine learning
Quant Q&A

The document considers a Hull–White short-rate simulation using Euler–Maruyama to estimate the expectation of a terminal payoff. It distinguishes the error from using a finite number of simulated paths from the error introduced by approximating the…

StatisticsBacktestingFixed income
Quant Q&A

The document presents an empirical estimator for expected shortfall from Monte Carlo samples. It uses ordered simulated outcomes to estimate the relevant quantile and averages the observations in the tail, with a fractional contribution from the observation…

Risk managementStatisticsBacktesting
Quant Q&A

The document presents ways to validate option pricing and Greek calculations across analytical, finite difference, binomial, and Monte Carlo methods. For models with closed form solutions, it recommends comparing against formulas and worked examples, while…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The post investigates why annualized GARCH(1,1) volatility forecasts from Python's ARCH package matched observed volatility for a more volatile futures return series but appeared far too high for a less volatile series. The author initially assumed that…

FuturesVolatilityBacktestingStatistics
Quant Q&A

The post describes a historical S&P 500 simulation that forms annual portfolios from companies ranked by return on equity: a top group, a bottom group, and a portfolio combining both. Holdings that leave the index are sold and their value redistributed among…

EquitiesFactor investingPortfolio constructionBacktesting
Quant Q&A

The document presents several proposed ways to set relative objective weights for alpha forecasts and transaction costs in a portfolio optimizer. The setting is monthly standardized factor-model forecasts combined with a nonlinear market-impact model…

Portfolio constructionExecutionBacktestingFactor investing
Quant Q&A

The document addresses a survivorship and identifier problem in historical research: finding which exchange-traded funds and real estate investment trusts existed at earlier dates, along with their changing symbols. It points to historical ETF launch,…

EquitiesUS marketsBacktesting
Quant Q&A

The document raises a research question about using Kagi and Renko charting methods on high-frequency foreign-exchange data. The researcher reports applying them across multiple sample lengths and obtaining small positive results, but says cumulative returns…

ForexTechnical indicatorsBacktestingStatistics
Quant Q&A

The document presents a decision problem in which Monte Carlo simulation has produced cost distributions for two alternatives. Their benefits are assumed equal but are not specified, and the decision maker is described as risk averse. Because the simulated…

StatisticsRisk managementPortfolio constructionBacktesting
Quant Q&A

The document addresses how to revalue an options portfolio in a Monte Carlo VaR simulation when the underlying is simulated with a historical stochastic-volatility model such as GARCH. Its central distinction is that historical volatility of the underlying…

OptionsVolatilityRisk managementBacktesting
Quant Q&A

The document presents a simulation of index prices using log returns and a GARCH(1,1) variance recursion. The author selects parameters using the lowest Akaike information criterion and generates repeated paths by drawing innovations from a normal…

StatisticsVolatilityBacktestingEquities
Quant Q&A

The document presents a question about implementing the pathwise derivative method for estimating a call option’s delta under a geometric Brownian motion model. The proposed simulation code evolves prices through multiple time steps and then sums…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The question examines empirical distributions of rolling stock returns calculated over overlapping windows. Because adjacent returns share observations, the series is serially correlated. The author considers thinning the data by sampling every window length…

EquitiesStatisticsBacktesting
Quant Q&A

The document presents a QuantLib setup for calibrating a one-factor Hull–White short-rate model to a EUR overnight-indexed discount curve and a normal-volatility surface for three-month Euribor swaptions. It describes fitting the model’s mean-reversion and…

Fixed incomeDerivatives pricingVolatilityBacktesting
Quant Q&A

The document addresses failures in Python workflows that previously fetched foreign-exchange and other historical price data through Yahoo or Google with tools such as pandas datareader and ffn. The accepted answer attributes the Yahoo failure to changes in…

ForexExecutionBacktesting
Quant Q&A

The document asks how to choose a Monte Carlo sample size for estimating a Bernoulli mean to a specified absolute precision. It presents the central limit theorem formula for sample size, using a normal quantile, the outcome variance, and the squared error…

StatisticsBacktestingRisk management
Quant Q&A

The document outlines a finite-difference approach to pricing a European call by evolving the underlying asset’s probability density under a geometric Brownian motion model. It starts with a forward Kolmogorov equation, discretizes time and the asset-price…

OptionsDerivatives pricingStatisticsBacktesting