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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

5,018 documents

Quant Q&A

The document responds to a request for time-varying BBX copula implementations in Matlab or R. It points to R packages that provide BBX families and spatial or spatiotemporal bivariate copulas, while noting that temporal variation may require additional…

StatisticsMachine learning
Quant Q&A

The document compares ordinary least-squares projection onto the leading principal components with an attempted machine-learning approach. It raises practical concerns about representing each component's weight vector as model inputs and about digitizing…

Machine learningStatisticsFixed income
Quant Q&A

The document explains how to interpret latent states estimated in a standard stochastic-volatility model for log returns. In the stated model, the conditional standard deviation of returns at time t is beta multiplied by the exponential of half the latent…

VolatilityMachine learningStatistics
Quant Q&A

The document outlines a least-squares Monte Carlo setup for valuing a Bermudan swaption. At the final exercise date, the payoff is the positive part of the underlying swap value. At earlier exercise dates, the method regresses discounted future swaption…

Fixed incomeOptionsDerivatives pricingMachine learning
Quant Q&A

The document explains the role of the two random draws in acceptance-rejection sampling. A candidate is drawn from a proposal density, and a separate uniform draw determines whether that candidate is accepted according to the target-to-proposal density ratio…

StatisticsMachine learning
Quant Q&A

The document poses a parameter estimation problem for a time series modeled by a process with a known-form characteristic function and unknown parameters. The author has considered recovering a probability density through Fourier inversion and then applying…

StatisticsMachine learning
Quant Q&A

The response compares several evaluation methods by the data they use and the questions they address. Backtesting applies a defined strategy or model to real historical time-series data to assess how it would have performed. Historical simulation also uses…

BacktestingMachine learningStatistics
Quant Q&A

The document explains that a classifier is not inherently a weak learner: its performance depends on the structure of the data and the task. Linear methods may perform poorly on nonlinear data, while their performance can differ when classes are linearly…

Machine learningStatistics
Quant Q&A

The document raises a preprocessing question for principal component analysis across assets with different volatilities. It compares scaling observations by volatility and centering them, taking logarithms of prices and centering, and clipping series to a…

StatisticsMachine learningMulti-asset
Quant Q&A

The document asks how to simulate the conditional expectation of the time integral of the squared state of a Markovian stochastic differential equation. It decomposes the target into the integral already accumulated up to the conditioning time and a future…

StatisticsBacktestingMachine learning
Quant Q&A

The document proposes a practical framework for combining analyst return paths when their errors share information, change with market conditions, and may include useful contrarian views. It starts from forecast-error covariance: under quadratic loss,…

Multi-assetMachine learningStatisticsPortfolio construction
Quant Q&A

This discussion considers backtesting platforms for users who need to supply their own market data and use third-party libraries in strategy code. The replies suggest Python-based approaches, including the Python Algorithmic Trading Library, Zipline, and…

BacktestingMachine learningTechnical indicatorsMulti-asset
Quant Q&A

The document outlines a basic way to use a hidden Markov model (HMM) in portfolio allocation. The model estimates latent market states, asset drifts, and state-specific covariance matrices. For each state, the estimated return and risk inputs can then be…

Machine learningPortfolio constructionStatistics
Quant Q&A

The document surveys competing views on using genetic algorithms (GAs) to find financial trading rules or construct portfolios. The main concern is that searching many combinations can produce rules that fit historical data by chance, with data snooping and…

Machine learningBacktestingEquitiesPortfolio construction
Quant Q&A

The document asks whether volatility models with statistically significant parameter estimates should be preferred over otherwise similar specifications whose estimates are insignificant. The examples include sGARCH, EGARCH, and TGARCH models fitted with…

VolatilityStatisticsMachine learningBacktesting
Quant Q&A

The document discusses how to train a trading model intended to operate only in low-volatility conditions. The question contrasts supplying volatility as a feature with explicitly excluding unsuitable market states. The response recommends retaining…

Machine learningVolatilityRisk managementPosition sizing
Quant Q&A

The question describes difficulties estimating an ARIMA(1,1)–GARCH(1,1) model by maximum likelihood in R. Its custom likelihood recurses through residuals and conditional variances, and the optimizer encounters non-finite starting values, invalid square…

StatisticsVolatilityMachine learning
Quant Q&A

The document explains a proposed forecasting procedure from a paper on stock prediction with hidden Markov models. For a current observation, the trained model calculates its likelihood, then historical observations with matching or nearby likelihoods are…

EquitiesMachine learningStatistics
Quant Q&A

The document surveys ways entropy concepts can be applied to financial time series. Suggested uses include studying market behavior and crash forecasting, connecting entropy with the Kelly approach to money management, and deriving option-pricing results…

StatisticsRisk managementExecutionMachine learning
Quant Q&A

The discussion considers why machine-learning stock-prediction studies appear less often in leading finance journals than in specialist or lower-profile outlets. It offers several explanations: short-horizon stock returns are noisy and hard to forecast;…

EquitiesMachine learningStatisticsBacktesting
Quant Q&A

The question describes an option-pricing framework in which aggregate dividends and a state variable evolve with Gaussian shocks, while a stochastic discount factor determines risk-adjusted valuation. The underlying equity claim is represented as a sum of…

OptionsDerivatives pricingMachine learningStatistics
Quant Q&A

The document outlines an affine term structure model in which log bond prices are linear functions of latent factors. With as many observed yields as factors, the factor vector can be recovered from yields by inverting the model’s loading matrix, assuming…

Fixed incomeStatisticsMachine learning
Quant Q&A

The document outlines a self-study route for a mathematics graduate preparing for quantitative finance. It frames the field as a combination of mathematics, finance, and numerical programming, with the needed balance depending on the role. Derivatives work…

StatisticsDerivatives pricingMachine learning
Quant Q&A

The document examines a practical difficulty in implementing tick imbalance bars from a financial machine-learning text. The proposed threshold depends on the expected number of ticks per bar and the expected imbalance in tick signs. The questioner reports…

Market microstructureStatisticsMachine learning