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

The document responds to a question about finding structural breaks in the variance or volatility of financial time series, where the Chow test used by the questioner was not suitable. It points to sequential change-detection methods, particularly a…

StatisticsVolatilityRisk management
Quant Q&A

The document describes an attempt to build a EUR interest-rate curve from Bloomberg tenor rates with Rateslib, then price swaps at different maturities. The curve uses the EUR IRS convention, log-linear interpolation, and discount factors calibrated from the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The question concerns finding minimum-variance portfolio weights when short sales are prohibited, with a particular focus on using an inverse covariance matrix directly. It presents the usual constraints: weights sum to one, achieve a target expected return,…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document surveys data sources that systematic traders can use beyond historical prices, including traded volume, company fundamentals, and alternative data such as satellite imagery, news text, supply-chain information, and card transactions. Its main…

Machine learningStatisticsBacktestingEquities
Quant Q&A

The document explains how low or negative interest rates can pressure bank profitability through net interest margin compression. Banks commonly fund themselves with deposits and other short-term sources, then lend at longer maturities and charge a spread.…

EquitiesFixed incomeRisk managementStatistics
Quant Q&A

The document addresses portfolio optimization where conditional value at risk must stay below a specified portfolio-wide limit. Its central setup is to choose variance as the objective while imposing CVaR as a constraint, alongside a budget constraint and…

Portfolio constructionRisk managementStatistics
Quant Q&A

The note outlines a historical-simulation method for estimating a bond’s value at risk from changes in the US Treasury curve and the bond’s credit spread. First, convert historical clean prices into bond yields using the appropriate settlement dates. Then…

Fixed incomeRisk managementStatisticsUS markets
Quant Q&A

The document poses a continuous-time valuation problem for a cash flow tied to two stochastic state variables and a pricing kernel. It specifies correlated Brownian drivers, state-dependent growth, and a two-state continuous-time Markov process for the…

StatisticsDerivatives pricing
Quant Q&A

The document offers a reading guide for someone moving from foundational portfolio theory toward practical portfolio management. It starts with Markowitz’s portfolio selection work and Sharpe’s capital asset pricing model, then points to research on Bayesian…

Portfolio constructionFactor investingMomentumTrend following
Quant Q&A

The document explains the shift from single-curve swap valuation to multi-curve valuation. Before the financial crisis, practitioners commonly treated LIBOR as a risk-free rate and used it to construct swap curves. Under modern collateralized valuation, an…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

This question describes a QuantLib curve-building failure while using Australian market data and fixed-rate bond helpers. The reported error occurs when the long-dated instruments are included, and the supplied coupon inputs are 0.1838 and 0.165. The…

Fixed incomeStatistics
Quant Q&A

The document considers whether a return variance-covariance matrix should be identical under the physical probability measure and the risk-neutral measure. Its answer emphasizes that equality is not generally supported by empirical evidence. In particular,…

OptionsVolatilityStatisticsDerivatives pricing
Quant Q&A

The document addresses how to obtain historical shares outstanding and market capitalization for companies currently in the S&P 500. The questioner wants monthly market-cap figures extending back to 2013, ideally for use in Python, and notes that Yahoo…

EquitiesUS marketsStatistics
Quant Q&A

The document asks how to validate a performing-loan Loss Given Default model by comparing its estimates with realized workout LGD. It distinguishes a model developed using a through-the-cycle sample of defaulted loans from estimates produced for a…

Fixed incomeStatisticsRisk managementBacktesting
Quant Q&A

The document asks how to transform short-rate dynamics in a one-factor Linear Gaussian Markov model from its associated numeraire measure to the risk-neutral measure, in order to identify the Hull–White form. The questioner derives the diffusion of the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses how to choose the number of hidden states in a hidden Markov model, using financial return data as an example. It compares selecting states by out-of-sample log likelihood with choosing the best in-sample fit using an information…

Machine learningStatisticsBacktestingRisk management
Quant Q&A

The document explains how to choose observations for an exponential moving average (EMA) on bars longer than one day. It reports that closing prices are a common input: the final trading-day close for a weekly bar and the final trading-day close for a…

Technical indicatorsEquitiesBacktestingStatistics
Quant Q&A

The document asks how Lie groups might be applied in finance and offers a tentative analogy with their use in physics. The response suggests using a transformation group to impose invariance on a model, which can introduce additional terms into its…

Statistics
Quant Q&A

The document asks for an intuitive explanation of the drift that appears when a forward rate in the LIBOR market model is expressed under a different forward measure. It presents the adjacent-rate drift adjustment, which depends on the correlation between…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares constructing a pairs trading spread from a price difference with using a price ratio. Its practical answer is to calculate the spread for the position the strategy will actually trade, since alternative leg weightings produce different…

EquitiesPairs tradingStatistics
Quant Q&A

The document examines how the risk-free rate affects risky debt yields and credit spreads in the Merton structural credit model. It presents the model’s zero-coupon debt yield formula and differentiates the spread with respect to the risk-free rate,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document derives the covariance between two Ornstein–Uhlenbeck processes whose Brownian drivers have instantaneous correlation. Starting from each process’s centered stochastic-integral solution, it takes the expectation of their product and uses the…

StatisticsMean reversion
Quant Q&A

The document asks how to turn forecasts from an ARIMA model of daily power futures returns into prediction intervals for prices. It describes a simple approach: reverse the data transformations, compound the forecasted returns from the latest observed price,…

FuturesStatisticsBacktesting
Quant Q&A

The note asks whether an underlying’s risk-neutral implied distribution can be recovered from forward prices, as it can from a cross-section of option prices using the Breeden–Litzenberger relationship. The answer explains that a forward price alone does not…

OptionsDerivatives pricingStatistics