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

Mean-variance optimization can produce unstable allocations when expected returns and covariance inputs are estimated with error. The discussion surveys practical ways to reduce that sensitivity: shrink historical estimates toward common targets, use robust…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document compares R with commercial tools such as Matlab and Mathematica for quantitative research. It notes that R has packages for statistical analysis, simulation, optimization, and numerical integration, then gathers user reports about areas where…

StatisticsMachine learningBacktestingPortfolio construction
Quant Q&A

The document poses a calibration question for a stock modeled as a monthly random walk with independent, identically distributed changes. Each monthly change is assumed to equal either a positive or negative fixed amount with equal probability, giving the…

EquitiesStatisticsBacktesting
Quant Q&A

The document raises practical questions about using block bootstrap to generate synthetic histories for a stock portfolio and a market index. Its central concern is preserving pairwise dependence across assets while resampling time-series data. It asks…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document outlines a way to estimate day-over-day changes in historical simulation VaR without fully revaluing the portfolio. Begin with the historical risk vector, adjust it for new and removed positions using their sensitivities, and update portfolio…

Risk managementBacktestingStatistics
Quant Q&A

The document outlines data management issues that can affect backtests using intraday US equity quotes and trades. Beyond missing records, timestamp alignment, and cleaning unusual trades, it highlights changing symbol histories and trading sessions,…

EquitiesUS marketsBacktestingMarket microstructure
Quant Q&A

The document discusses stopping a Monte Carlo valuation of a European option when the estimate is sufficiently precise. The proposed criterion compares a confidence-interval half-width, estimated as a normal critical value times the sample standard error,…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document discusses simulating returns without assuming a fixed unconditional distribution. It warns that financial returns have time-varying conditional moments, especially persistent volatility clustering, so resampling the unconditional return…

StatisticsVolatilityMachine learningBacktesting
Quant Q&A

The document clarifies a common backtesting problem in a model that uses a completed candle’s closing price to generate a signal for the next period. The training setup is not automatically biased merely because it predicts a future value from past…

BacktestingExecutionMarket microstructureStatistics
Quant Q&A

The document presents code intended to simulate a GARCH(1,1) process. It updates conditional variance using a constant plus a coefficient on the previous squared return and another on the previous variance, then multiplies the resulting volatility by a…

StatisticsVolatilityBacktesting
Quant Q&A

The discussion explains a common source of discontinuities when building return series for standardized contracts such as IMM swaps or credit default swaps. A fixed-maturity CDS quote can remain stable across a roll date, while its label as an on-the-run…

Fixed incomeDerivatives pricingBacktestingFutures
Quant Q&A

The answer proposes simulating a price process with a fixed number of hourly steps and bounded daily returns. It sets the size of each step from the upper and lower daily limits and the number of steps, then uses Bernoulli draws to choose the direction of…

StatisticsBacktesting
Quant Q&A

The document asks why historical return quantiles can be used for Value-at-Risk when returns are dependent, as in ARCH-type models. The response clarifies that dependence among returns does not prevent modeling their marginal distribution: volatility models…

StatisticsVolatilityRisk managementBacktesting
Quant Q&A

The document asks how to judge whether an estimated covariance matrix predicts future portfolio risk. It considers comparing a training-period estimate with a later sample covariance using the Frobenius norm, then suggests evaluating whether a mean-variance…

StatisticsPortfolio constructionRisk managementBacktesting
Quant Q&A

The document asks whether mean-variance optimization research remains worthwhile when expected-return estimates are noisy. It cites a discussion of out-of-sample results in which more accurate volatility forecasts alone did not materially improve the Sharpe…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The document raises an alternative to the common factor backtest that buys the highest-ranked group and shorts the lowest-ranked group. It quotes a research proposal to construct a long-only portfolio with exposure to a chosen factor while targeting a…

Factor investingBacktestingPortfolio construction
Quant Q&A

The document presents a QuantLib setup for building a USD OIS discount curve and a SOFR projection curve from deposit, futures, and swap quotes, then pricing swaps at matching quoted tenors. The author reports small differences between the calculated fair…

Fixed incomeBacktestingStatistics
Quant Q&A

The document examines whether a short run of profitable manual trades in equity-index futures can support expectations of unusually high annual returns. The responses caution that a small number of recent trades is weak evidence for persistent skill, and…

FuturesEquitiesRisk managementBacktesting
Quant Q&A

The document asks whether a basic Black–Scholes spreadsheet for European options can be adapted to price American options. It suggests Whaley’s approximation as a possible spreadsheet method when limited accuracy is acceptable. The approach requires…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document addresses whether replacing a statistically significant linear regression with a Kalman filter will necessarily improve predictions. Its central answer is conditional: performance depends on the data and on how the filter is calibrated. A Kalman…

StatisticsMachine learningBacktesting
Quant Q&A

The document compares row-oriented and column-oriented storage for financial time series, focusing on tick trades and OHLCV bars. One answer favors conventional relational databases for a single-symbol-per-table workload with frequent writes, citing the…

Market microstructureExecutionStatisticsBacktesting
Quant Q&A

The document distinguishes a historical quantile estimate from a parametric Value-at-Risk forecast based on Student’s t returns. It describes fitting a t-distribution to log returns, then estimating a one-day-ahead VaR by taking a lower-tail quantile from…

Risk managementStatisticsBacktestingVolatility
Quant Q&A

The document presents ways to assess how the number of Monte Carlo scenarios affects an estimated value at risk. One approach repeats the VaR calculation many times at a fixed scenario count, then uses the sample standard deviation of those estimates as an…

Risk managementStatisticsBacktesting