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,797 documents

SuperMind

The document explains the Turtle trend following system as a mechanical futures approach intended to limit discretionary decisions. It covers liquid market selection, volatility based sizing using ATR, and Donchian channel breakout entries. A short term…

FuturesTrend followingBreakoutTechnical indicators
FMZ forum

This article describes a monitoring upgrade for a cryptocurrency futures Martingale strategy used with Binance Futures and dYdX bots. The first version showed limited position information and plotted realized profit and loss without accounting for floating…

CryptoFuturesGrid tradingRisk management
MQL5 code base

The document describes a rules-based gold strategy that buys after the CME’s daily maintenance break, holds for a fixed period, and uses a volatility-scaled stop. It reports an eleven-year hourly-data study: the first hour after the daily reopen showed a…

CommoditiesFuturesBacktestingExecution
vn.py community

The discussion addresses how a spread strategy should handle ticks arriving at different times for multiple contracts. It describes a latest-available-data approach: cache each leg’s most recent tick and recalculate the spread whenever any leg updates. This…

FuturesArbitrageHigh-frequency tradingMarket microstructure
Amberdata research

This market commentary combines a US macro calendar with views on Japanese rates, Bitcoin, and Ethereum options. It notes that the Federal Reserve decision and US employment report could move markets, while a weaker employment result might support bonds and…

CryptoOptionsVolatilityForex
vn.py community

This brief forum exchange addresses a type error encountered during a CTA backtest. The reply points to the construction of five-minute bars and explains that the window argument was not passed as an integer value. The practical lesson is to check the type…

FuturesBacktesting
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
MQL5 code base

This indicator description explains a charting method for displaying candles from a larger timeframe as filled rectangles. The rectangles use a fill-drawing buffer, with the BrainTrend1 indicator determining the colors: the candle body uses one color for…

Technical indicatorsFutures
TqSdk

This guide walks through a TqSdk workflow, from setting up an account and connecting to live quotes to reading synchronized bars, checking account and position references, and submitting or cancelling orders. Its central pattern is to create an API, request…

FuturesTechnical indicatorsBacktestingExecution
vn.py

The document explains how to connect VeighNa trading software to Excel through its ExcelRtd module and PyXLL. After installing and configuring the commercial PyXLL add-in, users can enable the module in VeighNa Station or load it in a startup script. The…

FuturesExecutionMarket microstructure
MQL5 code base

This indicator description explains a way to plot hourly pivot support and resistance levels. It calculates the first three resistance levels and first three support levels using either a standard pivot-point formula or Fibonacci-based levels, with the user…

Technical indicatorsFutures
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
FMZ forum

The author reports that 15-minute bars collected by a live trading bot for a Chinese steel rebar futures contract differ substantially from bars shown by two other market-data sources. They provide a long excerpt of the bot’s OHLCV records, with timestamps,…

FuturesMarket microstructureBacktesting
ProRealCode

This ProRealTime indicator is designed for price-action charting with few overlays. It calculates Fibonacci retracement levels from the current session's high and low, changes their orientation according to whether price is behaving bullishly or bearishly,…

Technical indicatorsEquitiesFutures
backtrader

This example shows how to load daily market data from a delimited text file into a pandas DataFrame and pass it to Backtrader as a Pandas data feed. It uses a basic Backtrader strategy, runs the engine over the data, and plots the result. Optional…

BacktestingFutures
ProRealCode

This DAX trading idea opens a long position on Monday at the specified morning entry time if the current price is more than 50 points above the previous day’s close. It exits at a preset time later that morning and sets a 50-point loss stop. The code also…

FuturesTrend followingBreakoutRisk management
MQL5 code base

This document describes a rule-based strategy for the Nikkei 225 on 15-minute bars. It enters long after a closed bar meets three criteria: price is above its recent average by a volatility-scaled amount, upward momentum remains below a threshold, and tick…

FuturesTechnical indicatorsBacktestingRisk management
FMZ forum

This tutorial outlines a mean-reversion approach to calendar spreads in ETC futures. It defines the spread as the weekly contract price minus the quarterly contract price, samples it on a five-minute cycle, and pairs the contracts in a one-to-one ratio. The…

CryptoFuturesArbitrageMean reversion
Stratmill research code

This example shows how to combine a spot BTCUSDT mid-price series with US dollar margined futures order book data in an hftbacktest simulation. It parses spot book ticker messages into local timestamps and mid prices, then, at each backtest timestamp,…

CryptoFuturesSpot marketsMean reversion
vn.py community

A discussion about an options strategy notebook describes a backtest that produced zero daily profit and loss values and took a long time to load historical data. The reported cause was missing underlying futures data: the shared activity data package…

OptionsFuturesBacktesting
SuperMind

This report summary reviews Chinese private securities funds and market conditions around July 2018. It covers equity, bond, and commodity performance, the size and formation of the private-fund sector, and median fund returns overall and by strategy. It…

Multi-assetEquitiesFixed incomeFutures
FMZ forum

This tutorial explains how to add a second vertical axis to a trading chart when plotting an indicator with a very different scale from market prices. Its example combines candlesticks for a futures instrument with MACD lines. Because the MACD values are…

Technical indicatorsFutures
ProRealCode

The document describes a trend-following indicator built from a moving average of the prior day’s typical price. It plots five fixed-distance bands above and below that average; the user sets the period and band increment, with 20 periods and an increment of…

FuturesTrend followingTechnical indicatorsRisk management