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
Quantopian lectures
45 documents
Binance API docs
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 asks how to backtest a stock-direction model that is retrained on historical price windows and used to generate trades. The author reports prediction accuracy and wants to test a strategy over multiple years, including risk controls such as stop…

Machine learningBacktestingEquitiesRisk management
Quant Q&A

The document offers career-development advice to a mathematics PhD with derivatives valuation experience who wants demonstrable C++ work implementing financial models. The answer suggests exploring public repositories focused on topics such as option pricing…

Derivatives pricingOptionsMachine learning
Quant Q&A

The note examines a MATLAB implementation of the log-likelihood for a GARCH model whose standardized innovations follow Hansen’s skew-t distribution. It asks whether a normalization parameter should be square-rooted and why the likelihood includes a term…

VolatilityStatisticsMachine learning
Quant Q&A

The document compares R with commercial tools such as Matlab and Mathematica for quantitative research. It notes that R has packages for statistical analysis, simulation, optimization, and numerical integration, then gathers user reports about areas where…

StatisticsMachine learningBacktestingPortfolio construction
Quant Q&A

The document addresses why a basic GARCH model may be outperformed by realized GARCH or other realized-volatility models, especially when modeling intraday volatility. Its explanation focuses on information inputs rather than a strict difference between…

VolatilityStatisticsMachine learning
Quant Q&A

The document describes a forecasting setup for daily commodity prices using an LSTM network and predictor variables drawn from current and lagged observations. The author asks whether forecast accuracy can determine if the model is suitable for managing…

CommoditiesMachine learningRisk managementFutures
Quant Q&A

The document explains how least-squares Monte Carlo (LSM) estimates the value of callable derivatives and exposure measures without repeatedly running costly nested simulations. It simulates model states and their discounted future cash flows, then fits a…

Machine learningDerivatives pricingStatisticsRisk management
Quant Q&A

The document raises a portfolio-construction question about coordinating an alpha model with a statistical risk model. The risk model decomposes returns into factor exposures and factor returns, leaving residual returns. The proposed alpha model uses…

Factor investingPortfolio constructionMachine learningStatistics
Quant Q&A

The document discusses simulating returns without assuming a fixed unconditional distribution. It warns that financial returns have time-varying conditional moments, especially persistent volatility clustering, so resampling the unconditional return…

StatisticsVolatilityMachine learningBacktesting
Quant Q&A

The document considers how machine learning could extend cross-sectional factor models used to explain security returns and estimate portfolio variance. It suggests modeling factor exposures as functions of observable security characteristics, such as size,…

Machine learningFactor investingEquitiesPortfolio construction
Quant Q&A

The document addresses whether replacing a statistically significant linear regression with a Kalman filter will necessarily improve predictions. Its central answer is conditional: performance depends on the data and on how the filter is calibrated. A Kalman…

StatisticsMachine learningBacktesting
Quant Q&A

The note examines why Hidden Markov Models are used for financial prices despite their first-order Markov assumption: future states depend on the present state, rather than directly on the full path of prior observations. It also asks whether technical…

Machine learningStatisticsBacktesting
Quant Q&A

The note explains why a low R-squared can still be meaningful in return prediction. In regression, R-squared measures improvement in accounting for the target’s variation relative to a baseline that always predicts its mean. A positive value may indicate…

StatisticsMachine learningBacktesting
Quant Q&A

The discussion weighs whether one person can learn quantitative finance and build predictive trading models, especially with machine learning. It distinguishes learning the subject from earning a living through algorithmic trading: study partners can help…

Machine learningBacktestingRisk managementMarket microstructure
Quant Q&A

The document considers how to estimate a commercial bank’s core deposits from ten years of monthly account balances. Its starting proposal is to take each account’s minimum balance in each month and sum those minima across accounts. The response says this…

Fixed incomeStatisticsMachine learning
Quant Q&A

The discussion compares principal component analysis (PCA) and clustering as ways to build risk models for portfolio optimization. PCA is presented as a method for reducing a set of risk variables to a smaller number of uncorrelated factors. Clustering…

StatisticsPortfolio constructionRisk managementFactor investing
Quant Q&A

The answer explains why published deep learning results in trading are relatively scarce and why performance depends on the market and available data. It argues that rich equity data, including news and company information, may support more complex models,…

Machine learningEquitiesFixed incomeHigh-frequency trading
Quant Q&A

The discussion explains that choosing the process-noise covariance Q and observation-noise covariance R is an estimation problem, with no universally exact setting for financial data. One suggested route is to fit covariances through least-squares…

StatisticsMachine learningRisk management
Quant Q&A

The discussion distinguishes estimating implied volatility from observed option prices from using machine learning to approximate prices for complex derivatives. Inverting a standard option pricing model to find implied volatility is described as a simple,…

OptionsVolatilityDerivatives pricingMachine learning
Quant Q&A

The discussion surveys ways to combine financial series observed at different frequencies and use them in forecasts. MIDAS models incorporate higher-frequency predictors into a lower-frequency target, such as daily market data in a quarterly economic…

StatisticsMachine learningBacktesting
Quant Q&A

This discussion asks whether input attributes need to be scaled before gradient tree boosting. One answer says scaling is generally unnecessary for tree-based boosting, since the distance-based concerns that motivate normalization for methods such as support…

Machine learningStatisticsBacktesting
Quant Q&A

The document describes a CPI forecasting regression whose author sees a moving average of the residuals moving in the same direction as CPI. The author asks whether this suggests omitted-variable bias, biased coefficients, or another modeling problem. The…

StatisticsMachine learningBacktesting
Quant Q&A

The document asks whether stock exposure to market, value, or momentum factors should be estimated using returns during factor drawdowns, since those losses may be linked to factor risk premiums. It also raises the estimation challenge: crash periods offer…

Factor investingStatisticsRisk managementMachine learning
Quant Q&A

The discussion clarifies that “linearity” in classical statistics is broader than whether a formula contains only first-degree terms. It refers to properties of relationships and estimators, including linear combinations of random variables and linearity…

StatisticsMachine learningEquities