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

21,023 documents

Quant Q&A

This discussion considers how to interpret a negative volume entry in a daily market-data file when blanks represent unavailable values. The replies agree that traded volume is not ordinarily negative, while zero volume can occur in some circumstances. One…

Market microstructureStatisticsEquities
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 considers two equivalent ways to represent a complete market: state-contingent Arrow-Debreu securities and a set of complex securities whose payoff vectors span all possible states. It asks how to express the equilibrium price of each complex…

Derivatives pricingPortfolio constructionFixed incomeStatistics
Quant Q&A

The document asks how to read Johansen cointegration test output for two stocks and whether cointegration implies a mean-reverting pair. It presents an initial result indicating one rejected rank hypothesis, followed by a detailed trace-test output where…

StatisticsEquitiesPairs tradingMean reversion
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 considers whether predicting an asset's current price from other assets has practical value when the market already reports that price. The responses identify data alignment and missing observations as possible uses. A model could estimate…

EquitiesStatisticsMachine learningMarket microstructure
Quant Q&A

The document asks how to define a spread for pairs trading after estimating a linear relationship between two asset prices. It compares subtracting the fitted intercept and scaling one price by the estimated gradient with omitting the intercept or simply…

Pairs tradingMean reversionStatisticsPosition sizing
Quant Q&A

The discussion distinguishes smoothing a price series from forecasting future values. It gives a recursive exponential-smoothing forecast in which the next estimate updates the current forecast in proportion to the latest observation's forecasting error.…

StatisticsVolatilityTechnical indicatorsRisk management
Quant Q&A

The discussion asks whether Bitcoin has a quantifiable fair value and how mispricing might be recognized. The answers describe its traded price as an outcome of supply and demand once the market is sufficiently liquid, while emphasizing that speculation is…

CryptoSpot marketsOptionsVolatility
Quant Q&A

The document asks when the expectation of a function of a random variable equals the function evaluated at that variable’s expectation. It considers a convex function and whether equality at a particular parameter value implies that the function is locally…

Statistics
Quant Q&A

The document explains how to derive the Black–Scholes pricing equation from a risk-neutral valuation formula. It assumes the underlying follows a geometric Brownian motion under the risk-neutral measure, with deterministic interest rates and constant…

OptionsDerivatives pricingStatistics
Quant Q&A

The document collects suggested references for learning exotic option pricing and implementing pricing methods. The original question concerns volatility and variance swaps, jump diffusion, and explicit or implicit finite-difference methods, with particular…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document describes a workflow for obtaining ISIN identifiers for listed equities. It starts with a downloadable spreadsheet of exchange tickers, then uses Bloomberg's Excel API to query the ISIN associated with each ticker. This offers a practical way to…

EquitiesStatistics
Quant Q&A

The document solves for the expectation and conditional expectation of an exponential built from Brownian motion at two different times. It first combines the correlated Brownian values by expressing the later value as the earlier value plus an independent…

StatisticsDerivatives pricing
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 explains how to estimate option Vega by bumping volatility and repricing, with examples involving multi-leg baskets and calendar spreads. Vega is a local sensitivity, so a one percentage point volatility move is a finite shock rather than a…

OptionsDerivatives pricingStatisticsRisk management
Quant Q&A

The document studies the random integral of an exponential weight times Brownian increments over a finite interval. A change of variables uses the stationarity of Brownian increments to express it in terms of a Brownian motion starting at zero, with an…

Statistics
Quant Q&A

The discussion explains that Value at Risk (VaR) is defined for a stated time horizon and confidence level; without a horizon, a VaR figure is incomplete. It outlines a common parametric approach: estimate portfolio return volatility from historical data, an…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document derives the expected stock growth factor over one time interval, restricted to cases where that factor falls below a threshold. Under geometric Brownian motion, the growth factor is lognormally distributed, so its truncated expectation can be…

StatisticsDerivatives pricingEquities
Quant Q&A

The document asks why volatility forecasts from an ARMA(1,1)-GARCH(1,1) model decline slightly over a multi-step forecast horizon. The displayed output shows the standard deviation estimates decreasing across successive forecast steps, while the questioner…

VolatilityStatistics
Quant Q&A

The document considers a GARCH(1,1) model fitted to the spread between two correlated assets. Although the reported coefficient estimates appear unremarkable, the standardized residuals show a bimodal distribution, prompting the question of whether such a…

StatisticsVolatilityPairs trading
Quant Q&A

The example considers a riskless asset and one risky asset whose dynamics are driven by two Brownian motions, while the information available to traders is generated by both. Although the asset equation can be rewritten using their scaled sum, that sum alone…

StatisticsDerivatives pricing
Quant Q&A

The document presents a closed-form expression for a zero-coupon bond price under an extended Hull-White short-rate model with time-varying drift, mean-reversion, and volatility parameters. The bond price is exponential-affine in the current short rate: one…

Fixed incomeDerivatives pricingStatistics