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 discusses why the differential equation for an American put may be written as an inequality in the continuation region above the optimal exercise boundary. One response links the inequality to the option’s delta at the boundary and the condition…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document presents a replication attempt comparing price momentum with two earnings-based momentum signals, standardized unexpected earnings (SUE) and earnings announcement returns (CAR3). The researcher describes building SUE from quarterly earnings per…

EquitiesMomentumFactor investingBacktesting
Quant Q&A

The document describes using quasi-Monte Carlo (QMC) points to generate Gaussian shocks for simulated asset paths, with a Brownian bridge (BB) arranging those shocks across time. It recommends mapping low-discrepancy uniform points through the inverse normal…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document explains why a historical adjusted closing price downloaded from Yahoo Finance can differ between downloads made at different times. The quoted example compares two values for Microsoft on the same historical date, then points to the provider’s…

EquitiesUS marketsBacktesting
Quant Q&A

The discussion explains how Fourier transforms and characteristic functions can price European options when the underlying log-price density is difficult to obtain directly. It starts from the discounted expected payoff, expresses that expectation as an…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document raises the possibility that stocks listed early alphabetically might have different returns. The observation comes from a backtest comparing the first 10 and first 100 alphabetically ordered S&P 500 symbols; the first 10 appeared to perform…

EquitiesUS marketsBacktestingStatistics
Quant Q&A

The document explains how to price a zero-coupon bond at an intermediate time in the one-factor Hull–White model and debug a QuantLib simulation. The bond value is expressed as a time-dependent factor multiplied by an exponential function of the current…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document explains winsorization as replacing observations in the upper or lower tails of a variable with the corresponding percentile cutoff. It contrasts truncation, which marks tail observations as missing, and frames both as possible treatments for…

StatisticsRisk managementBacktesting
Quant Q&A

The document describes fitting a credit-rating transition matrix as a convex blend of a base matrix and a stress matrix. A single scalar weight determines the blend, and the proposed objective is the sum of squared cell-by-cell differences from an observed…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document asks how to apply the FDR+ method to select trading rules that appear to outperform. It says the author has computed p-values using a stationary bootstrap, following a cited study, but provides no worked calculation, code, or detailed definition…

StatisticsBacktestingMachine learning
Quant Q&A

The document addresses a mismatch between an analytic price and a Monte Carlo estimate for a floating lookback put under geometric Brownian motion. The question gives a volatility, maturity, interest rate, time step, and spot, and reports that the simulation…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document explains two ways to simulate the return of a fixed-weight portfolio under a normal-return assumption. One method samples directly from a univariate normal distribution using the portfolio’s expected return and variance. The other draws asset…

Portfolio constructionStatisticsBacktesting
Quant Q&A

This troubleshooting note concerns an error raised by the rugarch package while running a rolling GARCH forecast with ugarchroll. The reported setup estimates an sGARCH model with an ARMA mean specification, then forecasts one step ahead over a rolling…

StatisticsVolatilityBacktesting
Quant Q&A

The document explains how a t-statistic can test whether a trading strategy’s average return differs from a null value, commonly zero. A small statistic indicates insufficient evidence to reject the null of no excess return. Because return observations can…

StatisticsRisk managementBacktestingPairs trading
Quant Q&A

The document asks how to annualize a Sharpe ratio calculated from monthly returns when those returns are serially correlated. It notes that the usual square-root-of-time scaling assumes uncorrelated returns and raises a specific question about estimating the…

StatisticsRisk managementBacktesting
Quant Q&A

This note shows how to price a path-dependent lookback call in a two-period binomial model. A European payoff depends only on the terminal asset price, so the two paths that reach the same middle terminal node can be combined and their probabilities added. A…

OptionsDerivatives pricingBacktesting
Quant Q&A

The discussion considers whether Markov chain Monte Carlo is useful for Bayesian inference in quantitative finance. It describes potential applications to estimating hidden-process parameters, including stochastic volatility models, and to inference for…

StatisticsMachine learningVolatilityDerivatives pricing
Quant Q&A

The document compares annualized return and volatility calculations based on logarithmic returns and simple returns. For monthly log returns, it describes scaling the mean by the number of periods in a year and scaling standard deviation by the square root…

StatisticsVolatilityRisk managementBacktesting
Quant Q&A

The document explains how to simulate two correlated asset paths under geometric Brownian motion. It starts with a covariance matrix encoding each asset's volatility and their correlation, then factors that matrix with a Cholesky decomposition. Multiplying a…

Multi-assetStatisticsBacktesting
Quant Q&A

The document presents a Python example that simulates portfolios by drawing random asset weights, scaling them to a fixed total, and calculating annualized return, volatility, and a return-to-risk ratio from historical returns and covariance. It asks how to…

Portfolio constructionBacktestingRisk management
Quant Q&A

The document addresses how to assess an exotic option pricing model when direct market prices are scarce. It proposes first checking whether the contract can be reduced to a simpler exotic structure that has observable quotes; if so, the model should…

OptionsDerivatives pricingBacktestingRisk management
Quant Q&A

The document asks whether stock indicators such as moving averages, MACD, Bollinger Bands, and exponential averages should use adjusted closing prices when shares split or pay dividends. Its example compares a two-day moving average around a reported…

EquitiesTechnical indicatorsBacktesting
Quant Q&A

The document examines a simulation of stock prices under geometric Brownian motion with zero drift. Although each simulated price at a fixed horizon has a lognormal distribution, the author finds that taking the median across all time steps produces a value…

EquitiesStatisticsBacktesting
Quant Q&A

The document gives formulas for calculating a daily pivot point and the first three support and resistance levels from the prior period's high, low, and close. It shows these levels alongside price bars and existing MACD and moving-average signals, then asks…

Technical indicatorsBacktestingEquities