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

1,116 documents

Quant Q&A

The answer clarifies that NASDAQ ITCH is itself a form of tick data, rather than a separate alternative to tick data. ITCH messages require the user to reconstruct the limit order book in order to track the best bid and ask for each stock, a process…

Market microstructureEquitiesHigh-frequency trading
Quant Q&A

The document frames a numerical problem from quantitative finance: differentiating a discrete sum with respect to a continuous upper limit to estimate first- and second-order sensitivities. It gives an exponentially decaying summand with a fractional-power…

OptionsDerivatives pricingStatisticsHigh-frequency trading
Quant Q&A

The document asks how a market maker might assign monetary value to an order resting at a particular price level and queue position, using BTC-USD as an example. It offers no valuation formula or empirical method. The response says that pricing queue…

Market makingHigh-frequency tradingMarket microstructureExecution
Quant Q&A

The discussion explains why red-black trees are often proposed for limit order book price levels and why they are not universally best for production trading. They provide worst-case logarithmic insertion and deletion, which can help when price levels are…

Market microstructureHigh-frequency tradingExecutionStatistics
Quant Q&A

The document asks for research on tick and quote filtering methods with few tunable parameters. Its answer proposes a short set of basic validity checks: reject quotes where the bid is at or above the ask, flag trades printed well outside the quoted spread,…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document explains that unmatched buy and sell interest is organized in an order book. Level 1 quotes show the best bid and ask alongside completed trades, while Level 2 quotes expose additional price levels and their orders. A trader can generally view…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document addresses how to store order book states reconstructed by replaying add, cancel, and trade messages. Saving a full serialized state after every message can consume substantial disk space, especially when many consecutive states are similar. The…

Market microstructureHigh-frequency tradingBacktesting
Quant Q&A

The document describes a data-cleaning approach for incorporating overnight prices into high-frequency stock-index data. The example method first stores the median overnight price as an observation at 23:00 on the day trading began, then changes that…

EquitiesHigh-frequency tradingStatistics
Quant Q&A

The document explains that the programming language used to develop a trading strategy does not have to match the language used to communicate with a broker. It describes a common architecture in which analysis is performed in one language and orders or…

ExecutionHigh-frequency trading
Quant Q&A

This discussion explains why tick-to-trade latency depends on the full market-data and order-routing path, not just the speed of strategy code. Protocol choices, network distance, operating-system and kernel processing, packet parsing, and order transmission…

High-frequency tradingExecutionMarket microstructure
Quant Q&A

The document discusses a high-frequency machine-learning target designed to distinguish price changes large enough to overcome transaction costs from smaller mid-price movements. A rise in the mid-price alone may still lose money if a trader buys at the ask…

High-frequency tradingMachine learningMarket microstructureExecution
Quant Q&A

The document explains, at a simplified level, how an exchange may process market orders when buy and sell orders arrive close together. In the described model, market orders execute against resting limit orders on the opposite side of the book; market orders…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document explains why equity orders do not always experience simple time priority and describes several sources of execution differences. Some venues use matching rules that depart from standard price-time priority, such as broker priority or parity…

EquitiesExecutionMarket microstructureHigh-frequency trading
Quant Q&A

The discussion considers whether high frequency trading contributed to the sharp market moves of August 2015. One cited analysis of participant data found that the share of high frequency traders in the best bid and offer remained broadly stable during…

High-frequency tradingMarket makingMarket microstructureVolatility
Quant Q&A

The document defines a trade markout as the difference between a current trading price and a future reference price, often a midpoint or a more refined estimate of fair value. The future observation is taken after a chosen horizon, such as a number of…

High-frequency tradingMarket microstructureExecution
Quant Q&A

The document considers how to estimate high-frequency trading activity for an individual security in near real time when trader identities are unavailable. Suggested proxies use order-book behavior: count quote cancellations to detect elevated order churn,…

High-frequency tradingMarket microstructureStatistics
Quant Q&A

The discussion surveys ways to estimate or forecast volatility from high-frequency market data. It points to realized volatility research based on tick observations and notes that high-low data can offer an alternative when using every tick is impractical. A…

VolatilityHigh-frequency tradingStatisticsMarket microstructure
Quant Q&A

The document considers the computational cost of delta-gamma value-at-risk when a portfolio has many risk factors. A full cross-gamma matrix can be large, making the calculation appear comparable in difficulty to simulation methods. The question asks whether…

Risk managementDerivatives pricingVolatilityHigh-frequency trading
Quant Q&A

The note explains how to simulate which order arrives next in an order book when each order type has an arrival rate. If order arrival times are independent exponential random variables, the probability that a particular order is first equals its rate…

Market microstructureStatisticsHigh-frequency tradingBacktesting
Quant Q&A

The document discusses domain-specific ways to validate an order book reconstructed from NASDAQ ITCH messages. It recommends canned scenarios that exercise basic book behavior and edge cases, including checking that an execution message reports the trade…

EquitiesMarket microstructureHigh-frequency trading
Quant Q&A

The note addresses whether a trader can tell, from a decrease in displayed depth without a trade, if cancellations occurred ahead of or behind their order in an order-based limit order book. With aggregate depth data alone, the answer is to estimate the…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document points readers seeking an open source liquidity seeking algorithm toward research on splitting orders across liquidity pools with a stochastic algorithm. It presents this paper as a way to learn the theoretical mechanics of liquidity seeking. It…

ExecutionMarket microstructureHigh-frequency trading
Quant Q&A

The document considers how low transaction costs can be for high-frequency trading, where small price movements make fees consequential. Its response says the answer depends on what counts as a fee, including whether regulatory charges are included alongside…

High-frequency tradingExecutionMarket microstructureBacktesting
Quant Q&A

The document considers how to store intraday tick data and produce candles efficiently on very limited hardware. The original approach stores tick records in MySQL, adds indexed time buckets, and computes open, high, low, close, and interval boundaries…

High-frequency tradingMarket microstructureExecution