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
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

16,761 documents

Quant Q&A

The document proposes estimating common return factors and asset loadings with a rolling singular value decomposition of volatility-normalized close-to-close returns. It then applies the estimated loadings to other return intervals, such as overnight or…

StatisticsMachine learningTechnical indicatorsBacktesting
Quant Q&A

The document discusses generating synthetic foreign-exchange data for algorithm testing, including return paths, OHLC bars, tick timing, and bid-ask spreads. Its main caution is that Gaussian noise around a trend is a poor representation of high-frequency FX…

ForexBacktestingStatisticsVolatility
Quant Q&A

The note explains how numbered Bloomberg crude oil indices represent exposure to futures contracts at different points along the Brent or WTI futures curve. The number indicates the contract’s forward position relative to the front month. The example…

CommoditiesFuturesBacktestingPortfolio construction
Quant Q&A

The document outlines a proposed search process for automated intraday strategies in FX and equity index futures. The plan uses short forecast horizons, many candidate features, genetic feature selection, and SVM models ranked by cross-validation error. The…

Machine learningFuturesForexBacktesting
Quant Q&A

The document responds to a request for rigorous resources that connect portfolio-optimization theory with practical implementation. It points readers to several books using R, Matlab, or S, and briefly compares their audiences and coverage. Topics mentioned…

Portfolio constructionRisk managementBacktesting
Quant Q&A

The document surveys data sources that systematic traders can use beyond historical prices, including traded volume, company fundamentals, and alternative data such as satellite imagery, news text, supply-chain information, and card transactions. Its main…

Machine learningStatisticsBacktestingEquities
Quant Q&A

The document asks how to calculate a ten-day, 99% Value at Risk for a portfolio that combines shares with short European calls on the same company. It gives the share value, annual volatility, and option delta, but the response cautions that delta alone does…

OptionsEquitiesRisk managementBacktesting
Quant Q&A

The document asks how to validate a performing-loan Loss Given Default model by comparing its estimates with realized workout LGD. It distinguishes a model developed using a through-the-cycle sample of defaulted loans from estimates produced for a…

Fixed incomeStatisticsRisk managementBacktesting
Quant Q&A

The document considers a lookback call in a two-period Cox–Ross–Rubinstein binomial model. Its payoff is the terminal asset price minus the lowest price reached across the life of the option, so the payoff depends on the path as well as the terminal price.…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document discusses how to choose the number of hidden states in a hidden Markov model, using financial return data as an example. It compares selecting states by out-of-sample log likelihood with choosing the best in-sample fit using an information…

Machine learningStatisticsBacktestingRisk management
Quant Q&A

The document addresses backtesting crypto strategies that calculate indicators on daily candles while processing finer-grained data for entries, exits, and risk controls. Its accepted answer recommends using Backtrader’s data replay feature with minute data…

CryptoBacktestingTechnical indicatorsExecution
Quant Q&A

The document explains how to choose observations for an exponential moving average (EMA) on bars longer than one day. It reports that closing prices are a common input: the final trading-day close for a weekly bar and the final trading-day close for a…

Technical indicatorsEquitiesBacktestingStatistics
Quant Q&A

The document asks how to turn forecasts from an ARIMA model of daily power futures returns into prediction intervals for prices. It describes a simple approach: reverse the data transformations, compound the forecasted returns from the latest observed price,…

FuturesStatisticsBacktesting
Quant Q&A

The document asks whether correlations should be calculated from simple returns, log returns, or log prices, and whether the choice is merely conventional. The response ties the answer to the intended use: when correlations will drive a simulation, estimate…

StatisticsPortfolio constructionBacktestingRisk management
Quant Q&A

The document proposes estimating portfolio profit distributions by simulating monthly generation for each energy asset and electricity forward prices, multiplying generation by price to estimate asset revenues, summing across assets, and taking lower-tail…

CommoditiesFuturesStatisticsRisk management
Quant Q&A

The document addresses how to normalize real-time observations for a support vector machine trained with automatic scaling. Its central guidance is to apply the mean and standard deviation estimated from the training data to out-of-sample observations.…

Machine learningStatisticsBacktesting
Quant Q&A

The document clarifies how to calculate a one-step-ahead density forecast from an estimated ARMA-GARCH model with Gaussian errors. At each forecast origin, estimate or update the model using information available so far, then obtain the forecast conditional…

StatisticsVolatilityBacktesting
Quant Q&A

The document describes an analysis of daily returns for eleven MSCI World sectors and the MSCI ACWI index. The analyst groups daily observations into weekly and monthly periods, calculates a correlation for each group, and applies the Augmented Dickey-Fuller…

EquitiesStatisticsBacktesting
Quant Q&A

The document considers how to assess bid, ask, and volume data from two vendors when observations do not share exact timestamps. The questioner samples prices at regular time intervals, finds that plots look similar, but sees weak cross-correlation after…

Market microstructureStatisticsBacktestingExecution
Quant Q&A

The document examines how to annualize a cumulative return when capital was invested during separated intervals. It contrasts annualizing over the 450 days actually invested with annualizing over the full three-year span. The responses distinguish a…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document explains why historical stock research can be biased when datasets omit firms that have gone bankrupt or otherwise left the market. It notes that some widely used finance sites focus on surviving companies, so researchers seeking bankrupt or…

EquitiesBacktestingRisk managementUS markets
Quant Q&A

The document considers whether official central bank exchange rate fixings can stand in for end-of-day spot forex data in lower-frequency analysis. The response points to the European Central Bank’s daily exchange rate series, noting that its rates are fixed…

ForexStatisticsBacktesting
Quant Q&A

The discussion examines how adjusted and unadjusted stock prices affect backtests, especially cointegrated pairs trading. Adjusted prices can remove artificial jumps from splits and dividends, which helps when measuring returns or momentum. But later…

EquitiesPairs tradingBacktestingExecution