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
Quantpedia
86 documents
TqSdk
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 concerns a numerical issue in the Longstaff–Schwartz least-squares Monte Carlo method for valuing early-exercise options. At each exercise date, the continuation value is estimated by regressing future cash flows on basis functions using only…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document asks where historical or current intraday prices for government bonds can be obtained. The response identifies Interactive Brokers as a source of historical intraday bond data and gives a T-bill as an example of a security checked. It also…

Fixed incomeExecutionBacktesting
Quant Q&A

The document examines why Monte Carlo estimates of a European call option vary when the random-number seed changes. A seed determines a reproducible pseudorandom sequence, so changing it changes the simulated terminal prices and the resulting sample-average…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The discussion surveys ways to build or choose software for testing trading strategies. It contrasts vectorized or iterative backtests, which process data in a loop, with event-driven systems that respond to incoming data. The answer suggests that simpler…

BacktestingStatistics
Quant Q&A

The document recommends Python tools for work commonly taught through time series software. It presents pandas as the core library for representing and managing dated observations, with Series and DataFrame structures. The capabilities highlighted include…

StatisticsMachine learningBacktesting
Quant Q&A

The document explains a bootstrap comparison designed to test whether pairs trading returns reflect pair-specific reversion or simply the tendency of recent losers to rebound and recent winners to fall. On each historical date when a selected pair opens, the…

EquitiesPairs tradingMean reversionBacktesting
Quant Q&A

The document asks how to include yesterday’s forecast error in a regression intended to predict future equity returns. Its replies connect lagged residuals to moving-average terms: an MA model uses past errors, while combining lagged observations and lagged…

EquitiesStatisticsMachine learningBacktesting
Quant Q&A

The document describes practical ways to identify errors in daily price histories after the author found repeated closing prices that appeared inconsistent with market activity. It recommends comparing the same dates across independent data vendors, using…

EquitiesStatisticsBacktesting
Quant Q&A

The document describes a test of exit rules in short-term foreign exchange data using randomly selected entry points. It compares a trailing stop, which closes a position after gains retrace by a preset amount, with a fixed threshold that exits when either a…

ForexBacktestingRisk managementExecution
Quant Q&A

The document considers how to evaluate a simple signal that uses past data to predict a subsequent price move. It proposes comparing the signal with a label based on the next period, but cautions that a single accuracy percentage is an incomplete measure.…

BacktestingEquitiesStatisticsRisk management
Quant Q&A

The document explains a simulation framework for comparing Markowitz mean-variance optimization with Michaud’s resampled efficient frontier. A referee treats a specified set of asset means and covariances as the true population values, generates simulated…

Multi-assetPortfolio constructionStatisticsBacktesting
Quant Q&A

The document describes a proposed method for turning expiring corn futures contracts into a continuous price or return series. It tracks the nearby and first-deferred contracts and suggests switching between them when open interest in the deferred contract…

FuturesCommoditiesBacktestingMarket microstructure
Quant Q&A

The document considers a proposed adjustment for a stock dataset that omits delisted and bankrupt companies. The proposal models bankruptcy likelihood as dependent on volatility, assigns a distribution of losses at bankruptcy, removes subsequent returns, and…

EquitiesStatisticsRisk managementBacktesting
Quant Q&A

The document examines a method for estimating how long one time series appears to follow another. The author runs Granger causality tests across candidate lag lengths and selects the lag with the largest F-statistic. That approach gives a plausible short lag…

StatisticsBacktestingMachine learning
Quant Q&A

The document asks how to simulate a stochastic differential equation whose diffusion term depends on the current state as a power of the asset price. The question compares this process with geometric Brownian motion and attempts to derive a closed-form…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document explains why positive returns from buying stocks with the strongest exposure to a factor do not imply that shorting stocks with the weakest exposure will also be profitable. The bottom group may still rise, only by less than the top group. A…

EquitiesFactor investingMomentumBacktesting
Quant Q&A

The document considers forecasting daily three-month and one-month LIBOR over a long horizon by treating observed rates as instantaneous short rates and estimating Vasicek model parameters with regression. The proposed use is forecasting rather than…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document presents ways to examine the financial-market stylized fact that upward moves can take longer than downward moves. One R example calculates, from each starting day, how long cumulative returns take to first cross positive and negative target…

StatisticsEquitiesBacktesting
Quant Q&A

The document addresses a timing problem in backtests that use economic indicators. Monthly series may be labeled by reference month without recording the actual publication date, so using values as if they were available throughout that month can introduce…

BacktestingEvent-drivenUS markets
Quant Q&A

The document describes how to encode an index-tracking portfolio in a genetic algorithm. The proposed chromosome represents which benchmark securities are selected, rather than their portfolio weights. For each selected subset, a separate quadratic…

Portfolio constructionBacktesting
Quant Q&A

The document examines a backtest of a collar formed with shares, a long put, and a short call, with both options struck at the current stock price. Its payoff expression simplifies the option payoff terms at expiration, leaving the initial call-put premium…

OptionsEquitiesArbitrageBacktesting
Quant Q&A

The document considers the usual estimate that annualized volatility equals monthly return standard deviation multiplied by the square root of twelve, and asks whether different month lengths should change the calculation. It explains that the relevant…

StatisticsVolatilityRisk managementBacktesting
Quant Q&A

The document explains why missing-value checks can fail when financial data is arranged in rows or arrays rather than a one-dimensional list. Comparing a value directly with NaN does not work reliably; a NaN-aware check is needed. When a check produces…

StatisticsBacktesting
Quant Q&A

The document describes an attempt to calculate daily yields to maturity for a panel of euro-area government bonds using prices, coupons, and time to maturity. The proposed approach defines a bond valuation function and applies a root-finding routine to solve…

Fixed incomeStatisticsBacktesting