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

195 documents

Robot Wealth

The article introduces tidy data principles and shows how to represent financial returns in long and wide formats. In tidy form, each column represents a variable, each row an observation, and each cell one value. Its example uses dates, tickers, and…

StatisticsMulti-assetEquitiesFixed income
Robot Wealth

The article argues that systematic traders should expect short-term randomness to obscure an edge, and avoid changing a strategy in response to every losing trade or market fluctuation. It frames the trader’s task as following a researched plan over time,…

Risk managementPosition sizingPortfolio constructionStatistics
Robot Wealth

The article explains why market making is demanding for beginners. A market maker posts bids and asks around an estimate of fair value, seeking to earn the spread while providing liquidity. The example shows how a mistaken estimate can attract trades on the…

Market makingMarket microstructureCryptoDeFi
Robot Wealth

The article describes a way to lengthen an ETF’s historical price series when the fund has a short trading record. It maps ETFs to earlier mutual-fund or index return series, calculates cumulative returns, and finds the overlap date when the ETF first has a…

EquitiesFixed incomeCommoditiesBacktesting
Robot Wealth

The article uses Excel to investigate whether the cyclically adjusted price-to-earnings ratio (CAPE) predicts subsequent real returns on a broad US equity index. It rebuilds a valuation-versus-forward-return scatterplot from historical data, then questions…

EquitiesStatisticsUS markets
Robot Wealth

The article demonstrates how to compute the rolling average of pairwise stock correlations across S&P 500 constituents in R, then divide the work into overlapping date chunks. The workflow prepares prices and returns, forms stock pairs, calculates rolling…

EquitiesStatisticsExecution
Robot Wealth

This essay contrasts searching large numbers of trading rules with research that begins from a proposed market mechanism. It asks researchers to identify who takes the other side of a profitable trade, why that participant accepts the cost, and what…

StatisticsBacktestingMarket microstructureRisk management
Robot Wealth

This essay argues that most traders gain little by trying to forecast market direction from macro announcements unless macro trading is their specialty. It recommends knowing when major events occur because volatility can rise, then making a deliberate…

Risk managementVolatilityUS markets
Robot Wealth

This tutorial shows how to estimate rolling correlations for every pair of stocks in a universe, then summarize them as a daily mean. It starts by calculating each stock’s daily close-to-close return, joins the return data to itself by date to form ticker…

EquitiesStatisticsBacktesting
Robot Wealth

The article proposes investigating whether ETF constituents behave differently during market stress, with a focus on low-beta stocks after sharp, high-volume declines. The workflow gathers historical prices for sector ETFs and their holdings, calculates…

EquitiesStatisticsBacktestingRisk management
Robot Wealth

The article explains why a new trader may struggle to profit by competing directly for obvious mispricings. Attractive prices tend to draw skilled, fast participants, while less competitive offers may remain available because they are poor trades. Repeatedly…

Market microstructureRisk managementExecution
Robot Wealth

The article compares systematic trading with discretionary order flow and chart analysis. It argues that these approaches seek the same underlying opportunity: a pricing inefficiency created when buying or selling pressure pushes a market away from a…

StatisticsPortfolio constructionExecution
Robot Wealth

The article explains equal risk contribution (ERC) portfolio construction, which chooses asset weights so each holding contributes equally to portfolio risk. Because ERC depends on estimated covariances rather than expected returns, the quality of the…

Portfolio constructionRisk managementMulti-assetStatistics
Robot Wealth

The article introduces parameter optimization for systematic strategies, using a moving average window as a simple example. It describes choosing a default value, search range, and step size, then comparing approaches such as sequential ascent, brute force,…

BacktestingStatisticsPairs tradingMean reversion
Robot Wealth

This tutorial explains join features introduced in dplyr 1.1.0, with examples drawn from market data preparation. It first shows how to express ordinary key-based joins, then demonstrates inequality joins and rolling “closest” joins. These tools can attach…

EquitiesExecutionMarket microstructureStatistics
Robot Wealth

The article introduces the Cold Blood Index (CBI) as a way to judge whether a live trading strategy’s drawdown is consistent with losses that could have occurred in its backtest. It compares the observed drawdown depth and duration with historical windows…

Risk managementStatisticsBacktesting
Robot Wealth

This article demonstrates a practical way to reduce trading costs in a crypto statistical-arbitrage portfolio: keep existing positions until they drift sufficiently far from their target weights. The example uses perpetual futures, excludes stablecoins, and…

CryptoPerpetual futuresCarryMomentum
Robot Wealth

The article explains how exponentially weighted moving averages (EWMAs) give more influence to recent observations while retaining a diminishing contribution from older data. It motivates the method with changing correlations between SPY and TLT:…

StatisticsTechnical indicatorsPortfolio construction
Robot Wealth

The article explains how a put option can cap losses on a stock portfolio while preserving upside beyond the option premium. It first illustrates the payoff for a holding of 100 SPY shares, then shows how a chosen maximum loss can inform the put strike. In…

OptionsEquitiesRisk managementPosition sizing
Robot Wealth

The document introduces a webinar that examines a common market claim: that holding SPY when its price is above its 12-month moving average is preferable to holding it below that level. It says the claim is tested using Excel and free market data, presenting…

EquitiesUS marketsBacktesting
Robot Wealth

The document presents a systematic trading course organized around identifying a plausible market edge before building or optimizing a backtest. It describes a research sequence that starts with a hypothesis, then examines data and tests the idea, alongside…

BacktestingStatisticsMulti-asset
Robot Wealth

The article examines why a few weeks of weak performance cannot establish that a strategy has lost its edge. In a simulation, a strategy with positive long-run drift shifts to zero drift for one month while volatility remains high. A comparison of the…

StatisticsRisk managementPosition sizingBacktesting
Robot Wealth

This short note lists ways traders can lose money: excessive trading increases fees and market impact, oversized positions can impair compounding or cause ruin, and shorting positive drift or risk premia can create persistent losses. It also cautions against…

Risk managementPosition sizingExecutionPortfolio construction
Robot Wealth

The article frames long-term investing as earning compensation for bearing uncertainty. Stocks and bonds have historically risen over long periods, but their shorter-term losses and volatility help explain why investors expect a premium for holding them. It…

Multi-assetFactor investingPortfolio constructionRisk management