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

ProRealCode

The document describes an opening-range breakout approach for the FDXS on a five-minute chart. It tracks the high and low formed from 9 to 10 a.m., then enters long or short when price breaks beyond that range. The proposed stop is at the range midpoint,…

FuturesBreakoutRisk managementTechnical indicators
QTPyLib

This QTPyLib example illustrates a simple event-driven futures strategy for the S&P E-mini. It counts incoming ticks and acts on every tenth tick. When flat and without a pending order, it randomly chooses a side and submits a one-contract limit order around…

FuturesExecutionRisk managementHigh-frequency trading
vn.py community

This forum exchange documents a VeighNa user who could not find a DCE futures contract in the contract query or when submitting an order. The log shows the trading application starting, loading risk rules, attempting a CTP connection, and then reporting that…

FuturesExecutionMarket microstructure
FMZ forum

This brief troubleshooting post shows a BitMEX limit-order request that succeeds when the price is written as a literal number but fails when the request uses a variable. The logged variable evaluates to a numeric price, yet the API responds that the price…

CryptoFuturesExecution
ProRealCode

This document describes a long-only strategy for a Bund contract CFD on a four-hour chart. Entries are triggered when a normalized, smoothed price-action indicator reaches either extreme threshold or crosses above zero, with Monday entries excluded. The…

FuturesFixed incomeTechnical indicatorsTrend following
MQL5 code base

This brief indicator description explains a way to display support and resistance levels from recent tops identified by the ZigZag_NK_MTF indicator. A user can choose the timeframe used to calculate the ZigZag, allowing the plotted levels to reflect a…

Technical indicatorsFutures
BigQuant

The document outlines Two Sigma’s systematic investment approach and briefly describes its China macro strategy, which invests across Chinese commodity and financial futures. It presents a process built around research, portfolio construction, and risk…

FuturesCommoditiesChina marketsPortfolio construction
BigQuant

This study explores genetic programming as a way to discover formula-based signals for commodity futures trading. It adapts a genetic programming package to search combinations of market data and operators, aiming to find signals that could complement…

FuturesCommoditiesMachine learningBacktesting
ProRealCode

This shared ProRealTime strategy combines ADX, directional indicators, momentum, stochastic movement, and price relationships to moving averages. It seeks long entries when several measures support an upward trend and short entries when they support a…

FuturesTrend followingMomentumTechnical indicators
vn.py community

This short forum exchange explains one possible cause of a SimNow trading-server login failure that returns CTP error code 4 with an inactive-user message. A user asks why login is failing, and a respondent says the account may have been frozen after a long…

FuturesExecution
MQL5 code base

This document describes version 3.0 of a charting tool for Elliott Wave analysis. Its main addition is drawing Andrews Pitchforks from three selected wave labels. Users select the labels, trigger the drawing action, and can remove the resulting pitchfork by…

Technical indicatorsFuturesEquitiesForex
NautilusTrader

This example demonstrates a backtest workflow for market-by-order data. It loads instrument definitions and a short sample of order book deltas, configures a margin account with an L3 market-by-order book, and feeds the data into the engine. A built-in book…

FuturesBacktestingMarket microstructure
vn.py community

This code describes a multi-contract futures strategy that combines daily contract selection with three-minute entry signals. It ranks instruments by trading activity relative to open interest and by daily range relative to the open, then permits new…

FuturesTrend followingBreakoutTechnical indicators
ProRealCode

The document describes a long-only DAX system intended for 15-minute bars. It permits entries around the Frankfurt open on weekdays, using a short momentum comparison and price above a parabolic SAR as entry conditions. A fractal dimension index below a…

FuturesMomentumTechnical indicatorsPosition sizing
vn.py community

A forum discussion considers how to size orders dynamically during a backtest as account equity changes. The trader describes a strategy that may lose capital after a position closes and then needs to size a new entry using the reduced balance. They explain…

BacktestingPosition sizingRisk managementFutures
vn.py community

The document raises a focused implementation question about building one-minute bars from tick data with VeighNa’s BarGenerator. It asks why the update logic compares the current bar high with a tick’s last traded price, then conditionally considers the…

FuturesMarket microstructure
vn.py community

This forum exchange explains a BarGenerator behavior for forming hourly candles when a contract is inactive near the end of an hour. If no new market data arrives during the final minutes, the incoming bar may carry a timestamp in the next hour. The hour…

FuturesMarket microstructureExecution
vn.py community

This brief forum exchange concerns a user who cannot find an IM-prefixed futures contract in VNPY’s contract lookup and market-data records. The reply suggests checking whether the contract query has completed successfully before searching, since attempting…

FuturesExecution
vn.py community

A VeighNa community exchange discusses why a backtest may show a flat return curve when stock data contains negative prices after adjustment. One participant reports seeing negative values in forward-adjusted data for a stock and notes that crude oil futures…

FuturesEquitiesBacktesting
FMZ forum

This profile follows a quantitative trader’s shift from intraday models toward medium-frequency futures strategies grounded in industry knowledge. He argues that statistical relationships alone can be fragile: attractive historical fits may reflect…

FuturesCommoditiesBacktestingRisk management
ProRealCode

This article describes an indicator that interprets the session after an Initial Balance, defined by the high and low of an opening period. It freezes those boundaries, optionally plots range-extension references, and divides the remaining session into fixed…

FuturesMarket microstructureTechnical indicatorsBreakout
pysystemtrade

This document describes a raw-data stage in a futures trading system that prepares reusable price and carry calculations for later forecasting. It retrieves daily, natural-frequency, and hourly prices; computes absolute daily and hourly price changes; and…

FuturesVolatilityCarryStatistics
SuperMind

The notes explain how to hedge an exposure with a futures contract on a related but different asset. They define the minimum-variance hedge ratio using the correlation and volatility of spot and futures price changes, then use that ratio and contract size to…

FuturesEquitiesRisk managementPosition sizing
MQL5 code base

The document introduces a MetaTrader 5 indicator called JS-Stoh-BB-RSI_HTF, which adds a selectable chart timeframe to the JS-Stoh-BB-RSI indicator. The timeframe is configured through an input parameter, with a four-hour period shown as the default. The…

Technical indicatorsFutures