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 document discusses using proxy time series when a risk factor lacks enough historical observations for market risk measurement. It contrasts older Basel II guidance with the newer Fundamental Review of the Trading Book (FRTB), where insufficient real…

Risk managementStatisticsVolatilityBacktesting
Quant Q&A

The document describes a two-period portfolio comparison using historical returns. It estimates an in-sample efficient frontier from the first period’s empirical covariance matrix, generating portfolios across target returns. It then keeps those portfolio…

Portfolio constructionBacktestingStatisticsEquities
Quant Q&A

The document explains why historical OHLCV records for the same listed share can disagree across Google Finance and Yahoo Finance. Possible causes include distinct vendors and trading platforms, different aggregation rules, post-trade corrections,…

EquitiesStatisticsBacktesting
Quant Q&A

The document asks whether stock price paths can be simulated with different models while holding the initial price and historical mean and standard deviation fixed. It names geometric Brownian motion (GBM), Merton jump diffusion, and Heston stochastic…

EquitiesVolatilityRisk managementBacktesting
Quant Q&A

This discussion surveys Python approaches to portfolio construction, focusing on mean-variance and minimum-variance optimization. It points to convex optimization packages that can solve quadratic portfolio problems, with higher-level interfaces for…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document describes a one-expiry SPX implied-volatility calibration using the SSVI parameterization. The initial implementation produced implausible estimates when fitting market option prices, and the author also found that the fitting objective had…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document poses a research question about whether the choice of volatility model can predict Value at Risk backtest outcomes in advance. It asks whether a GARCH-based VaR forecast, for example, should be more likely than an ARCH or unconditional forecast…

Risk managementBacktestingStatistics
Quant Q&A

The discussion asks how to construct a discrete-time counterpart to a continuous diffusion whose state remains between zero and one. A direct update using normal noise may leave the interval because Gaussian increments are unbounded. One response proposes a…

StatisticsRisk managementBacktesting
Quant Q&A

The document addresses how to test whether two indicators help explain a time series of returns when the indicators may be autocorrelated or nonstationary and a VAR analysis has not produced significant results. Its proposed starting point is a linear…

StatisticsBacktestingTechnical indicators
Quant Q&A

The document compares White’s Reality Check with the Benjamini-Hochberg-Yekutieli procedure for screening a large set of backtested strategies against a benchmark. It describes the Reality Check as accounting for dependence among test statistics through…

BacktestingStatisticsMachine learning
Quant Q&A

The document describes diagnosing weak convergence in Monte Carlo simulations of an option-pricing model with state-dependent volatility. The original comparison estimates expectations at two time-step sizes, but uses independent simulated paths. Sampling…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document examines claims that artificial neural networks outperform Black–Scholes in option pricing. The cited study generates Black–Scholes estimates using simplified inputs, including a closing spot price, fixed volatility and interest rate, no…

OptionsMachine learningDerivatives pricingBacktesting
Quant Q&A

The document explains why a backtest based only on the best bid and best ask can overstate achievable execution quality. Those quotes represent the most favorable available prices for limited quantities; larger orders may consume that liquidity and fill at…

BacktestingExecutionMarket microstructure
Quant Q&A

The document explains how to represent a Wiener process on a uniform time grid for simulation. Divide the interval into equal steps, then construct each sampled value by adding the next increment to the previous value, starting from zero. The increment over…

StatisticsMachine learningBacktesting
Quant Q&A

The discussion considers how to allocate capital to an automated crypto strategy whose backtest suggests substantial drawdowns, and when to scale its exposure or stop trading as its edge may fade. The response emphasizes that changing position size is a…

CryptoPosition sizingRisk managementBacktesting
Quant Q&A

The document asks whether a time-series model that chooses a fully invested long or short position could be trained by maximizing simulated terminal portfolio value instead of minimizing squared prediction error. It proposes simulating daily positions from…

Machine learningBacktestingPosition sizingRisk management
Quant Q&A

The document considers how to build a weighted index from several equity index series when their market calendars do not match. It identifies two basic approaches: restrict calculations to dates common to all series, or carry forward the previous available…

EquitiesPortfolio constructionBacktesting
Quant Q&A

The document asks whether bootstrap resampling should happen before strategy data mining or after a candidate strategy has been selected. It describes a monthly SPY and TLT rebalancing strategy tested over six years and 72 trades, reporting a backtest Sharpe…

BacktestingStatisticsMachine learningPortfolio construction
Quant Q&A

The document discusses a lower-cost approach to storing and querying market tick and bar data when specialized financial databases are too expensive. The response suggests using an OLAP server with cube-based aggregation. It describes persisting ticks at…

Market microstructureExecutionBacktesting
Quant Q&A

The answer recommends separating operational monitoring from strategy monitoring when running automated trading systems. Operational checks include server heartbeats and alerts, centralized log persistence, and visibility into CPU and memory use. It…

ExecutionRisk managementMarket microstructureBacktesting
Quant Q&A

The document addresses where to obtain historical European Union Allowance futures data at intraday frequency for carbon market research. The response points to a commercial market data vendor that offers trade histories and, optionally, quote histories for…

FuturesCommoditiesMarket microstructureBacktesting
Quant Q&A

The document explains why a historical portfolio Value at Risk calculation can return an empty result at a high confidence level. The cited implementation converts the confidence level to a lower-tail probability, multiplies that probability by the number of…

Risk managementStatisticsPortfolio constructionBacktesting
Quant Q&A

The document describes an LSTM trading model using RSI, MACD, a ratio of two exponential moving averages, and recent returns as inputs over a short history. It assigns separate long and short outputs based on whether a hypothetical trade reaches a…

Machine learningTechnical indicatorsBacktestingRisk management
Quant Q&A

The document describes a practical signal-processing problem in a trading system that receives live bid and ask data. The author reports that offline backtests can use non-causal smoothing methods with access to future observations, but those methods lag…

Technical indicatorsTrend followingBacktestingExecution