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

Quant Q&A

The discussion considers software requirements for currency arbitrage, including fast market-data updates, processing many combinations, exchange connectivity, account support, and algorithm scripting. The replies caution that FX markets are not generally…

ForexArbitrageExecutionMarket microstructure
Quant Q&A

The response addresses the difficulty of selling an out-of-the-money monthly call or put after its trading volume falls and its bid-ask spread widens. A theoretical price from Black-Scholes does not ensure that a buyer is available at that price, so a sell…

OptionsExecutionRisk managementDerivatives pricing
Quant Q&A

The document explains two roles for volume-weighted average price (VWAP). First, institutions can compare their completed buy and sell executions with a stock’s VWAP for the same date. Separating buys from sells provides an execution benchmark: average…

ExecutionMarket microstructureEquities
Quant Q&A

The document asks whether predicting limit order cancellations has academic or practical value, including for exchange surveillance, spoofing detection, and high-frequency trading. The response emphasizes that spoofing is difficult to define and prove: an…

FuturesMarket microstructureHigh-frequency tradingExecution
Quant Q&A

The document asks how to represent bracket orders in a Python backtester. A bracket consists of an entry order linked to child exit orders, typically a stop loss and a take profit, with one exit canceling the other after execution. The response recommends…

BacktestingExecutionRisk management
Quant Q&A

The document surveys software and approaches for examining limit order books over time. The requested capabilities include displaying bids and asks, switching between individual orders and aggregated price levels, tracking changes through time, replaying…

Market microstructureExecutionHigh-frequency tradingStatistics
Quant Q&A

The document addresses whether a trader keeps queue position after increasing the size of a resting limit order. Its example starts with a smaller order at the best bid and considers submitting an update when the desired size grows. The accepted response…

ExecutionMarket microstructure
Quant Q&A

The document considers an informed trader who observes an endowment and a correlated risky asset, trades against independent noise demand, and faces a market maker who prices from aggregate order flow. The trader's demand is intended both to exploit…

Market microstructureExecutionRisk managementDerivatives pricing
Quant Q&A

The discussion questions whether C is preferred over C++ for numerical optimization and offers several possible explanations. One answer argues that C is not generally favored for numerical optimization today, with continued use often reflecting legacy code…

Multi-assetExecution
Quant Q&A

The document surveys ways to estimate the price impact of large trades in liquid markets. A commonly used family relates impact per unit traded value to volatility and the trade’s share of volume during the execution interval, with an exponent between…

EquitiesExecutionMarket microstructureStatistics
Quant Q&A

The document compares simple price proxies for estimating short-term price movement. One proposal weights the best ask price by bid size and the best bid price by ask size; the last traded price is offered as another useful predictor. These measures are…

Market microstructureHigh-frequency tradingFixed incomeExecution
Quant Q&A

The document asks how to estimate execution-price deviations and slippage for stock strategies when only daily OHLCV data is available. The proposed starting point in the question relates the daily high-low range to trading volume, with a restriction on…

EquitiesExecutionBacktesting
Quant Q&A

The document outlines how to build an equity curve for a two-stock pair-trading backtest. It starts from entry and exit signals, assigns long and short portfolio weights, and estimates share quantities using initial capital and prices at entry. It then…

EquitiesPairs tradingBacktestingExecution
Quant Q&A

The document considers whether a trader who needs tight spreads should post non-marketable limit orders inside the quoted bid–ask spread instead of crossing it. It explains why the chance and timing of a fill are difficult to estimate in spot foreign…

ForexExecutionMarket microstructureBacktesting
Quant Q&A

The document discusses estimating intraday liquidity at price levels to guide execution, rather than relying only on a time-based volume profile such as the U-shaped pattern used by a VWAP schedule. It suggests combining liquidity signals with a decision…

ExecutionMarket microstructureMarket makingStatistics
Quant Q&A

The document discusses ways to detect hidden liquidity in a limit order book. One proposed signal is repeated trading at a best bid or ask while displayed size is replenished, or while the price repeatedly returns to the same level despite continuing buying…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document asks how to assign an overall buy or sell direction to a complex order containing several options and a stock leg, and how to recognize an identical order versus one with every leg reversed. Its central lesson is that a structure’s direction…

OptionsDerivatives pricingExecution
Quant Q&A

The document surveys strategies in which receiving market data or reaching an exchange sooner may affect execution. It describes latency arbitrage as a contest over speed, with examples including arbitrage across fragmented equity venues, triangular…

High-frequency tradingArbitrageMarket makingExecution
Quant Q&A

The document outlines a progression of methods for testing strategies that depend on timely execution, especially passive orders and cross-market hedging. For liquidity-taking strategies, top-of-book data may support conservative size assumptions that can…

Market microstructureExecutionBacktestingHigh-frequency trading
Quant Q&A

The document considers how to generate many Brownian bridge paths for multiple underlying assets in a Monte Carlo setting. The original routine advances through time steps and simulates one path at a time, which becomes slow when the number of simulations…

OptionsDerivatives pricingStatisticsExecution
Quant Q&A

Market makers stand ready to buy from sellers and sell to buyers, providing immediacy when natural counterparties are not available at the same time. They quote a bid, the price at which they will buy, and an ask, the price at which they will sell. The gap…

Market makingMarket microstructureExecution
Quant Q&A

The document explains what a currency pair position represents, why a newly opened trade can show a loss, and why three pair trades may not automatically leave an account flat. In a spot-market interpretation, buying a pair means acquiring the base currency…

ForexSpot marketsExecutionRisk management
Quant Q&A

Quote spam, also called quote stuffing or book colouring, refers to order activity that changes the visible order book without reflecting a genuine intention to trade the displayed quantity. Because participants use order-book depth and prices to assess…

High-frequency tradingMarket microstructureExecutionEquities
Quant Q&A

A portfolio long the EuroStoxx 50 total return index and short its futures appears to earn about 15% over ten years, exceeding the return of three-month Euribor. The discussion explains why this spread should not be treated as a risk-free arbitrage. A…

EquitiesFuturesArbitrageExecution