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 answers whether Python trading libraries can support forex strategies. It describes three routes: combine plotting tools with a broker's REST API, use a backtesting framework that accepts OHLC data regardless of instrument, or run Zipline…

ForexBacktestingExecution
Quant Q&A

The document raises a market design question: could an exchange collect orders during fixed intervals and match them together at each interval’s end, instead of processing each incoming order immediately? It contrasts this proposed batch process with…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document discusses how bid-ask spreads affect a minimum-variance portfolio of stock and options. It argues that transaction costs can shift the efficient frontier and change the optimal portfolio. For small trades, it offers an approximation based on the…

Portfolio constructionExecutionRisk managementOptions
Quant Q&A

The document explains the options phrase “buy back a short strike” as purchasing an option previously sold, thereby closing that short position. The example describes placing an order to buy it back for five cents per contract, with a good-till-canceled…

OptionsRisk managementExecution
Quant Q&A

The document describes the gap risk a broker can face when it immediately hedges a customer's leveraged spot FX trade with a liquidity provider. If the market jumps through a liquidation level, the customer may incur a negative balance that cannot be…

ForexSpot marketsRisk managementExecution
Quant Q&A

The document considers how to recover a limit order book after a process or machine failure. The proposed approach in the question is to save the full book state periodically, while the reply focuses on persisting the event stream so the system can rebuild…

Market microstructureExecutionHigh-frequency tradingRisk management
Quant Q&A

The document explains how to design a normalized market data feed for algorithms consuming data from multiple providers. It recommends working backward from downstream strategy and operational needs: identify which fields applications actually use, then…

Market microstructureExecution
Quant Q&A

The document considers whether minute-level data for large NYSE stocks can reveal if a price move came from one participant or from many smaller orders. Its central lesson is that reliable attribution is difficult because a large trader may conceal activity…

EquitiesMarket microstructureExecution
Quant Q&A

The document clarifies whether market makers must trade when they are the only participants showing orders. It distinguishes designated market makers, whose exchange rules may require them to maintain two-sided quotes within a specified width for a certain…

Market makingMarket microstructureExecution
Quant Q&A

The document explains how to estimate the units of a EUR/JPY spot short when the account balance is denominated in USD. The key step is to convert the available USD balance into the base currency, EUR, using the EUR/USD exchange rate. In the example,…

ForexPosition sizingExecution
Quant Q&A

The document describes how a trading system can recover market-data messages lost while receiving a low-latency multicast feed. Because multicast commonly uses UDP, packets can be dropped, leaving a client’s order book incomplete unless it detects and…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The document argues that optimal trade size is not determined by a price forecast alone, even when leverage is treated as unlimited. Position changes should follow from an objective that balances expected alpha against portfolio risk and trading costs,…

Position sizingPortfolio constructionExecutionMarket microstructure
Quant Q&A

The document explains how to represent and calculate returns for an equal-dollar long-short portfolio. Dollar neutrality means the current market values of the long and short sides have equal magnitude; a short position still has a market value even though…

EquitiesPortfolio constructionBacktestingExecution
Quant Q&A

The document explains how to assess an arbitrage across venues with different percentage-based and fixed transaction fees. Its suggested method is to adjust each venue’s bid and offer prices for the variable fee, evaluate the resulting arbitrage as usual,…

ArbitrageExecutionMarket microstructure
Quant Q&A

The document asks for an empirical market impact example and methods for estimating parametric impact functions. Its answer defines market impact in terms of how metaorder flow pressure affects price dynamics. Metaorders are large parent orders, commonly…

Market microstructureExecutionStatistics
Quant Q&A

The document asks whether backtests of intraday strategies that start and end each day flat understate performance because a trader could stop trading after recognizing a poor market day. It notes that backtest results depend on assumptions about transaction…

BacktestingExecutionRisk managementEquities
Quant Q&A

The document surveys Python tools for strategy research, backtesting, portfolio analysis, and live trading. It describes backtrader in the most detail: it supports event-style and vectorized runs, multiple assets and strategies, varied data sources and…

BacktestingPortfolio constructionExecutionTechnical indicators
Quant Q&A

The document explains why cumulative delta readings in the E-mini S&P 500 futures contract (ES) can differ sharply from those in its micro contract (MES). Cumulative delta records executed buying versus selling volume in a particular contract. Although the…

FuturesMarket microstructureExecution
Quant Q&A

The document considers whether a fault at one exchange could create inconsistent trade records or apparent duplicate share sales, then discusses how exchanges and their supporting systems seek to preserve transaction integrity. The response uses the database…

Market microstructureExecutionHigh-frequency tradingRisk management
Quant Q&A

The document explores how to backtest an Avellaneda–Stoikov style market-making strategy using historical limit order book data. The question describes estimating order-arrival intensities from synchronized order and book events, then asks how simulated…

Market makingHigh-frequency tradingMarket microstructureBacktesting
Quant Q&A

The document poses an instrument-selection problem: how to hedge an interest-rate differential sensitivity produced by a statistical model of spot FX returns on an intraday basis. The author seeks low trading costs and near-continuous availability, with an…

ForexFuturesFixed incomeRisk management
Quant Q&A

The document discusses when FX spot value dates roll and whether NZD pairs follow a different schedule. It presents competing explanations: one answer says NZD pairs roll at the Auckland market’s opening while most other pairs use the New York close; another…

ForexMarket microstructureExecution
Quant Q&A

The document examines whether random trading has zero expected value before transaction costs, focusing on passive limit orders. If an uninformed trader posts bids and offers without managing execution, informed counterparties may be more likely to trade…

Market microstructureExecutionRisk management
Quant Q&A

The document introduces the information available in a visible order book: current prices, displayed quantities, and the structure of supply and demand. Its question asks how that information could support arbitrage or manipulation, but the accepted answer…

Market microstructureExecutionArbitrageMarket making