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

TqSdk

This reference compares direct order placement, cancellation, target-position control, scheduled execution, and TWAP tools for futures and stock workflows. Manual orders suit cases requiring explicit price selection, cancellation decisions, partial-fill…

ExecutionFuturesEquities
vn.py

This Python example describes a process manager for a CTA futures strategy using vn.py and the CTP gateway. A parent process checks the clock and launches a child process during configured daytime and overnight trading windows. The child creates the event…

FuturesExecutionChina markets
vn.py community

This project description outlines a LightGBM system for classifying the direction of futures prices over a configurable forward horizon. It processes one-minute bars across multiple contracts, builds technical and statistical features, and labels future…

FuturesMachine learningBacktestingRisk management
BigQuant

A user asks whether a futures position should be counted at its full market value or at a value adjusted for margin when a strategy calculates returns by adding asset value and cash. The reply emphasizes that futures use margin and daily settlement, so their…

FuturesRisk managementStatistics
BigQuant

This research overview describes two broad approaches to absolute-return investing: combining equities and bonds, and hedging or taking exposures through derivatives. It lists stock-bond rebalancing, target-volatility, risk-parity, and risk-budgeting…

Multi-assetPortfolio constructionRisk managementFutures
vn.py community

This account describes connecting VeighNa to CTP before and after new programmatic-trading requirements, with particular attention to error codes 4040 and 4097 and a subsequent testing process. The author recommends a recent VeighNa version and contrasts two…

FuturesExecutionMarket microstructure
Freqtrade docs

This reference summarizes exchange-specific behavior relevant to configuring an automated cryptocurrency trading system. It compares supported spot and futures markets, margin modes, and available on-exchange stop orders, then discusses API rate limits,…

CryptoFuturesExecutionMarket microstructure
vn.py community

The post asks how to translate the Turtle Trading system’s N measure into contract size. Its proposed calculation uses average true range over a chosen risk window, then divides one percent of risk capital by ATR multiplied by the assumed price tick and…

FuturesPosition sizingRisk managementTechnical indicators
BigQuant

This meetup Q&A covers practical choices in quantitative strategy design. It says researchers can choose the forward-return horizon used as the target when calculating information coefficients, and points to model-based and scoring templates. For…

FuturesEquitiesTechnical indicatorsRisk management
vn.py

This document explains a graphical workflow for researching CTA strategies with historical data. It covers downloading market data, configuring a backtest with instrument details and trading costs, and reviewing equity, drawdown, daily profit and loss, and…

BacktestingFuturesStatisticsRisk management
ProRealCode

This document describes a rules-based intraday strategy that takes short positions in the DAX on 15-minute bars. Entry requires the MACD to cross below zero while its signal line is negative, price to be below a long-period exponential moving average, and…

FuturesTrend followingTechnical indicatorsRisk management
vn.py community

This short forum exchange addresses how to model a monthly rollover strategy that trades futures and options together. The question is how to configure the backtest engine when the two instrument types have different transaction fees, especially when closing…

FuturesOptionsBacktestingRisk management
MQL5 code base

This document describes an automated strategy that enters when price breaks the high or low of a prior candle on a selected timeframe, from one minute through one month. The user can set an offset from that candle’s extreme and optionally apply…

FuturesBreakoutTechnical indicatorsRisk management
BigQuant

This collection of trading anecdotes describes manual, high-frequency intraday futures scalping based on order-book changes, quick reactions, and repeated attempts to capture small price differences. Practitioners emphasize watching volume and position…

FuturesHigh-frequency tradingExecutionMarket microstructure
pysystemtrade

This Python entry point runs a futures mean reversion system through a broker controller. Before trading, it checks broker position consistency, obtains a price and an initial range estimate, and prompts the operator to accept or modify strategy parameters.…

FuturesMean reversionExecutionRisk management
ProRealCode

CazaGaps is presented as an analysis tool for identifying and measuring upward and downward opening gaps in an index or other instrument. It marks a positive gap when the open is above both the previous close and previous high, and a negative gap when the…

Technical indicatorsEquitiesFuturesBacktesting
BigQuant

The document introduces the Commodity Selection Index (CSI), specifying high, low, close, and a lookback length as inputs. Its pseudocode builds an average true range measure from intraday range and gaps relative to the previous close. It also estimates…

CommoditiesFuturesTechnical indicatorsTrend following
vn.py community

A Chinese-language forum exchange discusses long decimal values appearing in trading system displays, including a silver futures sell-to-open price. One participant attributes the extra digits to Python floating-point representation and suggests rounding…

FuturesStatisticsExecution
MQL5 code base

This brief description introduces a higher-timeframe version of the ColorXATR indicator for MetaTrader 5. A user can select the timeframe used by the indicator through an input parameter; the example default is a four-hour chart period. This lets the…

Technical indicatorsFutures
FMZ forum

The document describes a high-frequency futures data method: connect to multiple futures brokers, subscribe each connection to the same contract, and combine incoming tick events. Its platform design uses a continuously running main loop and an event-waiting…

FuturesHigh-frequency tradingMarket microstructureExecution
ProRealCode

This strategy trades the DAX on five-minute bars, requiring Ichimoku conditions to align across five-, fifteen-, and sixty-minute timeframes. Long and short signals require price to be on the corresponding side of the cloud and the lagging-span comparison to…

FuturesTechnical indicatorsTrend followingRisk management
BigQuant

This report introduces an early-stage study of market microstructure signals in the IF equity index futures contract. It proposes examining the difference between midpoint and trade-price log returns, quoted depth, large trades, and signed volume. The…

FuturesMarket microstructureStatisticsHigh-frequency trading
vn.py community

A trader reports that a local stop order on a simulated Chinese futures account triggered after a long position was opened, but the resulting fill was far below the displayed stop level. The discussion explains that the stop order’s displayed price is its…

FuturesExecutionMarket microstructure
BigQuant

This example describes a daily, long-only futures strategy using a 10-period average crossing a 30-period average to generate entry and exit signals. A 120-period moving average acts as a trend filter: the strategy opens a position after an upward crossover…

FuturesTrend followingTechnical indicatorsBacktesting