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

vn.py community

This forum post analyzes how a trading strategy’s tick callback interacts with order cancellation and order status updates in an event-driven trading engine. A cancellation request does not immediately change an order’s status: the engine waits for an order…

ExecutionMarket microstructureFuturesRisk management
vn.py community

A trader reports that their local receipt timestamp from a CTP feed appears earlier than the timestamp on the tick, including an example with a difference of roughly a second. They initially suspect that a server-time tick should arrive after its timestamp…

FuturesExecutionMarket microstructure
FMZ forum

The article questions the use of deep learning to forecast stock or futures returns from historical indicators. Its author says they tried both classification and regression approaches, including recurrent networks, and found the results poor. They also…

Machine learningStatisticsEquitiesFutures
vn.py community

This forum exchange explains a compatibility problem that can arise when connecting standard CTP accounts alongside accounts that use a customized asset management API. Although both interfaces resemble CTP, their API libraries may differ. Replacing DLL…

FuturesExecution
vn.py community

This short forum exchange discusses whether frequently querying account and position data through a CTP gateway might trigger limits at the brokerage counter. One participant asks about querying multiple instruments and positions; another replies that the…

FuturesExecution
TqSdk

This Python module documents functions for calculating common technical indicators from market bars and options data. The visible functions include average true range, bias, Bollinger Bands, directional movement, KDJ, MACD, parabolic SAR, and Williams %R.…

Technical indicatorsFuturesOptionsVolatility
vn.py

This example demonstrates a portfolio-strategy backtest for a pair trading strategy on two Dalian Commodity Exchange continuous contracts. It configures minute data over a specified historical interval and supplies commission rates, slippage, contract sizes,…

FuturesPairs tradingBacktestingExecution
TqSdk

The document explains how TqSdk’s wait_update loop drives data subscriptions, background tasks, and trading requests. Call get_* methods once and keep their returned objects as live references; subsequent update calls refresh them. Use is_changing to respond…

ExecutionFuturesBacktesting
MQL5 code base

This note introduces the Average Modified Moving Average (AMMA), a moving average described as similar to an exponential moving average. It gives a recursive calculation: each value combines the current price with the next bar’s AMMA, weighted by the…

Technical indicatorsFuturesTrend following
FMZ forum

This teaching example ports a close-based trend strategy into JavaScript and extends it across multiple cryptocurrency futures symbols. It calculates an exponential moving average of typical price as a midline, computes ATR, and places upper and lower bands…

CryptoFuturesTrend followingBreakout
BigQuant

This Chinese-language report summary examines intraday price, volume, and trading characteristics using minute data to build factors and compare their behavior in stocks and futures. The factor families include return-distribution statistics such as realized…

EquitiesFuturesHigh-frequency tradingFactor investing
Amberdata research

This research summary compares high-frequency factors built from minute data in stocks and futures. It groups signals into return-distribution measures, intraday volume patterns, price-volume relationships, order-flow measures, and trend strength. Reported…

EquitiesFuturesHigh-frequency tradingFactor investing
ProRealCode

This one-hour Hang Seng strategy uses RSI thresholds to enter long or short positions, with an ATR-based filter that requires volatility relative to price to exceed a set level. It also restricts entries to a specified UK-time window and disables order…

FuturesMean reversionTechnical indicatorsVolatility
Amberdata research

This weekly digital asset review combines regulatory and product news with market indicators for Bitcoin, Ethereum, and Solana. It discusses ETF holdings and weekly flows, futures open interest across exchanges, long-short ratios, and funding rates. The…

CryptoFuturesTechnical indicatorsSentiment
FMZ forum

The note shows a routine for retrieving open orders and cancelling each one, then reports a failure when the returned value is null and the code tries to read its length. The accompanying exchange response identifies the cause: the API key does not match the…

ExecutionFutures
ProRealCode

This strategy trades the DAX using signals calculated on an hourly timeframe and entries managed on a one-minute chart. A long signal requires a bullish candle pattern, a fast EMA crossing above a slower EMA, and RSI crossing above its midpoint; the short…

FuturesTrend followingTechnical indicatorsRisk management
NautilusTrader

This guide describes connecting to AX Exchange, a regulated venue for derivatives on traditional asset classes. It outlines perpetual and dated futures, including USD cash settlement, funding payments, contract sizing, margin, and how the adapter maps venue…

FuturesPerpetual futuresExecutionMarket microstructure
vn.py community

This forum exchange discusses how to test a broker-imposed order cancellation limit when orders in a futures test environment appear to fill immediately. A respondent explains that broker-maintained test environments may use matching rules that differ from…

FuturesExecutionMarket microstructure
Amberdata research

This market commentary links Federal Reserve expectations and geopolitical events with moves in bonds, gold, equities, and crypto. It reports that markets were pricing a greater chance of the Federal Reserve holding rates, while gold continued rising amid…

CryptoOptionsVolatilityFutures
MQL5 code base

The document describes an MQL5 class for calculating the Relative Strength Index (RSI) with a ring buffer. The class can process a full input array or individual values, and its initialization accepts an RSI period, smoothing method, buffer capacity, and an…

Technical indicatorsEquitiesFutures
SuperMind

The document describes an MQL5 class for calculating the Relative Strength Index (RSI) with a ring buffer. The class can process a full input array or individual values, and its initialization accepts an RSI period, smoothing method, buffer capacity, and an…

Technical indicatorsEquitiesFutures
vn.py community

A forum exchange addresses how to monitor current account profit or obtain opening fill prices inside a spread trading strategy. The question notes that the spread-trading forum’s trade callback cannot be called directly from the strategy, and asks for…

FuturesPairs tradingExecution
BigQuant

A short developer forum exchange diagnoses a problem that appears when the CTP and CTP test interfaces are loaded in the same VeighNa application. The initial question concerns which API files are accessed and why a DLL in the test interface directory does…

FuturesExecutionMarket microstructure
ProRealCode

The document describes a Swinglines indicator that connects selected bar highs and lows to represent trend direction. It classifies bars by comparing each day’s high and low with the previous day: higher highs and lows, lower highs and lows, inside days, and…

Technical indicatorsTrend followingFutures