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
WonderTrader
14 documents
Alphalens
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

MQL5 code base

This indicator colors candlesticks according to the Bill Williams method and generates alerts when it detects a trend change. Its available notification options include sound alerts, email, and push messages to mobile devices. Inputs control which bar is…

Technical indicatorsTrend followingExecution
MQL5 code base

This document presents a basic automated trading example using the Commodity Channel Index (CCI) calculated from typical price. A buy signal occurs when CCI moves upward from below one threshold to above a nearby lower threshold; a sell signal uses the…

Technical indicatorsForexRisk managementExecution
SuperMind

This stock selection rule combines three daily conditions: price range above a stated threshold, turnover between stated bounds, and a reversal pattern. The intended effect is to find active stocks with some price movement and a possible short-term change in…

EquitiesTechnical indicatorsVolatilityExecution
FMZ guides

This guide groups common causes of failures in live trading strategies. It covers syntax and runtime errors, excessive memory use, unmanaged asynchronous requests, deep recursion, and errors returned by exchange interfaces. A recurring practical lesson is to…

ExecutionRisk management
FMZ forum

The post describes a trader rewriting a strategy from a simple domain language into JavaScript and encountering execution-state problems with limit orders. The trader asks whether the platform prices limit orders from the latest close or the best bid and…

ExecutionMarket microstructurePosition sizing
NautilusTrader

This example configures a built-in execution-testing strategy for a Polymarket instrument. It connects live data and execution clients, subscribes to quotes and trades, and opens a position using an immediate-or-cancel market order sized in quote currency.…

ExecutionMarket microstructureRisk management
NautilusTrader

This reference explains an order-trigger event in a trading system. A venue, simulated matching engine, or reconciliation process can report that a conditional order has reached its trigger. The event applies to order types such as stop limit, limit if…

ExecutionMarket microstructureRisk management
BigQuant

This forum question compares portfolio holding ratios under two execution schedules: buying with one TWAP setting and selling with another, versus buying at the open and selling at the close. It provides a trading function for a ranked stock strategy that…

EquitiesMachine learningPosition sizingExecution
BigQuant

The document answers two platform questions about order sizing and simulated signal timing. It explains that default AI strategy backtests may calculate share quantities from a portfolio percentage, which can produce quantities that do not meet the live…

BacktestingPosition sizingExecution
SuperMind

This Expert Advisor uses moving average and Envelopes indicators to place pending buy and sell orders. It operates only when a new bar appears and limits order placement to a configured time window. The system can maintain up to three pending orders in each…

ForexGrid tradingTechnical indicatorsExecution
MQL5 code base

This description covers a MetaTrader 5 expert advisor for managing trades from a chart. Traders can drag entry, stop-loss, and take-profit lines, with changes updating the setup. It supports market orders and pending orders, and offers fixed-point or…

ExecutionRisk managementPosition sizingVolatility
FMZ forum

This document presents a Python framework for applying MACD signals across multiple futures contracts. For each contract, it retrieves bar data, requires a minimum history, and compares the MACD difference and signal lines on the penultimate bar so that the…

FuturesTechnical indicatorsMomentumExecution
MQL5 code base

This chart indicator groups several Inner Circle Trader concepts into optional display modules. It identifies market structure shifts and breaks of structure from swing points, marks fair value gaps and implied gaps, and locates order blocks from candles…

Technical indicatorsMarket microstructureVolatilityExecution
MQL5 code base

This indicator guide explains volume profile as a histogram of trading activity across price levels within a chosen time range. Depending on the data available, it can count estimated trades or aggregate real volume, and it can display distribution modes,…

Technical indicatorsMarket microstructureStatisticsExecution
SuperMind

This proposed stock screen combines three signals: today’s increase in holdings must exceed 5%, institutional direction must be positive, and the 9:25 price gain must be below 6%. The accompanying explanation interprets the first two as signs of buying…

EquitiesChina marketsSentimentExecution
FMZ forum

This technical note demonstrates exchange operations for BitMEX perpetual contracts through FMZ's trading interface. Its example selects the XBTUSD contract, retrieves ticker, account, and position data, submits market and limit orders, checks order status,…

CryptoFuturesExecutionMarket microstructure
FMZ forum

The article explains grid trading as a rule-based method that places repeated buys as price falls and sells as it rises within a chosen range. Traders set grid spacing, boundaries, and position sizes, aiming to collect gains from repeated price oscillations…

Grid tradingMean reversionPosition sizingExecution
Lumibot

This example shows how a Lumibot strategy configured for continuous crypto-market hours can submit market and limit orders, request recent price bars, and inspect price data. It demonstrates calculating RSI, MACD, and an exponential moving average from…

CryptoExecutionTechnical indicatorsRisk management
NautilusTrader

This strategy uses a fast and a slow exponential moving average calculated from bars for a configured instrument. After both indicators are initialized, it takes a long position when the fast average is at or above the slow average and a short position when…

ForexTrend followingTechnical indicatorsExecution
FMZ forum

This document presents a polling monitor for checking whether exchange account and ticker endpoints respond. For each configured exchange, it requests a ticker and account snapshot, records whether each result is present, measures elapsed time, and displays…

CryptoExecutionMarket microstructure
FMZ forum

The article describes a simple crypto triangular arbitrage method: compare the outcome of converting between three currencies in different orders, then take a route that returns more of the starting asset after trading costs. It illustrates the idea with…

CryptoArbitrageExecutionMarket microstructure
Amberdata research

This article describes infrastructure choices for crypto trading systems where market data and execution speed matter. It recommends persistent WebSocket connections for time-sensitive market data and order flow, while reserving REST interfaces for less…

CryptoHigh-frequency tradingExecutionMarket microstructure
Lumibot

This LumiBot example uses a team of agents to build a basket from leveraged long and inverse ETFs, with SHV as a cash-like fallback. Separate agents assess growth, inflation and rates, and debt and liquidity. A fourth challenges their conclusions, and a…

EquitiesMulti-assetRisk managementPortfolio construction
SuperMind

This example describes an automated multi-agent strategy that selects among leveraged long and inverse ETFs, with a short-term Treasury fund as a cash-like fallback. Specialist agents assess growth, inflation and rates, and debt and liquidity using…

EquitiesMulti-assetRisk managementPortfolio construction