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

Quant Q&A

The document discusses the Corwin–Schultz estimator, which infers bid-ask spreads from high and low prices over consecutive days. Its derivation relies on a geometric Brownian motion assumption and a relationship between one-day and two-day variance,…

Market microstructureStatisticsHigh-frequency tradingExecution
Quant Q&A

The question concerns whether a short-horizon foreign exchange forecasting model should use bid prices, ask prices, or a blended series, and how to evaluate trades in a backtest. The response distinguishes measuring market movement from simulating executable…

ForexBacktestingExecutionMarket microstructure
Quant Q&A

The discussion explains how market makers provide liquidity and manage the risks created by their quotes being executed. Their strategies consider whether incoming orders may contain information about future price moves, and they adjust quotes to control an…

Market makingMarket microstructureExecutionHigh-frequency trading
Quant Q&A

The document considers software options for building a dynamic financial charting tool centered on candlestick plots. The person asking prefers Python because their programming experience is limited and would like interaction features such as zooming and…

Technical indicatorsEquitiesExecution
Quant Q&A

The document considers whether countries or exchanges have banned algorithmic trading and whether such cases could support a comparison of markets. The responses report no known current exchange that operates only through traditional pit trading, making a…

Market microstructureExecutionStatistics
Quant Q&A

The document explains why predictive accuracy alone does not establish that a trading strategy will earn money. Forecasts and backtests can omit execution costs, commissions, order-book depth, bid and ask prices, and the effect of the strategy’s own orders…

ExecutionMarket microstructureBacktestingRisk management
Quant Q&A

The document clarifies that VWAP serves both as a benchmark and as an execution tactic. As a benchmark, it is the day’s volume-weighted average traded price, with certain special trades excluded. As a tactic, a broker’s algorithm aims to match its share of…

ExecutionEquitiesMarket microstructurePortfolio construction
Quant Q&A

The document compares several definitions of high-frequency trading and explains why trades per second alone do not settle the question. Some answers focus on very short holding periods or tick-level data, while another emphasizes latency-sensitive…

High-frequency tradingMarket microstructureExecutionMarket making
Quant Q&A

The document considers whether a developer with an existing FIX engine should implement a FAST protocol engine from scratch. The only answer advises against building a custom implementation, arguing that established commercial libraries have been tested and…

ExecutionHigh-frequency tradingMarket microstructure
Quant Q&A

The document discusses how an order and position management component should work in automated trading. Its central recommendation is to maintain an internal view of orders, fills, positions, and risk rather than relying entirely on a broker or exchange.…

ExecutionRisk managementMarket microstructure
Quant Q&A

The document considers whether a stock market maker can profitably quote on an exchange when inventory arrives from customer trades or another desk at an unpredictable rate and size. The response treats inventory changes as information for the pricing model:…

EquitiesMarket makingRisk managementExecution
Quant Q&A

The document collects public claims and opinions about Renaissance Technologies’ Medallion fund rather than establishing a definitive account of its trading strategy. Suggested techniques include algorithmic trading, information theory, hidden Markov models,…

Machine learningStatisticsHigh-frequency tradingExecution
Quant Q&A

The document describes a proposed research approach: define learning environments from market microstructure models with known solutions, then use reinforcement learning to see whether agents recover features of those equilibria. As an initial example, the…

Machine learningMarket microstructureExecutionPortfolio construction
Quant Q&A

The document discusses how to represent brokerage fees, bid-ask effects, and slippage when simulating daily stock trades without quote data. It argues that a single relative transaction-cost rate cannot be assumed realistic across all situations: costs vary…

EquitiesBacktestingExecutionMarket microstructure
Quant Q&A

The document discusses a worked example from research on price impact, where market sells consume bid depth and limit bid additions replenish it. The response interprets the sequence in ticks: selling 15 shares against depth of 5 removes three levels, while…

Market microstructureExecutionStatistics
Quant Q&A

The document considers how to use rapidly changing limit order book features, such as spread and bid-ask imbalance, to predict a future midprice. It suggests testing recent history or aggregation and emphasizes that useful inputs may include time of day,…

High-frequency tradingMarket microstructureMachine learningExecution
Quant Q&A

The document discusses whether traders can forecast future option prices directly, then outlines volatility-based approaches. It describes gamma trading as selling options when implied volatility is expected to exceed realized volatility, with delta hedging…

OptionsVolatilityDerivatives pricingExecution
Quant Q&A

The document explains the role of the underlying asset position in a variance swap replication strategy. A short variance swap can be hedged with a strip of options across strikes, often represented in practice by an at-the-money straddle together with…

OptionsVolatilityDerivatives pricingExecution
Quant Q&A

The document discusses how to estimate execution slippage for a strategy trading many stocks with orders that are small relative to average daily volume. One proposed starting point is a cross-sectional regression using bid-ask spread and order size relative…

EquitiesExecutionMarket microstructureBacktesting
Quant Q&A

The document discusses how much decimal precision trading and portfolio software may need for equity prices and share quantities. It explains that quoting increments depend on the product and venue, and that rules governing displayed quotes do not…

EquitiesExecutionMarket microstructureUS markets
Quant Q&A

The document considers how to infer whether a trade was buyer or seller initiated when a feed omits the aggressor-side field. A basic quote test labels trades at or above the best ask as buys and those at or below the best bid as sells, leaving trades inside…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document asks whether the size at the best bid and ask in a limit order book can be modeled to predict when the current top price level will disappear. It clarifies that quote entries have size, while volume refers to executed trades. One suggested…

Market microstructureExecutionStatistics
Quant Q&A

The document outlines three approaches to modeling limit order books. Zero-intelligence models represent event frequencies and order sizes with relatively simple distributions. Two-dimensional flow models track changes to the best bid and ask queues.…

Market microstructureStatisticsHigh-frequency tradingExecution