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
Quantopian lectures
45 documents
Binance API docs
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

MQL5 code base

This Expert Advisor trades on every tick within the current bar and allows only one open position at a time, making it suitable for either hedging or netting account modes. A sell signal occurs when the main Stochastic line on the current bar is below its…

ForexTechnical indicatorsExecutionRisk management
BigQuant

This short platform discussion addresses why a strategy may appear to buy and sell on the same day despite China’s T+1 stock-trading convention. The suggested code adjustment is to make the sell conditions refer to currently held instruments rather than the…

China marketsEquitiesExecutionBacktesting
BigQuant

The document summarizes research on how high-frequency trading in equities affects liquidity in options on those stocks. The study combines Nasdaq HFT records with options transaction data and other market data for 103 stocks, then uses instrumental-variable…

EquitiesOptionsHigh-frequency tradingMarket microstructure
MQL5 code base

The document describes a MetaTrader 5 expert-advisor utility for retrieving an active trade by its position in the recency order. It defines active trades as market orders and excludes pending orders. An index of zero selects the latest active trade;…

ExecutionForex
OctoBot

This guide explains how to configure OctoBot’s GPT interface and evaluator to use a language model for trading-related predictions. It covers adding an API credential for the hosted service, setting a custom LLM base address for another compatible server,…

Machine learningExecutionRisk management
MQL5 code base

The document describes a trading tool that opens a buy position using a specified cash amount rather than a user-entered lot quantity. The tool calculates the corresponding lot size and submits the trade. Its fixed deal amount setting controls the intended…

Position sizingRisk managementExecution
MQL5 code base

The iStochKomposter higher-timeframe signal indicator displays the direction or signal generated by a stochastic-based indicator for a selected bar. It uses configurable stochastic periods, smoothing, price field, and overbought and oversold levels, with a…

Technical indicatorsForexMomentumExecution
ProRealCode

The Hyperfork Matrix extends Andrews Pitchfork analysis from three swing pivots. It plots a median line and parallel tines, with Original, Schiff, and Modified Schiff variants that differ in how the anchor is positioned. Pivots can be detected automatically…

Technical indicatorsTrend followingBreakoutExecution
Hummingbot docs

This developer guide explains how an exchange connector tracks orders and reports their state changes to trading strategies. A buy or sell request returns a client-side identifier promptly while submission proceeds asynchronously. Tracking should begin…

ExecutionMarket microstructureSpot marketsPerpetual futures
vn.py community

This Chinese-language forum thread raises an implementation issue in quantitative trading software: a contract can be dynamically subscribed to through the engine and strategy code, yet its market data may not arrive at the strategy. The original poster says…

ExecutionMarket microstructure
Hummingbot docs

This introductory guide explains how an exchange order book records bids and asks and how its matching engine fills orders. It connects liquidity and order-book depth to the price impact of market orders, defines the bid-ask spread and mid price, and…

CryptoMarket makingMarket microstructureExecution
NautilusTrader

This reference explains the order-pending-update event used after a system sends a modify-order request. The execution engine applies the request to the order, updates its cache, and publishes the event while waiting for the venue to acknowledge the change.…

ExecutionMarket microstructure
Binance API docs

This document describes Binance’s SBE WebSocket feeds for spot market data, including trades, best bid and ask updates, incremental depth changes, and partial book snapshots. It explains how to connect to one or multiple streams, authenticate with an API…

CryptoMarket microstructureExecution
OctoBot

This introductory post explains cryptocurrency trading and presents general reasons a trader might use an automated trading bot. It describes bots as tools that can execute preset rules continuously, which may reduce the influence of fear or greed and free a…

CryptoExecutionRisk management
BigQuant

This short platform discussion addresses whether a backtest can sell existing holdings at the open and use the proceeds to buy other stocks at that same open. The questioner reports that setting both order prices to the open did not make sale proceeds…

EquitiesBacktestingExecution
MQL5 code base

This document describes an expert advisor designed to monitor a trading account against daily loss limits. It uses a two-stage response: at a warning threshold, it partially closes the worst-performing open position to reduce exposure; at the hard daily…

Risk managementPosition sizingExecution
MQL5 code base

This expert advisor description specifies four simple moving averages: periods 1 and 8 on both H1 and H4 timeframes. It does not explain how the readings generate entry or exit signals, so the strategy rules cannot be reconstructed from the description…

ForexTechnical indicatorsRisk managementPosition sizing
MQL5 code base

The document describes a MetaTrader 5 monitoring indicator that continuously displays the current spread and tracks minimum, maximum, and average spread values. A history graph can help users spot sudden increases and periods of unstable trading costs.…

ExecutionMarket microstructureRisk management
Amberdata research

This case study describes a hedge fund seeking to add digital asset strategies and the data infrastructure needed to research and trade them. Its requirements included real-time and historical market data, high-volume feeds for algorithm development and…

CryptoOn-chain dataHigh-frequency tradingBacktesting
BigQuant

The post asks how to adapt a portfolio-selling routine so that, when the equity allocation exceeds 60% of total portfolio value, the excess exposure is sold from the lowest-ranked holdings. The supplied routine builds a set of currently held securities,…

EquitiesPortfolio constructionPosition sizingExecution
NautilusTrader

This example demonstrates borrow conflicts that can occur when Python actor callbacks reenter signal operations in a backtesting engine. A subscribing actor subscribes during startup and, in the signal scenario, publishes a nested signal from its callback…

BacktestingExecution
OctoBot

This explainer describes exchange API keys as credentials that let trading software interact with a cryptocurrency account without using the account email address or password. The stated bot functions include reading portfolio balances and retrieving,…

CryptoExecutionRisk managementMarket microstructure
OctoBot

This guide surveys ten cryptocurrency trading bot platforms, describing their strategy types, free-plan restrictions, and usability. It introduces bots as software that connects to exchanges and executes predefined rules, then compares offerings that include…

CryptoGrid tradingMarket makingArbitrage
MQL5 code base

This document introduces a series on building a multi-currency Expert Advisor that coordinates several trading strategies in one system. The design aims to make parallel strategies easier to manage on a shared trading account. The articles describe a…

Multi-assetExecutionBacktesting