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

5,018 documents

Quant Q&A

The document discusses how to present a quantitative trading interview assignment that forecasts volatility for several stocks from a short high-frequency dataset. The candidate used a Bayesian multivariate stochastic-volatility model and wonders whether the…

VolatilityMachine learningStatistics
Quant Q&A

The document considers how to encode credit ratings as categorical features when the distance between rating notches may not be linear. It notes ordinal encoding as a common approach and mentions probit, logistic, and exponential transformations as…

Fixed incomeMachine learningStatistics
Quant Q&A

The document considers how to rank live bonds using predicted default probabilities from a classifier trained with matured bond outcomes. It questions an individual-bond score that takes the logarithm of a return-to-default-probability ratio. The response…

Fixed incomeMachine learningRisk managementStatistics
Quant Q&A

The document discusses ways to estimate corporate probability of default from company financial statements or internal credit ratings. It mentions structural approaches such as the Merton model, accounting-based scores such as Altman’s Z and Ohlson’s O, and…

Fixed incomeStatisticsRisk managementMachine learning
Quant Q&A

The document considers how to track changing dependence between two time series when a changing regression slope may reflect shifting variances rather than a stronger relationship. It raises similar interpretive concerns about time-varying quantile…

StatisticsVolatilityMachine learning
Quant Q&A

The document considers how to normalize daily trading volume and value for stock time-series models, including recurrent neural networks. It contrasts whole-series statistics such as global minimum, maximum, mean, and standard deviation with normalization…

EquitiesMachine learningStatisticsBacktesting
Quant Q&A

A hidden semi-Markov model allows the probability of leaving a hidden state to depend on time spent in that state, unlike a standard hidden Markov model’s memoryless transition structure. The document asks whether a trading model could also use cumulative…

Machine learningStatisticsEquitiesTrend following
Quant Q&A

The response suggests comparing a volatility forecast from a non-normal GARCH model with the volatility implied by option prices. If the options appear inexpensive relative to the forecast, the proposed position is to buy calls and puts; if the implied…

OptionsVolatilityMachine learning
Quant Q&A

This exchange addresses how to retrieve the long-run variance component from a component GARCH model fitted with the rugarch package in R. The questioner can obtain conditional volatility with the package’s standard accessor but needs the time-varying…

VolatilityStatisticsMachine learning
Quant Q&A

The document asks whether a Gaussian Kalman filter applied to a regression with a changing slope can be used to estimate the changing correlation between two series. It sets out a linear observation model, first with an intercept and then without one, and…

StatisticsMachine learning
Quant Q&A

This collection presents examples of incorrect AI answers to quantitative finance questions and briefly contrasts them with corrections. Topics include converting yield quotations between compounding frequencies, whether mean-variance portfolio theory…

StatisticsDerivatives pricingPortfolio constructionFixed income
Quant Q&A

The question seeks accessible research methods for identifying which of many candidate factors influence broad equity index returns, with interest in machine learning beyond ordinary linear regression. The accepted response frames this as a return…

EquitiesFactor investingMachine learningStatistics
Quant Q&A

The document considers using principal component analysis on industry peers’ fundamental metrics to inform equity analysis. It provides variance shares and loadings for thirteen components, then asks what the first two components represent. The response…

EquitiesStatisticsFactor investingMachine learning
Quant Q&A

The document considers a stochastic differential equation whose drift switches between positive and negative values according to the sign of the state. The drift is bounded but discontinuous, so it fails the usual Lipschitz condition associated with standard…

StatisticsMachine learning
Quant Q&A

The document explains how dollar bars can be used in a machine-learning workflow despite their irregular time spacing. A bar retains the familiar structure of a time bar, such as open, high, low, and close, so these values can be supplied as model features.…

Machine learningBacktestingExecutionMarket microstructure
Quant Q&A

The document discusses ways to investigate whether returns lead volatility or volatility leads returns. One suggested exploratory approach is to compare correlations between time-shifted returns and volatility with correlations between time-shifted…

StatisticsVolatilityMachine learning
Quant Q&A

The document surveys ways to turn trading signals into mathematical strategy rules. One suggestion is to combine implemented signals in a factor model and estimate coefficients, which can produce a fitted formula and measures of statistical fit. The response…

Machine learningFactor investingBacktestingTechnical indicators
Quant Q&A

The document identifies a suspected comparison error in the Optimal Number of Clusters procedure associated with de Prado and Lewis's work on detecting false investment strategies. The algorithm recursively reclusters groups whose silhouette-based…

Machine learningStatisticsPortfolio construction
Quant Q&A

The document considers a monthly return factor model in which one factor explains a substantial share of returns in some periods, but its relationship with returns reverses in others. Pooling the periods yields a lower overall R-squared. This pattern alone…

Factor investingStatisticsMachine learning
Quant Q&A

The document asks where to find algorithmic trading strategies that were once profitable but later stopped working. Its answer points to public compilations of strategies, while cautioning that detailed disclosure is unlikely. It gives several reasons:…

Machine learningBacktestingVolatility
Quant Q&A

The question asks whether quantitative finance has a counterpart to complex economics, focusing on markets as dynamic systems in which participants’ forecasts and trading can influence future prices. It contrasts the usual emphasis on option pricing and…

StatisticsMachine learningRisk management
Quant Q&A

The discussion considers a trading research process that clusters historical intraday observations, such as daily vectors of hourly exchange rates, and then measures the next day's average return for each cluster. A researcher might use the return associated…

Machine learningStatisticsBacktestingForex
Quant Q&A

The discussion distinguishes the two-stage Fama–MacBeth procedure from a linear factor model implementation. In the procedure described, asset betas are first estimated, potentially with a rolling window, then a separate cross-sectional regression is run for…

StatisticsFactor investingEquitiesMachine learning
Quant Q&A

The document surveys several approaches to modeling limit order books and market microstructure: agent-based models, point-process models, propagator models, and Markov-chain approaches such as the Queue Reactive model. It describes the strengths associated…

Market microstructureHigh-frequency tradingMachine learningStatistics