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
WonderTrader
14 documents
Alphalens
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 document describes an MQL4 Expert Advisor structure for running multiple trading strategies independently or together. Each strategy is treated as a separate instance of a shared EA class and can have its own identifier, trading schedule, risk controls,…

Technical indicatorsBreakoutRisk management
Amberdata research

This market recap reviews BTC and ETH options positioning during a period when spot prices struggled near technical levels and traders anticipated volatility around the Bitcoin halving. It compares realized and implied volatility, term structures, skew,…

CryptoOptionsVolatilityRisk management
MQL5 code base

The document describes a script for placing a pending sell stop order at a trigger level below the current price. It sets stop-loss and take-profit distances in points from the trigger and allows the trader to set order volume through a money-management…

Position sizingExecutionRisk managementBreakout
MQL5 code base

The document explains a MetaTrader trade function that sizes positions from a risk budget and sets stop distance using the asset’s average true range. It calculates the allowed risk as a percentage of free margin, converts an ATR multiple into stop-loss…

Risk managementPosition sizingVolatilityTechnical indicators
SuperMind

This article argues that divergence and MACD crosses are best interpreted as signs of changing momentum, rather than as automatic buy or sell commands. It describes divergence as evidence of countertrend activity, with the strength of that activity helping…

Technical indicatorsMomentumTrend followingRisk management
SuperMind

This Chinese stock screening example combines three filters: membership in the metaverse concept group, a closing price above the previous day’s low, and a closing price below 12 yuan. It presents the first condition as a way to focus on a market theme, the…

EquitiesTechnical indicatorsPosition sizingRisk management
TqSdk

This example describes a three-leg futures strategy that treats polyester fiber value minus the weighted costs of PTA and ethylene glycol as a production margin. It estimates the margin’s mean and standard deviation from recent daily bars, then calculates a…

FuturesCommoditiesMean reversionBacktesting
BigQuant

This report summary lays out a framework for analyzing government interest-rate bonds through supply and demand, return decomposition, duration timing, and portfolio allocation. It attributes supply partly to fiscal conditions and economic pressure, and…

Fixed incomeFuturesTrend followingMean reversion
FMZ forum

This essay presents Bernard Baruch’s investment principles, emphasizing independent judgment, company quality, and crowd psychology. It favors businesses with real assets, operational advantages, and capable management, while arguing that management quality…

EquitiesSentimentRisk management
BigQuant

This submission describes a composite stock factor combining three ranked measures: three-year net profit growth, the inverse of summed turnover over five periods, and the inverse of five-period trading-amount variability. The intended profile is high growth…

EquitiesFactor investingStatisticsRisk management
NautilusTrader

This specification lays out a test framework for validating market data adapters. It organizes checks by data type, from instruments and order books through quotes, trades, bars, and derivatives. It emphasizes timestamp scale correctness and describes a…

Market microstructureExecutionRisk management
Stratmill research code

This exchange model for a level-three order book simulates limit and market orders without partial fills. Resting limit orders enter a queue model when they do not cross the opposing best quote. A marketable order, or a limit order priced through the best…

BacktestingExecutionMarket microstructureRisk management
MQL5 code base

This research summary explains a dynamic firm model in which companies can expand or shrink their operating scale, but face adjustment costs. Expansion and contraction options alter exposure to productivity shocks: the ability to reduce scale can buffer…

EquitiesFactor investingPortfolio constructionStatistics
FMZ forum

This essay argues that quantitative, discretionary, short-term, long-term, active, and passive approaches coexist within a market ecosystem. It warns that historical models can fail in unusual conditions, crowded strategies may lose their edge, and…

Risk managementPortfolio constructionMarket microstructureHigh-frequency trading
FMZ forum

The article describes an intraday pairs strategy for SPY and IWM, using one-minute bars from April 2007 through February 2014. It aligns timestamps, estimates a rolling regression hedge ratio, forms a price spread, and converts that spread to a z-score. The…

EquitiesPairs tradingMean reversionBacktesting
SuperMind

The document outlines an equity screen combining turnover, circulating market capitalization, and a morning star candlestick pattern. Its stated criteria use a turnover range of 3% to 12%, a circulating share count cap of 5.5 billion shares in the headline,…

EquitiesTechnical indicatorsRisk management
FMZ live strategies

This live-robot page shows a screening and observation workflow for newly active tokens across several chains. The displayed table ranks candidates by one-hour volume expansion and reports liquidity, fully diluted valuation relative to liquidity, token age,…

CryptoMomentumOn-chain dataRisk management
MQL5 code base

The document describes a trading-platform script that calculates the largest lot size that can be opened using all free margin currently available in an account. It displays the calculated size in the chart’s upper-right corner for a default period of ten…

Position sizingRisk managementExecution
SuperMind

This strategy selects the ten lowest-priced eligible stocks within the SSE 50 universe, excluding special-treatment, suspended, and delisted stocks. It allows each holding to remain open for up to twenty days and sells a stock if its decline exceeds eight…

EquitiesChina marketsBacktestingRisk management
FMZ forum

This case study follows a live statistical-arbitrage strategy trading the residual between the EWY Korea ETF and Samsung Electronics and SK Hynix. A rolling log-price regression estimates hedge ratios; the residual is standardized into a z-score, with…

EquitiesArbitragePairs tradingMean reversion
Hyperliquid docs

The document explains how linked spot assets move between Hyperliquid’s HyperCore and HyperEVM. A token must first be linked to an EVM contract; transfers from Core use a sendAsset action directed to the token’s system address, while transfers from the EVM…

CryptoSpot marketsExecutionRisk management
SuperMind

This Chinese-language post proposes screening mainland Chinese stocks using three conditions: daily high-low amplitude above one percent of the previous close, a positive large-order net-volume measure, and a negative change in the prior day’s 9:15 matching…

EquitiesChina marketsMarket microstructureTechnical indicators
MQL5 code base

This swing trading Expert Advisor uses a Percentage_Crossover_Channel indicator to generate signals in one of two ways. In channel mode, a bar’s low crossing or touching the lower boundary triggers a buy, while its high crossing or touching the upper…

ForexTechnical indicatorsBacktestingRisk management
ProRealCode

This forum post presents a rule-based strategy for Japan 225 cash on an hourly chart. It checks for entries at 02:00, skips Fridays, and uses the direction and absolute range of a bar four periods earlier to choose a long or short trade. The position size is…

FuturesTechnical indicatorsRisk managementBacktesting