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

4,613 documents

Strategy library

This script lays out a ten-level long grid around a user-defined center price. Grid levels are spaced by a percentage of that center, with orders set as limits or stops depending on whether the current price is above or below each level. Each successive…

Grid tradingPosition sizingExecutionRisk management
Strategy library

This strategy uses two layers of pivot analysis to identify potential turning points. Basic price highs and lows form the first layer; a second layer selects more significant pivots from those points. A break through a selected pivot level can trigger a long…

Technical indicatorsBreakoutFuturesCrypto
Strategy library

This trend-following framework uses Heikin Ashi candle conditions to signal long or short entries. It describes an initial position with a preset target and stop, followed by a possible second entry if the first target is reached and favorable candle signals…

Trend followingMomentumRisk managementPosition sizing
Strategy library

This trend-following framework uses Heikin Ashi candle conditions to identify direction, then manages trades with separate initial and possible second entries. Each entry can have its own target and stop settings. After the first target is reached, the…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This long-only SOL perpetual futures strategy arms an entry when 4-hour RSI(14) falls below 33. After the base order, it places up to five averaging orders at fixed price declines of 2%, 5%, 9.5%, 16%, and 25% from the base entry, with order sizes scaling by…

CryptoPerpetual futuresMean reversionTechnical indicators
Strategy library

This BTCUSDT strategy description combines RSI extremes with engulfing candles to generate long and exit signals. It uses RSI levels of 70 and 30, then looks for a bearish engulfing candle near an overbought reading or a bullish engulfing candle near an…

CryptoTechnical indicatorsTrend followingPosition sizing
Strategy library

This short-term strategy generates initial signals from Stochastic RSI K/D crossovers on a five-minute chart and seeks confirmation from the 15-minute indicator within a waiting window. Thresholds distinguish long and short setups, and a cooldown limits…

Technical indicatorsMomentumRisk managementPosition sizing
Strategy library

This strategy uses five EMAs, with periods of 12, 144, 169, 576, and 676, to define aligned bullish or bearish trends. It looks for price interaction with EMA144 and a close on the appropriate side of EMA169 to trigger entries. Additional positions can be…

Trend followingTechnical indicatorsPosition sizingRisk management
Hudson & Thames

This paper describes the motivation and design of a Python research package intended to make methods from financial machine learning easier to implement and study. It frames Lopez de Prado’s work as a research process built around data preparation, sampling,…

Machine learningBacktestingPosition sizingRisk management
Robot Wealth

The article demonstrates a spreadsheet workflow for exploring a claimed weekday pattern in gold-related prices. Using GLD price history, it derives log returns and calendar fields, groups returns by weekday in a pivot table, and charts the sums. It reports…

CommoditiesStatisticsBacktestingPosition sizing
Robot Wealth

The article illustrates how a put option can limit downside on an equity holding and shows how the premium changes the portfolio’s payoff. It first models a position in an index-tracking fund, identifying the price level associated with a chosen loss and…

OptionsRisk managementPosition sizingPortfolio construction
Robot Wealth

The article explains why doubling position size after each loss can make a losing strategy appear attractive until a sufficiently long loss streak causes severe losses or account ruin. It outlines a simulation using random trades and Martingale sizing, then…

Risk managementPosition sizingStatistics
Robot Wealth

The article reviews a strong year for diversified systematic trading and focuses on a bond strategy that buys shortly before month-end, sells at month-end, and re-enters after a few days. The author describes institutional rebalancing and portfolio…

Fixed incomeRisk managementPosition sizingStatistics
Robot Wealth

This quiz presents a compact lesson about the tension between market efficiency and noisy price movements. Its central implication is that even sound trading decisions can feel messy, imprecise, or uncomfortable because a trader’s edge may be small relative…

StatisticsRisk managementPosition sizing
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 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 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 argues that a stop loss is useful only when losses carry information about likely future returns. For a signal based on a factor such as sentiment, a falling position value does not by itself show that the signal has weakened. Exiting solely…

Risk managementTrend followingPosition sizingBacktesting
Robot Wealth

This excerpt presents a quantitative perspective on drawdowns as an expected part of trading. Its suggested response combines understanding market behavior, using a sound systematic research process, and keeping a measured perspective during losing periods.…

Risk managementPosition sizingBacktesting
Robot Wealth

This article uses simulated cryptocurrency price paths to explore how often a leveraged trend strategy might need rebalancing to manage drawdowns. The author builds a geometric Brownian motion simulator with autocorrelated returns and random jumps, using a…

CryptoTrend followingRisk managementPosition sizing
Robot Wealth

The document explains how UVXY’s daily leverage target and maturity maintenance lead to recurring portfolio rebalancing, and uses spreadsheet models to examine two trades: shorting UVXY with periodic rebalancing, and shorting a basket of UVXY and an inverse…

VolatilityPosition sizingRisk managementBacktesting
Robot Wealth

This guide explains volatility-targeted position sizing and describes tools for calculating target exposure, visualizing it over time, and simulating rebalancing. The position is scaled according to the ratio between the desired portfolio volatility…

Position sizingVolatilityRisk managementBacktesting