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 futures strategy tracks the ratio of copper to aluminum contract values, adjusting each contract’s daily close by its volume multiplier. It calculates the historical mean and standard deviation of that ratio, then uses the current ratio’s z-score to…

FuturesCommoditiesPairs tradingMean reversion
BigQuant

This tutorial explains how to aggregate one-minute bars into longer intraday bars, using a Chinese stock session as its example. It shows the standard time-series resampling approach: assign open from the first observation, high and low from the extrema, and…

EquitiesFuturesStatisticsMarket microstructure
FMZ forum

The essay contrasts left-side trading, which anticipates turns such as bottoms or tops, with right-side trading, which waits for evidence that a move is underway before acting. It uses a mahjong analogy: entering early is like playing with only one’s own…

EquitiesFuturesTechnical indicatorsRisk management
BigQuant

This report surveys hedging choices for U.S. equity portfolios during drawdowns and recessions, drawing on a historical sample from 1985 through 2018. It contrasts rolling index puts and short credit risk with Treasury and gold exposures, then examines…

EquitiesFuturesOptionsTrend following
SuperMind

This review compares passive and active approaches to protecting U.S. equity portfolios during severe drawdowns and recessions. Its sample covers 1985–2018, including eight equity declines greater than 15% and three U.S. recessions. It discusses rolling S&P…

EquitiesFuturesOptionsTrend following
vn.py community

This forum exchange discusses a VeighNa spread-trading strategy that cannot calculate a historical spread moving average because no data service is configured. A respondent advises checking the data-feed fields in the application’s global configuration. The…

FuturesPairs tradingTechnical indicators
vn.py community

A forum user asks how to obtain a futures contract’s best bid, best ask, upper price limit, and lower price limit. The response points to the corresponding fields on the tick data object: first-level bid and ask prices, plus limit-up and limit-down values.…

FuturesMarket microstructure
vn.py community

A trader asks why an order receives a successful cancellation response outside trading hours. The replies explain that an order submitted during a non-trading period may be canceled by the interface, with a response generated locally rather than by the…

FuturesExecution
ProRealCode

This ProRealTime indicator monitors the opening price range across Euronext, London, US, and Tokyo sessions, with an optional custom time window. On a one-minute chart, it tracks the range’s high and low during a configurable observation period, set to 15…

Technical indicatorsBreakoutEquitiesFutures
MQL5 code base

This indicator displays a trading session as a candle, using filled chart buffers to show the session’s body and shadows. Inputs define the session’s start and end times and allow a horizontal shift in bars, so the displayed candle can be positioned on the…

Technical indicatorsFutures
Awesome Systematic Trading

This strategy ranks commodity futures by an empirical measure of return asymmetry. At each monthly rebalance, it counts daily returns over the previous 260 trading days that exceed the mean by more than two standard deviations, then subtracts the count below…

CommoditiesFuturesMean reversionPortfolio construction
vn.py community

This community post describes a problem with sell orders that do not fill during a tick-level backtest. The author reports trying several order-price choices, including the latest tick price, a stop order, a zero price, and a price four units below the…

FuturesExecutionBacktestingMarket microstructure
NautilusTrader

This technical reference explains how simulation modules are configured and run within a backtesting exchange. It distinguishes declarative configuration, which accepts built-in modules and language bridges, from linked native configuration, which can hold…

BacktestingExecutionRisk managementFutures
vn.py community

This forum exchange concerns missing hourly bars created by aggregating minute data for a futures contract. A user reports that the stored hourly series is incomplete on a particular date, despite the underlying minute records appearing intact, and later…

FuturesStatistics
ProRealCode

The system takes a long position in the DAX when Monday’s regular-session close is below its daily 34-period simple moving average. It enters at 17:45 on Monday and plans to exit at 09:00 on Wednesday. The code checks the weekday and time on an intraday…

FuturesTrend followingTechnical indicatorsRisk management
FMZ live strategies

This live-trading log describes a one-minute ETH/USDT futures robot on OKX. It uses Bollinger band readings to report a neutral signal and manages long positions through staged dollar-cost-averaging orders. The log shows four successive long entry levels,…

CryptoFuturesPerpetual futuresTechnical indicators
vn.py community

This forum exchange concerns running an options strategy in a SimNow simulated environment. A user reports receiving ticks for the IO options contract but not for the underlying, and says a data subscription call returns false. Participants suggest using IF…

OptionsFuturesExecution
Amberdata research

The article compares Bitcoin market conditions in late 2023 with the rally in late 2020, using spot returns, options implied volatility, futures basis, and realized volatility. It reports that implied volatility was near its 2023 high amid call buying, while…

CryptoOptionsFuturesVolatility
vn.py community

The note explains how tick quote fields may appear when a futures contract reaches its upper price limit. In the example, the best bid price is set to the limit price and its volume reflects the quantity actually queued to buy. The best ask price and ask…

FuturesMarket microstructureExecution
BigQuant

This article explains how a rolling average smooths a time series and why longer lookback windows produce smoother but slower signals. It compares simple, exponential, linearly weighted, triangular, and volatility-adjusted moving averages, focusing on how…

Technical indicatorsTrend followingMomentumFutures
FMZ forum

The document presents exchange limit order data as a way to monitor large crypto traders. It distinguishes resting limit orders from market orders, then describes tracking unusually large orders by price, size, direction, and duration. Its central premise is…

CryptoMarket microstructureFuturesSpot markets
vn.py

This notebook demonstrates a basic command-line workflow for operating a trading engine through a CTP gateway. It loads connection settings, initializes the engine, and connects to the server. The example then queries available contracts, account balances,…

FuturesExecution
FMZ forum

This article explains why a strategy with a positive arithmetic average return can still lose money when returns compound. It illustrates the point with alternating gains and losses, showing that the geometric return better reflects long-run account growth.…

Risk managementPosition sizingStatisticsFutures
NautilusTrader

This reference explains how a dated, exchange-traded futures contract is represented. It describes identifiers, underlying, activation and expiration times, currency, price precision and increments, multiplier, lot size, margin settings, quantity and price…

FuturesDerivatives pricing