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

9,660 documents

BigQuant

The article describes adding a trailing stop to a stock selection and rotation workflow. Its example sells a holding when the latest price falls more than 10% from the highest price observed since purchase. It recommends tracking stop-triggered stocks,…

EquitiesRisk managementExecution
SuperMind

This screening proposal targets stocks classified in the metaverse theme. It filters for actual turnover between 3% and 28% on the prior day and a limit-down indicative matching price at 9:15 the following morning, then ranks candidates by auction amount and…

China marketsEquitiesTechnical indicatorsExecution
Lumibot

This Lumibot example demonstrates a simple futures holding strategy. It configures a US futures market, checks for the first trading iteration, then creates and submits a buy-to-open order for one futures contract with a specified symbol and expiration date.…

FuturesExecutionBacktestingRisk management
SuperMind

This guide explains how an order book represents market depth at Level 1, Level 2, and Level 3, and how strategies can subscribe to incremental deltas, depth snapshots, or timed full-book updates. It describes the cached book’s source-management constraints…

Market microstructureExecutionRisk managementDerivatives pricing
MQL5 code base

This script places a sell stop-limit order using trigger levels measured from the current price, then attaches stop-loss and take-profit levels measured from the open price. It also offers an MM input that scales deal volume according to a chosen fraction of…

ExecutionPosition sizingRisk management
FMZ forum

This outline proposes ten short-term trading triggers, mainly for futures-style markets. It combines order-book behavior, trade flow, price action, volatility, and trader psychology. Suggested signals include abrupt volume and price moves, disappearing…

FuturesMarket microstructureBreakoutMean reversion
NautilusTrader

This guide explains how historical data drives a backtest and how venue book configuration affects simulated matching. It ranks inputs by detail: market-by-order depth, market-by-price depth, top-of-book quotes, trade ticks, and interval bars. More detailed…

BacktestingExecutionMarket microstructure
MQL5 code base

CloseProfit v2 is described as an expert advisor that closes positions when an aggregate profit or loss reaches a configured threshold. It also removes pending orders when that trigger is reached. A scope setting determines whether the advisor operates…

Risk managementExecutionBacktesting
BigQuant

A BigQuant user reports an apparent issue when a strategy sells before buying back to close a position. In the user's tests, buybacks above half of the initial capital fail, while smaller buybacks work. The report describes varying the amount used for the…

China marketsExecutionPosition sizing
SuperMind

The post describes a short routine for closing all positions in a minute-based backtest. Its stated setup is to remove the existing strategy, run the routine in the minute backtest environment, and bind the original capital account. The routine records a…

ExecutionBacktestingRisk management
FMZ forum

The document presents a shortened implementation of a grid trading strategy and explains that it condenses a much longer earlier version. The strategy tracks grid levels in a list. As price moves far enough in a chosen direction, it opens a position at the…

Grid tradingExecutionRisk management
NautilusTrader

This guide explains how a local order emulator provides stop, touched, trailing, and limit order behavior when a venue does not support those order types. Traders select quotes or trades as the trigger data; when the condition is met, the emulator converts…

ExecutionMarket microstructureRisk management
backtrader

This Backtrader example demonstrates execution modeling with volume-aware order fillers. Its strategy calculates a buy size as a configurable percentage of the current bar’s reported volume, then closes the position on a later eligible opportunity. A…

ExecutionMarket microstructureBacktestingPosition sizing
MQL5 code base

This document describes a modified B-clock indicator for a trading platform. It adds user controls for the indicator’s font, color, and size, and displays the spread as the difference between ask and bid prices. The clock presents timeframe information, with…

ForexExecution
backtrader

This Backtrader example combines a moving-average crossover entry signal with three buy limit orders placed at progressively lower prices after an upward crossover. The orders can be linked using one-cancels-other behavior, so execution of a linked order…

BacktestingTechnical indicatorsExecutionEquities
BigQuant

This document explains a reverse-doubling strategy designed for an older crypto-margined futures venue. It focuses on the strategy’s control flow: open a position, place take-profit orders, monitor both profit-taking and reverse stop triggers, cancel…

CryptoFuturesRisk managementPosition sizing
SuperMind

This article proposes screening metaverse stocks before 10:00 for a newly formed KDJ bullish crossover, current volume above 10,000 lots, and an opening price equal to the day’s high. It presents the crossover as a buy signal, high volume as evidence of…

China marketsEquitiesTechnical indicatorsMomentum
Lumibot

This document outlines how to use Kraken through Lumibot’s shared CCXT broker path for cryptocurrency strategies. It describes API key and secret credentials, notes that the integration supports a live trading path, and identifies Kraken as the exchange…

CryptoSpot marketsBacktestingExecution
SuperMind

This proposed China equity screen narrows the metaverse theme to stocks ranked among the top five by the day’s auction amount, then applies a prior-day turnover criterion described as three to twenty-eight percent. The post presents liquidity and trading…

EquitiesChina marketsExecutionMarket microstructure
SuperMind

This tutorial explains a Bollinger Band strategy and outlines how to implement it in JavaScript using a CTA framework. The bands are built around a moving average with upper and lower boundaries based on price standard deviation. The described entry rule…

Technical indicatorsBreakoutVolatilityExecution
MQL5 code base

This document describes adding alert delivery to a Harami candlestick indicator. Buy and sell signals are read from indicator buffers at a configurable bar offset, then reported through platform alerts, email, or mobile push notifications. Inputs control the…

Technical indicatorsExecution
vn.py community

This short forum exchange explains an order flow limit as a cap on how many order submissions may be made during a specified time window. A reply clarifies that the framework clears or resets the count after a configured number of seconds, and that the limit…

ExecutionMarket microstructure
MQL5 code base

The document describes a programming framework for grid and Martingale strategies. A shared strategy class holds settings such as starting price, trade size, take profit, and monetary stop loss; specialized classes supply their own buy and sell signals. An…

Grid tradingMean reversionVolatilityRisk management
MQL5 code base

The document outlines time utilities for handling weekly market schedules. It describes functions that identify Sunday and Friday boundary times, count Sundays or hourly candles between dates, and add a requested number of trading seconds to a timestamp. The…

ExecutionBacktestingStatistics