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 shows how to turn a monthly Treasury bill rate series into a hypothetical value path for an initial investment. It describes carrying the prior month’s value forward and multiplying it by one plus the current rate expressed as a decimal, then…

Fixed incomeBacktesting
Quant Q&A

The document discusses preparing financial data for an LSTM intended to predict index direction or returns. It compares using price levels with returns or differences, and explains that the concern about values exceeding a scaling range reflects both…

EquitiesMachine learningStatisticsBacktesting
Quant Q&A

The document addresses the challenge of obtaining reliable end-of-day historical prices for Indian equities and calculating returns that are not distorted by corporate actions. It identifies the National Stock Exchange as a source of end-of-day and intraday…

EquitiesFuturesOptionsBacktesting
Quant Q&A

The document asks how to obtain the first three moments of simulated aggregate losses and whether to use sample averages or formulas from the collective risk model. The answer distinguishes two routes: if the frequency and severity distributions are known,…

StatisticsRisk managementBacktesting
Quant Q&A

The document presents possible master’s thesis directions in option pricing, aimed at a beginner seeking a manageable empirical or model-comparison project. One suggestion is to fit a GARCH volatility model to market data, use it in Monte Carlo option…

OptionsVolatilityMachine learningBacktesting
Quant Q&A

The document explains why matching Reuters Instrument Codes (RICs) to Compustat tickers across historical datasets can be unreliable. Ticker-like identifiers may differ for share classes, as illustrated by examples where Reuters and Compustat use different…

EquitiesStatisticsBacktestingUS markets
Quant Q&A

The document considers how to choose among many Kelly-based betting strategies after testing a UFC fight prediction model. The model outputs win probabilities, and the user evaluates parameter combinations using bookmaker odds, return on investment, and…

BacktestingPosition sizingRisk managementStatistics
Quant Q&A

The document outlines a simulation procedure for a multivariate DCC-GARCH(1,1) model. First, simulate each series’ univariate GARCH volatility and returns, then standardize returns to obtain residuals. Use those residuals to update the DCC latent covariance…

ForexVolatilityStatisticsBacktesting
Quant Q&A

The document explains ways to simulate a three-dimensional linear stochastic differential equation with vector drift, a matrix multiplying the state, and a matrix diffusion driven by a higher-dimensional Brownian motion. It describes expressing each drift…

StatisticsBacktesting
Quant Q&A

The document explains how to estimate expected shortfall (ES), also called conditional value at risk, with a GARCH volatility model. It separates returns into a conditional mean, conditional volatility, and standardized residuals. ES for the standardized…

VolatilityRisk managementStatisticsBacktesting
Quant Q&A

The document considers how to test whether an arbitrary daily time series predicts a stock’s future movement. The proposed workflow is to split observations into training and test sets, difference both series to work with changes, and examine correlations…

StatisticsMachine learningEquitiesBacktesting
Quant Q&A

The answer explains how to continue a fitted GARCH(1,1) volatility series when historical data is unavailable. Keep the previously estimated parameters fixed, then initialize the recursion with the most recent residual and conditional volatility estimate.…

StatisticsVolatilityBacktesting
Quant Q&A

The document asks how a backtest should model early exercise when short an American option. It contrasts using an arbitrary threshold for exercise with treating the contract like a European option, then describes exercise considerations that depend on option…

OptionsBacktestingDerivatives pricingEquities
Quant Q&A

The document asks for reference material to help build a backtesting system that models futures and equities realistically. It highlights the need to account for buying power, profit and loss, and margin, including the different conventions that apply to…

BacktestingRisk managementEquitiesFutures
Quant Q&A

The document asks how to calculate the t-statistic for the difference between low-beta and high-beta portfolio alphas in an analysis of the beta anomaly. The accepted answer describes forming a time series of portfolio returns by subtracting one portfolio’s…

EquitiesFactor investingStatisticsBacktesting
Quant Q&A

The document considers whether machine learning can produce several plausible future price paths from historical closing-price behavior, for planning trade adjustments. The answer describes the task as supervised learning: define and label outcome classes…

Machine learningEquitiesBacktestingStatistics
Quant Q&A

The document discusses how to organize daily stock prices and company financial statements in a database for screening and backtesting. Its main recommendation is to model instruments, trading venues, price observations, and companies as related entities, so…

EquitiesBacktestingPortfolio construction
Quant Q&A

The document raises a modeling question from a course example that uses principal component and factor analysis to predict stock prices. It reports the course author’s claim that regression should use returns rather than price levels, linking that…

EquitiesStatisticsBacktesting
Quant Q&A

The document describes a proposed way to evaluate a multi-asset portfolio using weekly returns and a time-varying matrix of portfolio weights. The intended test samples start dates, measures performance over a one-year period, rebalances at regular…

BacktestingPortfolio constructionPosition sizingExecution
Quant Q&A

The discussion compares R with C++ and Python for quantitative research, data analysis, and production software. Contributors describe R as productive for exploratory analysis, statistical modeling, visualization, and working with established packages. They…

StatisticsMachine learningBacktestingExecution
Quant Q&A

The question describes a trade list with tickers, buy dates, and sell dates, and asks how to evaluate its performance when each stock receives equal weight. The response points to Backtrader as a Python library for building and running backtests. It offers a…

BacktestingEquitiesPortfolio construction
Quant Q&A

The discussion addresses how to reconstruct historical equity ticker changes when a ready-made long history is unavailable. One proposed method is to use daily security data containing both ticker symbols and SEDOL identifiers. Since the identifier usually…

EquitiesBacktestingStatistics
Quant Q&A

The document shows how to backtest a portfolio of ETFs using inverse-volatility weights estimated from recent returns. A target-weight function obtains closing prices for the preceding 20 trading days, computes returns, estimates each asset’s volatility, and…

BacktestingPortfolio constructionVolatilityPosition sizing
Quant Q&A

This discussion outlines vendor and dataset considerations for researchers seeking historical US equity fundamentals. The requested features include broad export rights, coverage of firms that later disappeared through bankruptcy or mergers, financial…

EquitiesStatisticsBacktesting