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

9,660 documents

SuperMind

This Chinese stock-selection proposal screens for turnover between the stated bounds and greater displayed buying volume than selling volume at the best quote. It then looks for a positive price change during the auction and aggregate buying by large and…

EquitiesMarket microstructureSentimentExecution
MQL5 code base

This MetaTrader expert advisor places buy limit and sell limit orders when its conditions are checked at the start of a new bar. If one order triggers, it removes the remaining pending orders. The description also says position trailing is checked on every…

ExecutionRisk managementBacktesting
MQL5 code base

This short simulator page demonstrates how a regular expression can locate a function signature in MQL5. It explains that the pattern looks for the text “int,” then matches a non-greedy sequence of characters on the same line, followed by literal…

Execution
FMZ forum

This short example shows how an automated trading script can detect that both long and short positions have become flat, then respond when its internal state still indicates an active trade. It compares the current account balance with the previously saved…

ExecutionRisk managementStatistics
Freqtrade docs

This documentation page explains how to run Freqtrade backtests on historical OHLCV data, select a strategy, timeframe, date range, trading pairs, starting balance, stake settings, fees, and output format, and compare multiple strategies in one run. It…

CryptoBacktestingExecutionRisk management
FMZ guides

This FMZ guide outlines a continuously running strategy loop across JavaScript, Python, Rust, and C++. It shows calling strategy logic repeatedly with a configurable sleep interval, which controls polling frequency in live trading and playback speed in…

CryptoExecutionTechnical indicatorsRisk management
MQL5 code base

The document explains why MetaTrader’s TimeGMT function can give misleading results in the strategy tester: there, it matches simulated trade-server time. It describes a library that estimates the broker’s GMT offset from historical hourly bars and subtracts…

ForexBacktestingExecution
MQL5 code base

Equity Guard is described as an account-level risk tool that tracks losses from a daily reference point and reacts when a configured trigger is reached. The reference can be the account’s balance or equity at the daily reset, and the limit can be expressed…

Risk managementPosition sizingExecution
vn.py community

A short VeighNa community exchange explains why the project continues to maintain vnpy_ctptest alongside vnpy_ctp. The response says that some futures companies still use an older version of the CTP testing environment, so the test interface remains…

FuturesExecution
MQL5 code base

This expert advisor uses the Stochastic oscillator to close existing positions according to one of three rules: %K crossing %D in an extreme zone, %D entering an overbought or oversold zone, or %D leaving one. The rules are directional: for example, an…

Technical indicatorsRisk managementPosition sizingExecution
ProRealCode

This DAX strategy uses a one-hour Kaufman Adaptive Moving Average (KAMA) crossing a 22-period simple moving average to generate long and short signals. It calculates signals on hourly bars but uses one-minute data to manage exits. The author describes a…

FuturesTrend followingTechnical indicatorsRisk management
Lumibot

The document explains how to migrate a strategy from Backtrader to LumiBot by checking one behavior at a time: data timing, indicators, sizing, orders, and execution. It maps common lifecycle and broker concepts, then illustrates a simple allocation rule…

BacktestingExecutionTechnical indicatorsRisk management
ProRealCode

This tool graphs cumulative simulated outcomes after consecutive runs of bullish or bearish candles, considering run lengths from one to twelve. For each qualifying pattern, it records a one-candle return in the direction of a hypothetical long position and…

Technical indicatorsStatisticsBacktestingExecution
SuperMind

This article proposes screening Chinese A-shares in the metaverse industry by ranking them on the day’s opening-auction turnover and retaining the top five with positive net buying attributed to major auction participants. It frames turnover as a…

EquitiesChina marketsMarket microstructureExecution
MQL5 code base

The document describes configurable trade-management options for closing part of an open position and moving a stop loss to the break-even area. Its listed settings enable partial closing, set the percentage of position volume to close, enable stop movement,…

Risk managementPosition sizingExecution
OctoBot

The document introduces paper trading as a way to run strategies in live market conditions with a virtual portfolio before committing real funds. It describes using a cloud trading service to select strategies, choose a simulated portfolio, and monitor the…

BacktestingRisk managementExecution
NautilusTrader

The guide explains how NautilusTrader routes order, position, account, and time events through its message bus and to strategy handlers. Specific handlers run before aggregate handlers, and strategy callbacks receive events only while the strategy is…

ExecutionMarket microstructure
FMZ forum

This short troubleshooting excerpt records failed buy and sell attempts for the FT/USDT market on FCoin. The exchange returned an error stating that market orders were disabled for that symbol. The account information shown in the log includes available and…

CryptoExecution
MQL5 code base

This document explains a trade-management expert advisor that moves a position’s stop loss to a specified breakeven level after the position reaches a configured profit threshold. A separate distance setting determines where the stop is placed relative to…

ForexRisk managementExecution
TqSdk

The document describes using TqSdk from Jupyter Notebook for market analysis and research. It highlights the notebook’s interactive workflow, where code can be run incrementally, and its ability to display charts alongside analysis. It points readers to…

Execution
FinRL

This Python example outlines a deep reinforcement learning workflow for a stock portfolio using FinRL and Alpaca. It trains a PPO agent with ElegantRL on one-minute data for Dow Jones stocks, evaluates it on a short held-out date window, then retrains using…

EquitiesMachine learningBacktestingExecution
FMZ forum

This historical OKCoin strategy combines short-term price-breakout trading with a portfolio-balance rule. It tracks recent trades, order-book prices, and a smoothed trading-volume measure. When price moves beyond a threshold relative to recent highs or lows,…

CryptoHigh-frequency tradingBreakoutMomentum
MQL5 code base

The document describes an indicator that converts incoming tick data into a one-tick-period chart in MetaTrader. It adapts the platform’s period-conversion approach to store ticks in standard history files, which lets the user open the result as an offline…

Market microstructureTechnical indicatorsExecution