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

A VeighNa community user reports that running a Python file from the command line in Elite Lab fails because the environment cannot find vn.py. The reply explains that the command was launched from the system command prompt rather than Elite Lab’s separate…

Execution
BigQuant

A user reports that BigQuant’s trade simulation showed a purchase at the market open and a sale at the close on the same day, despite having no carried position and expecting the position to be zero. The response explains that this can be normal because the…

ExecutionBacktesting
MQL5 code base

This article explains a module for assigning an Expert Advisor different trading permissions according to time of day and weekday. Its six modes range from allowing both directions or only one direction, to stopping trading and closing positions, waiting…

ExecutionRisk managementFutures
backtrader

This Backtrader example demonstrates a simple trend-following strategy and order-monitoring setup. It calculates a 15-period simple moving average and uses a crossover between the closing price and the average: an upward cross creates a buy signal, while a…

BacktestingTrend followingTechnical indicatorsExecution
vn.py community

This example describes a way to run a VeighNa recorder for Chinese futures data during market sessions. A parent process checks the clock and starts a child process during configured daytime and overnight windows, then terminates it outside those periods.…

FuturesMarket microstructureExecution
Freqtrade docs

This document outlines interface and configuration changes for upgrading Freqtrade strategies from version 2 to version 3, especially when adding short trades or leverage. It maps older buy and sell signals to entry and exit terminology, including renamed…

CryptoExecutionRisk managementMachine learning
vn.py community

The post outlines a way to backtest a continuous sequence of dominant futures contracts in a VeighNa-based system. It argues that an exchange-style continuous index can differ from trading actual contracts because it blends contract prices and may produce…

FuturesBacktestingExecutionCommodities
MQL5 code base

This document explains a proof-of-concept MQL5 library that lets MetaTrader 5 Expert Advisors generate buy, sell, exit, and trailing-stop or take-profit actions from standard or custom indicators. Users can configure explicit indicators in input groups or…

Technical indicatorsExecution
OctoBot

The article explains how an OctoBot user can subscribe to a community strategy, import its profile, and configure a bot to follow the strategy’s trading signals. Followers receive signals when the source bot creates or cancels orders, and their order amounts…

CryptoExecutionRisk managementSpot markets
ProRealCode

This document adapts a three-day high-low method to one-minute bars on the US Tech 100. It enters long when price is above a 200-bar moving average but below a 5-bar average, while the highs and lows of three consecutive bars each decline relative to the…

Technical indicatorsUS marketsTrend followingRisk management
Hyperliquid docs

The document explains two fee mechanisms for trading on Hyperliquid: gossip priority for receiving network data and order priority for sending eligible orders. Gossip priority uses recurring Dutch auctions for IP slots; winning slots can improve peer…

CryptoExecutionMarket microstructureHigh-frequency trading
MQL5 code base

The document describes a trade-management library for positions that have already been opened. It can move stops to break-even after a profit threshold, trail stops, partially close positions, and add missing stops or targets. Triggers can use multiples of…

Risk managementPosition sizingExecution
Hummingbot docs

This connector guide explains how Hummingbot connects to Hyperliquid's central limit order book for spot and perpetual markets. Both connectors use WebSocket connections and support limit, maker-limit, and market orders; the perpetual connector supports…

CryptoSpot marketsPerpetual futuresExecution
OctoBot

This guide explains how OctoBot users can subscribe to a community strategy, import its profile, and have their bot follow the strategy’s trading activity. The imported setup uses remote trading signals: it sends a signal when the strategy creates or cancels…

CryptoExecutionMarket microstructure
FMZ forum

The example outlines a periodic rebalancing strategy for a portfolio held across exchange markets. It tracks each asset’s quantity and estimated value, compares that value with a target share of total portfolio value, and places a buy or sell when holdings…

CryptoPortfolio constructionPosition sizingExecution
vn.py

This guide describes an execution module that runs algorithms in a separate process, lets users configure and monitor orders, and supports manual order routing across multiple accounts. Its five examples illustrate different execution behaviors: TWAP divides…

ExecutionMarket microstructureFuturesHigh-frequency trading
BigQuant

The document shows a workflow for calculating daily industry-level average price-to-earnings ratios for Chinese stocks. It queries industry membership and valuation data, groups constituents by date and industry, filters valuation records to each group,…

EquitiesChina marketsStatisticsExecution
SuperMind

This document outlines a MetaTrader 4 Expert Advisor template that retrieves economic calendar events without using a DLL. It describes a basic news-state signal: the EA indicates whether an event falls within a configurable window before or after its…

Event-drivenForexExecution
MQL5 code base

This document describes an Expert Advisor that trades when the TriXCandle indicator changes candle color. It generates a signal after a bar closes, so the decision is based on a completed candle rather than an intrabar color change. The advisor depends on a…

ForexTechnical indicatorsBacktestingExecution
Hummingbot docs

The document describes a cross-exchange market-making strategy that posts limit orders on a less liquid maker market and hedges filled orders on a more liquid taker market. Maker prices are intended to leave at least a configured minimum profitability…

CryptoMarket makingExecutionRisk management
MQL5 code base

This document explains that a trading terminal can add quote delay beyond the network ping to the trade server. Its indicator estimates this internal lag in milliseconds by comparing the timestamp gap between successive ticks with elapsed time measured…

ExecutionMarket microstructureHigh-frequency trading
MQL5 code base

The document describes a script for placing buy or sell market orders and buy or sell limit and stop orders. It lets the user specify stop loss and take profit distances in pips, avoiding the need to calculate decimal price adjustments manually. Slippage and…

ExecutionRisk managementPosition sizing
NautilusTrader

This example configures a built-in execution-testing strategy for an ETH perpetual contract on Hyperliquid mainnet. At startup, it can open a position with an immediate-or-cancel order, then maintain post-only limit orders on both sides of the book. It…

CryptoPerpetual futuresExecutionMarket microstructure
vn.py

This operational guide explains how to route selected VeighNa Elite Trader logs to a DingTalk group through a custom chat robot. The setup requires creating the robot, enabling signed requests, and entering its token and signing secret in the platform’s…

ExecutionRisk management