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
Quantpedia
86 documents
TqSdk
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 document explains why a market-making algorithm may keep orders at several prices on each side of the book. Competition pushes market makers to narrow their spreads to attract more trades, which can reduce the margin earned per trade. Orders at wider…

Market makingMarket microstructureExecutionRisk management
Quant Q&A

The discussion concerns locating DAX index and constituent data through Alpha Vantage. Answers give several possible symbol conventions: the DAX index itself or an index ticker, exchange suffixes for European listings, and a suggested search feature in a…

EquitiesUS marketsExecution
Quant Q&A

A trade at the quoted bid does not, by itself, reveal the market maker’s complete transaction history or prove that the maker bought at the ask and sold at the bid. The answer explains that market-making rules differ across markets and that a dealer may hold…

Market makingMarket microstructureExecution
Quant Q&A

The document distinguishes dark pools that form prices internally from pools that import prices from visible markets. Internally price-forming pools resemble hidden limit order books and may execute at the best bid or ask when resting orders permit. The more…

EquitiesMarket microstructureExecution
Quant Q&A

The document discusses how to infer which participants may be market makers in an options order book. Visible traits such as quoting at the best prices, balanced bid and offer size, repricing with the underlying, or using non-round ticks can offer clues, but…

OptionsMarket makingMarket microstructureExecution
Quant Q&A

The document compares two R backtesting options: Quantstrat, which works with related portfolio and financial-instrument packages, and the Systematic Investor Toolbox (SIT). It does not provide a formal benchmark; instead, it collects user impressions about…

BacktestingPortfolio constructionPosition sizingExecution
Quant Q&A

The document asks whether historical evidence can show how profitable technical analysis is in practice. It calls for evaluation across multiple years and market conditions, with returns and loss sizes considered rather than signal hit rates alone. It also…

Technical indicatorsBacktestingExecutionRisk management
Quant Q&A

A stock’s reported high trade price can exceed a resting sell limit price even though that particular order receives no execution. The explanation gives two market mechanics that can account for this apparent contradiction. First, some large trades may be…

EquitiesExecutionMarket microstructure
Quant Q&A

The document asks why the tick test is used to infer whether trades are buyer or seller initiated. The rule labels a trade by comparing its price with the previous different trade price: an uptick suggests a buy, while a downtick suggests a sell. The…

Market microstructureExecutionHigh-frequency tradingStatistics
Quant Q&A

The document asks how to connect models written in R to an Interactive Brokers account for live trading. It considers whether the trader must write a C or C++ interface, whether an R-only route is available, and whether the IBrokers package remains usable.…

ExecutionHigh-frequency tradingMarket microstructure
Quant Q&A

The document addresses a mismatch between a model trained on the FTSE index and the price movements of tradeable futures. The suggested instrument is an exchange-traded fund that tracks the FTSE 100. An ETF provides a way to trade exposure tied to the index,…

EquitiesUS marketsExecution
Quant Q&A

The document compares field-programmable gate arrays with CPUs and other accelerators in trading systems. Its central distinction is that FPGAs can run many simple, repeated operations in parallel, making them suitable for low-latency feed parsing, data…

High-frequency tradingExecutionMarket microstructure
Quant Q&A

The document concerns retrieving current positions through the Interactive Brokers API. The questioner is unsure how to use the position request method because they cannot identify an associated event handler. The answer points to IBridgePy, an open-source…

Execution
Quant Q&A

The example explains how a marketable limit buy interacts with resting asks at different prices. A buy limit specifies the maximum price the buyer will pay per unit, while matching proceeds against available sell orders from the lowest price upward. The…

Market microstructureExecutionCrypto
Quant Q&A

The document raises a data-quality question about using hourly OHLC prices for a cryptocurrency in strategy research. Its supplied dataset carries more decimal places than the values displayed by a chart, and the author asks whether to round the historical…

CryptoBacktestingExecution
Quant Q&A

The document discusses practical differences between trading on smaller, less liquid exchanges and larger markets. It highlights wider slippage and potentially greater market impact, fewer liquid securities and trading opportunities, limited derivative…

EquitiesExecutionMarket microstructureVolatility
Quant Q&A

The document describes a practical way to assess concentration risk in rates positions when market-wide trading volumes are hard to observe. Start by estimating likely market volumes from internal activity and broker input, then examine how hypothetical…

Fixed incomeRisk managementExecutionMarket microstructure
Quant Q&A

The discussion compares ways for a Europe-based high-frequency trader to obtain real-time S&P 500 E-mini futures prices. Responses distinguish retail data services from more expensive institutional arrangements that offer market data and access to points of…

FuturesHigh-frequency tradingMarket microstructureExecution
Quant Q&A

The document distinguishes quantitative research from production execution when choosing programming languages. It presents R and Python as suitable environments for research and alpha-model development, while noting that a complete trading system must also…

ExecutionHigh-frequency tradingMachine learning
Quant Q&A

The document outlines architectural decisions for building a customizable Python backtesting engine. It highlights market-data storage and serialization, memory limits, handling unstructured feeds, durable output storage, and access to prior run results. It…

BacktestingExecutionMarket microstructure
Quant Q&A

The discussion surveys ways to estimate intraday patterns in volatility, volume, bid–ask spreads, order activity, and correlations. For level shifts, it mentions regression with time indicators and a Kalman filter with a changing slope. For spreads, it…

StatisticsVolatilityMarket microstructureExecution
Quant Q&A

The document compares storage approaches for real-time and historical market data, focusing on column-oriented databases, row stores, in-memory arrays, flat files, and time-series systems. Column stores can speed analytical reads by scanning selected columns…

Market microstructureExecutionHigh-frequency tradingBacktesting
Quant Q&A

The document discusses ways to reduce the time needed for repeated strategy backtests. It suggests identifying the data the strategy actually uses and maintaining a buffer of relevant observations as new events arrive. For computationally intensive logic, it…

BacktestingExecutionHigh-frequency trading
Quant Q&A

The document asks how to replace close prices with bid and ask prices in a VectorBT signal backtest. Using separate bid and ask observations can represent trade-side prices more realistically than a single close, but the answer says that a convenient…

BacktestingExecutionMarket microstructure