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

16,761 documents

Quant Q&A

The discussion collects possible sources for historical intraday market data when a terminal’s lookback limits are unsuitable. Suggestions include a tick history archive, specialist trade and quote vendors, downloadable minute interval data, exchange or…

EquitiesMarket microstructureBacktesting
Quant Q&A

The document describes a proposed local exchange for algorithms sharing a computer. The envisioned system would maintain virtual accounts, check available balances, route eligible orders through broker gateways, and match compatible orders internally. Such a…

BacktestingExecutionMarket microstructurePortfolio construction
Quant Q&A

The document considers whether a price crossing a moving average can avoid repeated trades during sideways, choppy conditions while still capturing sustained trends. It explains the underlying trade-off: trend-following signals tend to enter and exit late,…

Trend followingTechnical indicatorsBacktesting
Quant Q&A

This note considers the costs of buying SPY options near the market open and selling later in the day. It highlights explicit transaction charges and the bid-ask spread as separate drags on a trade. It also warns that option spreads may widen around the open…

OptionsExecutionMarket microstructureBacktesting
Quant Q&A

The document asks how a continuity correction for a discretely sampled diffusion’s minimum improves the weak convergence rate of a lookback option payoff. The approximation adjusts each simulated grid value by a term proportional to the local diffusion…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document asks how to evaluate a technical strategy across an entire stock portfolio using the Systematic Investor Toolbox in R. The example strategy enters when a lagged 50-day moving average exceeds a lagged 100-day moving average and the 25-day RSI is…

EquitiesBacktestingTechnical indicatorsPortfolio construction
Quant Q&A

The document raises a practical issue in valuing credit default swaps across many historical dates with QuantLib’s ISDA conventions. The author wants to calculate present value, points up front, or other measures for each date, using that date’s yield curve,…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document raises a distinction between calculating returns from weekly prices and converting daily returns into a weekly measure. For log returns, summing the daily returns across a week gives the same result as the log return computed from the week’s…

EquitiesStatisticsBacktesting
Quant Q&A

The discussion questions whether a Sharpe ratio can be estimated from many backtest runs, each covering a fixed span of trading days. The reply cautions that repeated simulations are not automatically equivalent to a historical backtest: simulated paths…

BacktestingStatisticsRisk management
Quant Q&A

The discussion asks how to optimize trading strategies using both Sharpe ratio and maximum drawdown, especially when drawdown must stay below a chosen limit. It suggests Sortino ratio as an alternative because it focuses on downside deviation, and presents…

StatisticsRisk managementBacktesting
Quant Q&A

The document asks whether signed net volume could predict asset performance in a way that resembles the information carried by returns. It distinguishes ordinary gross volume from net volume, defined as buyer-initiated volume minus seller-initiated volume.…

Market microstructureExecutionTechnical indicatorsBacktesting
Quant Q&A

The document addresses whether results from one historical period used out of sample should match results from another period used in sample after the split is reversed. Its answer is no: different periods need not produce matching estimates or performance,…

StatisticsBacktesting
Quant Q&A

The document examines a workflow that estimates a covariance matrix from stock log returns, extracts principal components, and then projects log prices onto those components. Its central concern is that price levels are nonstationary, so the covariance…

EquitiesStatisticsMachine learningFactor investing
Quant Q&A

This discussion shows how to implement upward and downward Bill Williams fractal indicators for use in R's quantstrat framework. The example identifies a local high or low by comparing a candidate bar with neighboring bars, then marks the detected pattern in…

Technical indicatorsBacktestingEquitiesBreakout
Quant Q&A

This discussion explains how to align indicators with tick-level backtests when the indicators are usually defined on daily data. For an indicator intended to use daily observations, one approach is to aggregate the ticks into daily closes, calculate the…

ForexTechnical indicatorsBacktestingMarket microstructure
Quant Q&A

The document frames a risk-management question: whether models can improve on Filtered Historical Simulation (FHS) when generating many realistic financial return paths. It describes a proposed classical workflow: select an ARMA-GARCH specification and lags,…

Risk managementBacktestingStatisticsMachine learning
Quant Q&A

The document discusses how to assess a cryptocurrency portfolio rebalancing strategy based on mean reversion, especially when frequent trading costs overwhelm attractive backtest results. Its example compares hourly and daily backtests under different fee…

CryptoMean reversionPortfolio constructionBacktesting
Quant Q&A

The document describes a forecasting workflow for Brent crude oil: transform prices into log returns, check stationarity, fit an ARMA-GARCH model, and obtain forecasts of conditional means and variances. The author reports that the forecasted conditional…

CommoditiesStatisticsVolatilityBacktesting
Quant Q&A

The document examines a method for estimating a 99.97% ten-day value at risk from a 99% one-day historical simulation based on 500 days of observations. It describes scaling the one-day figure by the ratio of normal-distribution quantiles for the two…

Risk managementStatisticsBacktesting
Quant Q&A

The document considers how to reduce the cost of downloading long historical price series by first screening symbols for sufficient trading history. The proposed shortcut checks a short window near the required lookback’s starting date; if a symbol traded…

BacktestingEquitiesStatistics
Quant Q&A

The document addresses why historical daily stock data from Google Finance and Yahoo Finance may contain different dates or values. It identifies several potential sources of disagreement: different underlying historical feeds, differences in how data are…

EquitiesStatisticsBacktesting
Quant Q&A

The document proposes a regression-based method for extending a discontinued three-month commercial paper rate beyond its final observation. The first step is to identify a basket of similar interest rates with overlapping historical data before and after…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document explains how a GARCH model represents returns and their time-varying conditional variance, addressing confusion about whether to fit the model to returns or squared returns. In the stated setup, returns equal a conditional mean plus a…

VolatilityStatisticsMachine learningBacktesting
Quant Q&A

The document asks whether a portfolio optimizer is useful when its in-sample variance is a better guide to test-period variance, even though its out-of-sample variance is higher than that of a Global Minimum Variance portfolio. The example contrasts the two…

Portfolio constructionRisk managementBacktestingStatistics