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

20,364 documents

Quant Q&A

The document asks how to calculate a firm's unsystematic risk from a market regression, given its R-squared and the regression's standard deviation. It distinguishes total return variability from the part left unexplained by the market. The answer points to…

StatisticsRisk managementEquities
Quant Q&A

The document discusses adding candlestick-pattern features to a machine-learning model that predicts whether a stock’s next daily close will rise or fall. The researcher scores patterns by the share of observed cases in which price moved in the pattern’s…

EquitiesMachine learningBacktesting
Quant Q&A

The document derives the familiar annualization rule for covariance of asset log returns: multiply the per-period covariance by the number of periods in a year. It uses the covariance-of-sums identity. When returns within each period may co-move but returns…

Multi-assetStatisticsPortfolio construction
Quant Q&A

The document considers a cross-sectional performance-attribution regression with asset returns as the response and style factors plus country indicators as predictors. It asks whether including a dummy for every country alongside a constant makes the model…

EquitiesFactor investingStatistics
Quant Q&A

The document considers why the equivalent martingale measure is unique in the standard Black–Scholes setting. Its proof outline represents a candidate measure through a positive density process and uses the predictable representation property to express that…

StatisticsDerivatives pricingRisk management
Quant Q&A

The document explains how to obtain the probability that a stock price modeled by Heston will finish above a specified threshold at a future date. In options terminology, this probability is the undiscounted value of a digital call on the modeled spot…

OptionsEquitiesVolatilityDerivatives pricing
Quant Q&A

The document derives the probability that an investment has a positive return over a chosen horizon under a geometric Brownian motion model. Starting with a price process whose drift is 15% and volatility is 10%, it applies Itô’s lemma to show that log…

StatisticsVolatilityRisk management
Quant Q&A

The document explains why a latency figure is meaningful only when its start and end points are specified. It distinguishes order-to-accept latency, the round trip from sending an order until receiving an acceptance, cancellation, or execution response, from…

High-frequency tradingExecutionMarket microstructure
Quant Q&A

The document considers how to store and represent constraints in an asset-allocation program. It raises options such as classifying constraints into categories, defining a small domain-specific language and parser, or using a structured representation such…

Portfolio constructionStatistics
Quant Q&A

The document asks how to attribute the total loss from a sequence of monthly returns to selected months. It points out that returns compound multiplicatively, so simply adding the monthly percentages and assigning a fraction of that sum to the ending loss…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document examines whether Itô’s lemma can derive the risk premium of a derivative without assuming in advance that it shares the underlying asset’s Sharpe ratio. It applies Itô’s lemma to a value defined as the exponential of the risk-free rate times the…

Derivatives pricingStatisticsRisk management
Quant Q&A

The document asks why a rolling average of a compounded price series can appear to have the same variance as the underlying price levels, even as the averaging window grows. The question contrasts this observation with the familiar intuition that averaging…

StatisticsVolatility
Quant Q&A

The document investigates why a GARCH(1,1) fit differs from a variance model that replaces its lagged squared-return term with an external regressor. The example uses daily equity returns and compares fitted coefficients from the two specifications. The…

EquitiesVolatilityStatisticsRisk management
Quant Q&A

The document explains why forward Libor rates are often modeled as lognormal in Black’s framework, while clarifying that this distribution is a modeling choice rather than a requirement of no-arbitrage. By expressing a forward rate as a ratio of zero-coupon…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The question compares two ways to specify returns when modeling stock prices under the physical measure. A conventional GARCH model uses a constant conditional mean, with volatility changing through the variance process. An alternative adjusts the mean by…

StatisticsVolatilityOptionsRisk management
Quant Q&A

The discussion surveys software and methods for testing options strategies, including multi-leg spreads. It explains why this work is harder than testing linear instruments: historical option chains are large, implied volatility histories may be unavailable,…

OptionsBacktestingVolatilityExecution
Quant Q&A

The discussion examines whether the risk-neutral measure, used to price securities, should also be used to forecast real-world returns. It argues for comparing predictive performance empirically rather than relying only on theoretical objections or strong…

StatisticsDerivatives pricingOptions
Quant Q&A

The discussion distinguishes elicitation from backtesting. Expected Shortfall (ES) lacks a scoring function that uniquely elicits it as a point forecast, but that limitation does not by itself make ES impossible to backtest. The document cites work proposing…

Risk managementBacktestingStatistics
Quant Q&A

The document addresses a mistaken either-or choice between modeling returns with a parametric probability distribution and using an autoregressive model. These describe different parts of a model: a distribution specifies the form of uncertainty, while…

StatisticsMachine learningVolatility
Quant Q&A

The document surveys liquidity mechanisms beyond a central limit order book, including requests for quote, streaming quotes, single-dealer platforms, multi-dealer platforms, systematic internalisers, and dark pools. The response focuses on the trade and…

Market microstructureExecutionFixed incomeMarket making
Quant Q&A

The document asks whether a long position in a quarterly bitcoin future and a short position in a perpetual swap can remain market neutral. It explains that perpetual swaps have no expiry and use funding payments to help keep their prices near spot. The…

CryptoFuturesPerpetual futuresCarry
Quant Q&A

The document discusses the Corwin–Schultz estimator, which infers bid-ask spreads from high and low prices over consecutive days. Its derivation relies on a geometric Brownian motion assumption and a relationship between one-day and two-day variance,…

Market microstructureStatisticsHigh-frequency tradingExecution