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

29,558 documents

MQL5 code base

This Expert Advisor adapts the Puria method by replacing fast and slow moving-average crossover entries with a requirement that both averages move in the same direction. It confirms signals using a MACD crossover of its zero level and a measure of…

Technical indicatorsTrend followingRisk managementBacktesting
SuperMind

This document proposes screening Chinese equities for higher daily amplitude, a recent reversal pattern, and a three-day limit-up streak, then adds a price-to-earnings constraint relative to the industry average. It explains the reversal and consecutive…

China marketsEquitiesMomentumTechnical indicators
NautilusTrader

This example shows how to configure a multi-venue backtest with distinct account and execution settings. It builds a probabilistic fill model with limit-fill and slippage probabilities, a static latency model with separate delays for order insertion,…

BacktestingExecutionMarket microstructureRisk management
MQL5 code base

This brief strategy description uses the most recently formed candlestick to define entry levels. It places an order when price breaks above the previous candle’s high or below its low, allowing trades in either direction. After the position gains an amount…

BreakoutTechnical indicatorsRisk managementBacktesting
ProRealCode

The document explains the Darvas Box idea: after a price advance, a consolidation range forms a ceiling and floor, and a close above the ceiling is treated as a possible long entry. The box floor serves as a stop reference; if price rises and new boxes form,…

EquitiesTrend followingBreakoutTechnical indicators
MQL5 code base

This Expert Advisor opens a new buy position on each new bar when DeMarker is below a lower threshold, and a sell position when it is above an upper threshold. By default, it can add positions while others remain open, without checking whether the new entry…

Technical indicatorsForexPosition sizingRisk management
Awesome Systematic Trading

The document describes a chart indicator for calculating trade size from an entry price, stop level, and a user-selected risk budget. Traders can set risk as a percentage of account balance, a percentage of equity, or a fixed cash amount. The calculation…

Risk managementPosition sizing
BigQuant

The document discusses the growth of electronic trading and presents algorithmic execution as a tool for handling large orders in volatile markets. Its core methods include splitting a parent order into smaller trades, aligning execution with market-volume…

ExecutionMarket microstructureMachine learningRisk management
MQL5 code base

This function describes a trade-management rule for open buy and sell orders. Once price moves favorably by a configurable pip threshold, it modifies the order’s stop loss to the opening price, aiming to remove the trade’s initial price risk. Optional…

Risk managementExecutionPosition sizing
Hyperliquid docs

This support note explains how linking works when a user keeps trading and staking on separate accounts. Linking is unnecessary if both activities use the same account. To establish a link, the trading account must initiate an action, after which the staking…

CryptoExecutionRisk management
MQL5 code base

This Expert Advisor places Buy Stop and Sell Stop orders around a recent price range, either at its edges or near its center. It can manage open Buy and Sell positions with classic trailing stops, prior-bar high/low levels, or a moving average. The…

ForexBreakoutPosition sizingRisk management
MQL5 code base

This brief describes a MetaTrader-style trading template that adds a trailing stop to rule-based long and short entries. The trader supplies entry conditions through separate long and short rules and sets the stop distance in pips as an external input. The…

ForexRisk managementExecution
ProRealCode

The indicator estimates the likely size of the current price leg from recent completed swings. It detects swing turns using a rolling high or low, records each leg’s percentage move and duration, and uses a weighted average, ordinary average, or median of…

Technical indicatorsStatisticsRisk managementTrend following
BigQuant

This glossary introduces common measures for evaluating investments and trading strategies. It explains cumulative, annualized, and monthly returns; benchmark-relative performance; win rate and reward-to-risk; information ratio; standard deviation; alpha and…

StatisticsRisk managementPortfolio constructionBacktesting
SuperMind

This Chinese equity screening note selects stocks using three stated conditions: amplitude above 1, a weekly five-period moving average crossing above the ten-period average, and turnover between 3% and 12%. It presents the crossover as a trend signal and…

EquitiesChina marketsTrend followingTechnical indicators
SuperMind

This note describes a short-term Chinese equity screen using three conditions: daily price amplitude above 1, no limit-up close on the prior day, and the stock’s average price above its five-day moving average. It frames the screen as a way to find stocks…

EquitiesChina marketsMomentumTechnical indicators
MQL5 code base

The document outlines a trading robot that uses only the Relative Strength Index on a five-minute chart. It lists an RSI period and level alongside fixed take-profit and stop-loss inputs, and describes the approach as the author’s own version rather than the…

ForexTechnical indicatorsRisk managementBacktesting
Freqtrade

The example demonstrates a Freqtrade custom stop that follows the Parabolic SAR indicator. It calculates SAR for each candle, then reads the latest analyzed value in the stop-loss callback and converts the distance between the current rate and SAR into the…

CryptoTechnical indicatorsRisk managementExecution
MQL5 code base

This brief description explains a time-based control for trading programs, especially expert advisors. The function permits specified code to run only during a chosen interval, which can restrict when an automated system is allowed to trade. It notes that…

ExecutionRisk management
SuperMind

This stock-selection screen targets Chinese metaverse-sector companies with share codes beginning with 60. It requires a volume ratio above 1.5 and below 6, and the final stated rules also include a market capitalization above 1 billion yuan. The article…

EquitiesChina marketsMomentumRisk management
Stratmill research code

The document describes a bivariate Clayton copula as a way to model dependence between two uniform variables. It provides methods to generate dependent pairs from independent uniform draws, calculate the copula density and cumulative distribution, and…

StatisticsRisk management
FMZ forum

The document compares three ways to add to a winning stock position: increasing each successive addition, adding equal amounts, or reducing each addition. In its example, a trader buys at three progressively higher prices using a fixed total share…

EquitiesPosition sizingRisk management
MQL5 code base

The document outlines an automated trading system that uses fractals and moving averages, described for hourly charts on major currency pairs and NASDAQ stocks. Its settings include entry and exit parameters, take-profit and stop-loss options, trailing…

ForexEquitiesTechnical indicatorsRisk management