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
Quantopian lectures
45 documents
Binance API docs
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 document outlines an automated system that uses a Martingale position-sizing approach. It can restrict the hours when new positions are opened, while continuing to manage open positions and close the full set when their combined profit reaches a…

Position sizingRisk managementBacktesting
MQL5 code base

This document describes a MetaTrader 5 Expert Advisor that opens multiple buy or sell orders after a user clicks a corresponding button. Inputs include the number of orders, risk percentage per trade, stop loss, take profit, and slippage. The EA calculates…

ExecutionPosition sizingRisk management
Lumibot

This QuantStats tear sheet reports a backtest of an AI-operated iron condor strategy against SPY over a short period in January 2026. The report names Alpaca as its data source and provides a broad set of performance and risk measures, including returns,…

OptionsBacktestingRisk management
Awesome Systematic Trading

This post presents a short-term Chinese equity screen that requires a 14-period RSI below 65, a daily gain above 1%, main-board eligibility, and a closing price at the highest level over a two-day window. It combines a momentum condition with a limited…

China marketsEquitiesMomentumBreakout
SuperMind

This post describes a short-term Chinese stock screen combining daily amplitude, a proxy for main-force control, and a run of at least three consecutive advances. It frames the conditions as a way to find volatile stocks with strong recent price action. The…

China marketsEquitiesMomentumBreakout
MQL5 code base

This text compares two approaches to changing trade size after wins and losses. Under the classical Martingale approach, a trader begins with a minimum position and increases size after each loss, aiming for a later winning trade to recover the losses in the…

Position sizingRisk managementStatistics
SuperMind

This stock-screening idea combines trading activity, recent price movement, and a qualitative early-uptrend condition. It selects shares with turnover between 3% and 12%, a positive ten-day gain below 35%, and a pattern described as the start of a major…

EquitiesChina marketsMomentumTechnical indicators
Amberdata research

This market snapshot combines derivatives positioning, funding, order books, ETF flows, stablecoin activity, and macroeconomic data to assess crypto market conditions. It interprets BTC and ETH's unusually low 30-day correlation as a reason to question…

CryptoPerpetual futuresMarket microstructureOn-chain data
FMZ forum

This essay contrasts two views of investment risk. Modern portfolio theory uses volatility, standard deviation, and beta as measurable proxies, treating diversifiable company-specific risk separately from market-wide risk. The value investing perspective…

Risk managementStatisticsPortfolio constructionEquities
MQL5 code base

This document describes an auxiliary MetaTrader expert advisor for managing existing positions. It moves positions to breakeven, calculates stop losses using the StopATR_auto indicator, and closes positions when two moving averages intersect. The advisor…

Technical indicatorsRisk managementBacktestingExecution
SuperMind

This post describes a short-term equity screen requiring daily price amplitude above 1, evidence of main-force control on the previous day, and a share price below 12. It characterizes the filters as combining technical and fundamental considerations,…

EquitiesTechnical indicatorsRisk managementChina markets
MQL5 code base

This brief description explains a position sizing function that calculates lot size from the distance to a stop loss and a specified risk budget. Its example states that a 2% risk setting combined with a stop 40 points away yields a lot size intended to lose…

Position sizingRisk managementExecution
SuperMind

This stock selection rule screens for turnover between 3% and 12%, a rising DEA indicator, and a maximum holder concentration value no greater than 20%. The article describes the concentration filter as a way to favor stocks with more dispersed holdings and…

EquitiesTechnical indicatorsMomentumRisk management
BigQuant

The article explains constant proportion portfolio insurance (CPPI) by building it up through five related allocation strategies. It starts with investing only interest income in stocks, then considers the present value of future interest, reserving enough…

Multi-assetPortfolio constructionRisk managementPosition sizing
MQL5 code base

This Expert Advisor identifies trend conditions with three moving averages and uses Parabolic SAR to trigger orders. It can close a position on an opposite signal, trade only on selected days, reverse its signal, or keep a position open when an opposite…

Trend followingTechnical indicatorsPosition sizingRisk management
BigQuant

This document compares long-only index funds, index-enhanced funds, and quantitative funds in the Chinese public fund market. It notes differences in fees and subscription or redemption efficiency, and frames market, sector, size, and other style exposures…

Multi-assetPortfolio constructionRisk managementFactor investing
SuperMind

This Chinese-language post describes an equity screening rule that selects stocks with MACD above zero, a short moving average above a longer one, and at least one large daily gain during a recent lookback. It also gives example indicator definitions, a…

EquitiesMomentumTechnical indicatorsRisk management
MQL5 code base

The document presents an Expert Advisor for managing positions opened manually or by another automated system. Its trailing stop is based on Average True Range (ATR), so the stop distance can respond to changing volatility instead of remaining a fixed number…

VolatilityRisk managementPosition sizing
MQL5 code base

This document describes a script for submitting a buy stop-limit order and a sell stop-limit order at equal distances from the current price. Its configurable inputs cover trade size, price deviation, order distance, stop-limit offset, stop loss, take…

ExecutionRisk managementPosition sizing
MQL5 code base

This guide describes a MetaTrader 5 script that creates a prompt file for customizing an AI assistant’s response language, persona, and numbered menu. Users can generate the file, apply it in the assistant, and edit the instructions, menu labels, and actions…

ExecutionRisk managementMachine learning
Hummingbot docs

This roadmap sets out plans to develop Hummingbot from a market-making client into a framework for building and running cross-venue algorithmic strategies. Priorities include improving support for selected centralized and decentralized exchange connectors,…

CryptoMarket makingExecutionTechnical indicators
BigQuant

This report discusses the Hong Kong listing of leveraged and inverse funds tracking the CSI 300, including a two-times long product and a one-times inverse product. It describes their use of swap contracts to maintain a fixed daily exposure and compares that…

EquitiesChina marketsDerivatives pricingVolatility
MQL5 code base

The document explains how to size a forex position so that a stop-loss represents a chosen amount of account-currency risk. It distinguishes three currency relationships: a pair whose quote currency matches the account currency, a pair whose base currency…

ForexPosition sizingRisk managementExecution
SuperMind

This Chinese stock screen combines a 14-period RSI below 65 with bid-side quantity greater than ask-side quantity, current volume above 10,000 lots, and an opening price above the previous close. The article presents the conditions as a way to find stocks…

EquitiesTechnical indicatorsMarket microstructureMomentum