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

vn.py community

The thread discusses changing a Turtle-style CTA backtest from a fixed number of contracts per trade to dynamically sized positions. A user reports editing a strategy variable intended to replace the fixed unit, but the refreshed backtest still uses the…

FuturesTrend followingPosition sizingBacktesting
ProRealCode

This excerpt introduces a rule-based strategy built around the Ichimoku indicator and begins a buy condition: price must be above the Kumo cloud. The author describes the approach as suitable for automation and reports personal observations of favorable…

Technical indicatorsForexFuturesBacktesting
vn.py community

A VeighNa community exchange discusses why a user testing the Pegasus system can subscribe to contract quotes from CFFEX but receives no updates for contracts from other exchanges. The response explains that Pegasus is a China Financial Futures Exchange…

FuturesChina markets
vn.py community

This note addresses a position-accounting problem reported for Shanghai-listed futures: after opening new contracts and closing older ones, the remaining same-day position’s average price can become zero. It presents a recalculation approach that starts with…

FuturesRisk managementStatistics
SuperMind

This documentation overview maps backtesting data sources to asset classes, bar intervals, and setup requirements in LumiBot. It suggests Yahoo for uncomplicated daily stock and ETF tests, ThetaData for intraday stock or options history, Polygon for several…

BacktestingEquitiesOptionsFutures
NautilusTrader

This example demonstrates how to model an option purchase across expiration in a backtest. A strategy subscribes to option quotes and futures bars, then submits a market buy order for one option when it receives the first eligible quote. The sample replays…

OptionsFuturesBacktestingDerivatives pricing
SuperMind

The document introduces Lévy processes as a way to model asset-price behavior with jumps and distributions that can have heavier tails than a normal model. It describes a price process combining drift, Brownian motion, and a Lévy component, then outlines…

Derivatives pricingVolatilityStatisticsOptions
Stratmill research code

This module describes calendar rules for rolling several futures series: crude oil, NBP natural gas, refined products including RBOB, grains, and ethanol. The rules use contract-specific termination conventions, such as dates near the 25th or 15th of a…

FuturesCommoditiesBacktestingTechnical indicators
WonderTrader

This Wtpy CTA strategy calculates upper and lower intraday trigger levels from recent highs, closes, and lows, scaled by configurable parameters around the current bar's open. When flat, it enters long on an upper-level break and, for non-stock instruments,…

FuturesBreakoutTechnical indicatorsExecution
BigQuant

This article explains cross-sectional momentum in commodity futures: periodically rank markets by recent performance, buy the strongest and sell the weakest. It distinguishes this relative ranking approach from time-series momentum, which evaluates each…

FuturesCommoditiesMomentumPortfolio construction
NautilusTrader

This guide shows how to retrieve historical market data from Databento, save it locally in compressed DBN files, convert it into Nautilus data objects, and store those objects in a Parquet catalog. Its examples cover an E-mini S&P futures order book depth…

FuturesEquitiesMarket microstructureBacktesting
MQL5 code base

This indicator description adapts the calculation period of the Laguerre RSI using Average True Range (ATR). Instead of relying on a fixed period, it changes its responsiveness with volatility: the indicator becomes more responsive during high-volatility…

Technical indicatorsVolatilityFutures
vn.py community

This forum exchange investigates why a VeighNa trading script fails to find contracts even though the graphical Studio client receives market data. Participants explain that a strategy module may start before contract queries finish, and that simply adding a…

FuturesExecutionMarket microstructure
FMZ forum

The article distinguishes planned stop losses from sudden losses that occur when a stop cannot be executed at its intended level. It describes fixed stops based on a price or loss limit, trailing stops that follow conditions such as moving averages or…

FuturesRisk managementExecutionPosition sizing
MQL5 code base

This expert advisor uses the Parabolic SAR indicator to choose a direction: it buys when the Ask price is above the indicator and sells when it is below. The description identifies configurable chart timeframe, stop loss, take profit, order volume, risk…

FuturesTechnical indicatorsRisk managementPosition sizing
OctoBot

This guide describes order-size expressions in OctoBot, grouping them into fixed, portfolio-scaled, and variable amounts. Fixed amounts specify a quantity in the base asset or a value in the quote asset. Scaled amounts can reference holdings associated with…

Position sizingCryptoFuturesRisk management
Lumibot

This Lumibot guide explains three futures asset choices: continuous contracts, specific-expiry contracts, and automatically selected expiries. It presents continuous futures as a convenient choice for multi-year backtests because they avoid manual expiration…

FuturesBacktestingRisk managementPosition sizing
FMZ forum

This tutorial explains how to collect market data for many trading pairs through aggregated exchange endpoints and organize it for a multi-symbol strategy. Using Binance futures and Huobi spot as examples, it shows how to normalize different response formats…

CryptoFuturesSpot marketsExecution
QTPyLib

This tutorial explains how to bring market data from external providers or existing CSV files into QTPyLib for strategy backtesting. It outlines supported download routes for daily and intraday bars from Yahoo Finance, Google, and Interactive Brokers, with…

BacktestingFuturesExecution
WonderTrader

This code describes a Dual Thrust style breakout strategy applied across a list of instruments. It calculates a reference range from prior bars using the highest high and close and the lowest low and close, then scales that range by separate parameters to…

FuturesBreakoutTechnical indicatorsExecution
vn.py community

A VeighNa community discussion investigates a CTA backtest in which the recorded position appears to exceed the strategy's actual holdings. The trader reports opening seven contracts, then seeing several stop orders close quantities that add up to more than…

FuturesBacktestingExecution
vn.py community

This brief VeighNa forum exchange addresses how to work with five-minute and thirty-minute bars in one strategy. The suggested approach is to use two BarGenerator instances and two ArrayManager instances, allowing each interval to be aggregated and tracked…

FuturesTechnical indicators
BigQuant

This essay uses an unfinished introduction to a supposed futures reversal method to illustrate the appeal and danger of searching for secret signals. It does not describe a specific entry rule or demonstrate that any reversal strategy works. Instead, it…

FuturesRisk managementPosition sizing