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

715 documents

Machine Learning for Trading

This notebook compares two causal questions about extreme premiums in Bitcoin perpetual futures: whether a premium state predicts forward returns, and whether it predicts subsequent premium reversion. The treatment is a binary indicator for a premium z-score…

CryptoPerpetual futuresStatisticsMarket microstructure
Machine Learning for Trading

This notebook presents a workflow for deciding how financial time series should be modelled. It begins with plots of SPY prices and returns, VIX levels, and the return distribution to identify drifting levels, clustered moves, and heavy tails. It then…

StatisticsVolatilityTechnical indicatorsEquities
Machine Learning for Trading

This notebook builds prediction intervals around gradient boosting forecasts and compares split conformal prediction with quantile regression, conformalized quantile regression, and adaptive conformal inference. Split conformal uses a chronological training…

Machine learningStatisticsRisk managementPosition sizing
Machine Learning for Trading

This US equities panel study uses a penalized linear model as a baseline for forecasting forward returns from features observed at the close. Its feature set contains overlapping momentum and volatility measurements, creating multicollinearity that can make…

EquitiesFactor investingStatisticsRisk management
Machine Learning for Trading

This ETF feature study builds three model-derived inputs: a hidden Markov model (HMM) that estimates market regime, fractionally differenced prices for reference funds, and per-ETF GARCH(1,1) conditional volatility. It emphasizes that avoiding look-ahead…

EquitiesVolatilityMachine learningStatistics
Machine Learning for Trading

This notebook explains instrumented principal component analysis (IPCA), which estimates common factors while making each stock’s factor exposures a shared linear function of its same-day option-surface features. Those features include implied volatility,…

OptionsEquitiesFactor investingMachine learning
Machine Learning for Trading

This study compares gradient-boosted trees with a penalized linear model for ranking currency pairs by future returns. Its motivation is that trees can represent conditional relationships, such as using momentum in one market regime and carry in another,…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This exploratory analysis profiles a four-hour OANDA dataset covering twenty currency pairs. It explains that the volume field counts quote updates at one venue, not consolidated traded size, and therefore cannot support a market-wide liquidity ranking. It…

ForexStatisticsMarket microstructure
Machine Learning for Trading

This notebook assembles a forecasting agent from a language-model client, a search tool, and a bounded turn loop. The agent searches for evidence and returns a binary probability with a rationale. Its response parser handles common formatting failures and…

Machine learningStatisticsSentimentBacktesting
Machine Learning for Trading

This notebook applies Bayesian structural time-series event-study methods to estimate the impact of Federal Reserve announcements on a bond ETF. It builds a counterfactual from pre-event relationships between the target’s daily log returns and returns on…

Fixed incomeEvent-drivenStatisticsMachine learning
Machine Learning for Trading

This notebook tests whether four managed-portfolio strategies explain SPY returns after controlling for broad ETF co-movement. The strategies rank ETFs using lagged momentum, volatility, or recent returns. Ten principal components from a balanced set of…

Factor investingMachine learningStatisticsMomentum
Machine Learning for Trading

This notebook adapts Word2Vec skip-gram to institutional equity holdings. It treats each institution’s portfolio as a sentence, stock identifiers as tokens, and positions ordered by reported holding value as word order. Stocks that repeatedly appear in…

EquitiesMachine learningPortfolio constructionStatistics
Machine Learning for Trading

This notebook explains why raw equity prices can produce misleading returns when they cross stock splits or cash dividend dates. It describes backward adjustment, which scales historical prices for later corporate actions, and distinguishes raw prices for…

EquitiesStatisticsBacktestingUS markets
Machine Learning for Trading

This notebook evaluates whether a signal’s information coefficient (IC) is distinguishable from noise when successive observations are dependent. It illustrates the issue using a momentum signal and ETF data, explaining how overlapping forward returns,…

StatisticsMachine learningMomentumBacktesting
Machine Learning for Trading

This notebook explains how to inspect a shipped panel of economic series from FRED and interpret its calendar-day grid, metadata, and derived columns. Because the panel has been flattened onto a daily calendar, row counts conceal the source release…

Multi-assetFixed incomeVolatilityStatistics
Machine Learning for Trading

This notebook treats ARIMA forecasts as input columns for later models rather than as standalone predictions. It fits models to ETF returns, uses stationarity checks and autocorrelation diagnostics to propose orders, and compares candidate orders with an…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook describes how to prepare and register NLinear forecasts for FX labels. NLinear subtracts the last observed level from each fixed-length input history, focusing the model on changes within the lookback. A shared sequence eligibility process…

ForexMachine learningBacktestingStatistics
Machine Learning for Trading

This shared analysis utility supports comparing trading-model predictions through registry metrics and prediction-level diagnostics. It loads precomputed information-coefficient results, optionally filters by label or model family, and by default excludes…

StatisticsBacktestingMachine learningPortfolio construction
Machine Learning for Trading

The document sets out how to construct forward-return labels for a cross-sectional futures strategy that ranks products by term structure. It distinguishes roll-adjusted prices, which are appropriate for returns across contract rolls, from raw settlement…

FuturesCommoditiesCarryBacktesting
Machine Learning for Trading

The document describes three model-based features built from futures carry: an ARIMA forecast of next-session carry, rolling Fourier measures of selected cycle lengths, and a two-state hidden Markov model that infers the market regime from average carry. Its…

FuturesCarryMachine learningStatistics
Machine Learning for Trading

The document explains two ways to estimate bid-ask spreads when only daily OHLCV data is available. Corwin-Schultz compares high-low ranges over adjacent one-day and two-day intervals, using the different behavior of volatility and spread to separate them;…

Market microstructureStatisticsExecutionVolatility
Machine Learning for Trading

The document describes converting rolling ETF return windows into two-channel images for a conventional convolutional neural network. A Gramian angular field maps normalized observations to angles and records pairwise angular relationships; a Markov…

EquitiesMachine learningTechnical indicatorsStatistics
Machine Learning for Trading

This document introduces the Chen, Pelger, and Zhu monthly US equity panel used to benchmark asset-pricing models. It describes 46 firm characteristics grouped by economic theme, next-month excess returns, and the panel’s time-ordered train, validation, and…

EquitiesUS marketsFactor investingStatistics
Machine Learning for Trading

This notebook presents a workflow for characterizing market series before modeling. It begins with plots of SPY prices and returns, VIX levels, and the return distribution to identify trends, volatility clustering, and heavy tails. It then explains how to…

EquitiesStatisticsVolatilityRisk management