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,660 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
Amberdata research

The article describes adjusting hedge ratios as crypto prices, implied volatility, and liquidity conditions change. For derivatives portfolios, it suggests rebalancing futures and options exposures, including strikes and expirations, to manage directional…

CryptoDerivatives pricingVolatilityRisk management
MQL5 code base

The document describes a minimal expert advisor that opens market orders in a direction chosen by a random-number generator. Its stated principle is equivalent to choosing a side by a coin flip. This makes the strategy a simple example of randomized trade…

ForexStatisticsExecutionRisk management
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
Hummingbot docs

This connector guide explains how to prepare a Derive account for automated trading through Hummingbot. It covers connecting a wallet, depositing assets, registering a session key, creating a subaccount, and entering the wallet address, session key,…

CryptoPerpetual futuresOptionsTechnical indicators
OctoBot

This guide describes a workflow for sending TradingView email alerts to OctoBot, which can use the alerts to automate trades. It outlines configuring OctoBot’s TradingView interface, generating a personal alert email address, registering that address with…

ExecutionTechnical indicators
SuperMind

This proposed stock screen selects companies with turnover between 3% and 12%, a positive product of price change and net volume from very large orders, market capitalization below 10 billion yuan, and no reported loss. The article treats turnover as a…

EquitiesChina marketsMarket microstructureExecution
ProRealCode

The document explains a ProRealTime charting technique that draws a rectangle around the candle where price crosses a moving average, then extends the rectangle a chosen number of bars beyond the latest price. The rectangle uses the crossing candle’s high…

Technical indicatorsBreakoutExecution
MQL5 code base

This brief document describes a trailing-stop module for the MQL5 Wizard that uses a Delta ZigZag indicator to manage open positions. As the indicator calculates new horizontal levels, the module moves the position’s stop-loss to those levels. The method is…

Technical indicatorsRisk managementExecution
MQL5 code base

This MT5 expert advisor estimates and displays the combined monetary value associated with stop-loss and take-profit levels across currently open positions. It iterates through positions with a nonzero stop or target, uses each position’s entry-to-level…

Risk managementPosition sizingExecution
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
Lumibot

The document describes Lumibot as a Python framework for creating rule-based strategies, AI-assisted trading systems, and hybrid approaches. Conventional Python logic can handle indicators, schedules, position sizing, and risk controls, while AI agents can…

BacktestingExecutionMachine learningRisk management
MQL5 code base

ShadeNY is a chart indicator that marks the time window of a trading session with a filled channel. Its configurable inputs set the session’s start and end times, while a horizontal shift moves the channel by a chosen number of bars. The description…

Technical indicatorsExecution
MQL5 code base

This description outlines an Expert Advisor that uses the CCI indicator to place pending buy-stop and sell-stop orders. It checks indicator values on the current and preceding bars, then places a stop order a configurable distance from the current price when…

ForexTechnical indicatorsExecutionRisk management
MQL5 code base

The document describes a MetaTrader library for retrieving historical and upcoming economic-calendar events and using them in indicators, expert advisors, and tester runs. It demonstrates filtering events by date, currency, importance, or event name, and…

ForexEvent-drivenBacktestingExecution
Lumibot

The document explains how to use selected LumiBot components in standalone scripts or notebooks without constructing a trading strategy. Examples cover querying FRED macroeconomic series with a historical information vintage, retrieving price bars through…

EquitiesTechnical indicatorsBacktestingExecution
BigQuant

This platform discussion explains why a simulated strategy’s trade detail may not show during the trading session whether a stock was actually purchased. The platform updates market data after the close and then calculates that day’s simulated results before…

EquitiesExecutionBacktestingMarket microstructure
MQL5 code base

This charting approach modifies an OHLC candlestick by extending its high to the current ask whenever the ask exceeds the candle high, and extending its low to the bid whenever the bid is below the candle low. The stated goal is to make bid and ask prices…

Market microstructureExecution
BigQuant

This article presents a discretionary trading framework for Chinese equities, organized around risk control, opportunity selection, and execution. Its defensive principles include cutting positions when the trade thesis fails, diversifying exposure, avoiding…

EquitiesChina marketsRisk managementTrend following
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
vn.py community

This short forum exchange explains how to save order and trade records produced by the VeighNa CTA backtester. The response says users can open the corresponding record table after a backtest, then use its context menu to save the displayed data as a CSV…

BacktestingExecutionMarket microstructure
FMZ forum

This discussion asks why a displayed time may reflect the hosting machine’s clock and how to obtain local time instead. It also distinguishes a human-readable date string from a numeric timestamp, which can be useful when a program needs to store a time…

StatisticsExecution
FMZ forum

Scalping seeks to accumulate small gains from brief price movements through frequent intraday trades. Positions may last seconds or minutes, and the approach relies on quick entries and exits, often using small time-frame charts, momentum indicators, support…

EquitiesHigh-frequency tradingExecutionMarket microstructure