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

5,018 documents

Quant Q&A

The document defines a Bregman divergence from a differentiable convex function and asks how to find the point minimizing its expected divergence from a distribution. The answer writes the expected divergence as an objective in the candidate point, separates…

StatisticsMachine learning
Quant Q&A

This explanation distinguishes sample uniqueness from sample weights in financial machine learning. A model’s sample weights tell it how strongly to emphasize observations during fitting. Uniqueness measures how much an observation overlaps with others, and…

Machine learningStatistics
Quant Q&A

The document discusses why quantitative research interviews often use elementary probability puzzles involving cards, dice, coins, and conditioning instead of direct financial modeling questions. One response criticizes this practice, arguing that research…

StatisticsMachine learning
Quant Q&A

The document surveys several ways discrete mathematics and graph theory appear in quantitative finance. Network analysis can model links among banks and trace how credit stress spreads, examine industry concentration and stock returns, and study how…

ArbitragePortfolio constructionRisk managementEquities
Quant Q&A

The document asks how to generate draws from a multivariate copula conditional on known values of some coordinates. It considers Gaussian or Student copulas with empirical marginal distributions and seeks a numerical procedure when the margins do not have…

StatisticsMachine learning
Quant Q&A

The document describes an introductory stock-market assignment: devise a score from information about a stock, then compare that score with returns over several future horizons. The student has calculated a correlation coefficient between score values and…

EquitiesStatisticsMachine learning
Quant Q&A

The document asks how to predict near-term best bid or ask price direction from high-frequency limit order book data. One answer recommends reconstructing the actual book from a venue’s full order log when available, rather than relying on a simulated book.…

High-frequency tradingMarket microstructureMachine learningExecution
Quant Q&A

The document asks whether normalized prices, returns, or nominal price changes are preferable inputs and targets for a deep neural network forecasting daily stocks or indices. The response does not recommend one representation or provide a literature review.…

EquitiesMachine learningStatisticsTechnical indicators
Quant Q&A

The document considers whether a Hurst exponent different from one half justifies fractionally differencing stock prices before forecasting. It cautions that an estimated exponent is a statistic subject to sampling uncertainty: even data generated by a…

EquitiesStatisticsMean reversionTrend following
Quant Q&A

The document explains why C++ skills can matter for quantitative researchers at high-frequency trading firms even when Python is more convenient for exploration, data analysis, and machine learning. It distinguishes research modeling from work that…

High-frequency tradingMarket microstructureExecutionMachine learning
Quant Q&A

This note addresses whether nonsignificant AR terms in a fitted ARFIMA model can be treated as redundant across candidate ARFIMA-GARCH combinations. It distinguishes sequential fitting, where an ARFIMA model is estimated first and its residuals are then…

StatisticsMachine learningBacktesting
Quant Q&A

The document surveys ways random forests can be used in quantitative finance. A forest combines decision trees built from resampled observations and subsets of features; it can classify discrete outcomes or predict numeric targets. Suggested applications…

Machine learningBacktestingEquitiesStatistics
Quant Q&A

The document explains that the differential Sharpe ratio used in online trading models is a derivative with respect to the decay rate of exponential moving estimates of return moments. It defines a running estimate of the first moment and a running estimate…

Machine learningStatisticsRisk management
Quant Q&A

The document addresses how to interpret weekly and monthly stock return predictions from regression trees. The training targets are recorded on Fridays: weekly returns for each Friday and monthly returns on the last Friday of each month. The question is…

EquitiesMachine learningBacktesting
Quant Q&A

The document considers whether stock prices should be z-score standardized or log transformed before calculating correlations or clustering distances. It explains that correlation is already invariant to linear shifts and positive rescaling, so z-scoring…

EquitiesStatisticsMachine learning
Quant Q&A

The document surveys ways to search historical price data for segments resembling a recent market path, then use what followed those matches to inform a forecast. Suggested approaches include nearest neighbors, clustering, seasonal pattern analysis, and…

EquitiesMachine learningStatisticsBacktesting
Quant Q&A

The document considers how to evaluate a trading rule that enters an asset only when a metric exceeds a threshold. It compares the selected observations’ returns with the asset’s overall returns and illustrates the idea with correlated simulated data and a…

StatisticsBacktestingMachine learningRisk management
Quant Q&A

The document describes a proposed short-term stock strategy built around predicting whether a purchase can reach a small profit target within a fixed holding window. Its historical-data program labels potential entries according to whether a market purchase…

EquitiesBacktestingMachine learningExecution
Quant Q&A

The discussion corrects a misunderstanding about statistical evidence for positive average returns. Rejecting a null hypothesis that mean daily return is nonpositive does not imply every day or investment period must have a positive return; it supports a…

Machine learningBacktestingStatisticsRisk management
Quant Q&A

The document asks whether a Random Forest can be applied directly to a non-stationary financial series or whether the data should first be differenced. The reply warns that fitting the model to price levels can lead it to learn those levels and overfit, and…

Machine learningStatisticsEquities
Quant Q&A

The document outlines how to investigate whether macroeconomic indicators such as growth, inflation, and monetary policy help forecast silver prices. It recommends first considering the economic relationships, timing, and functional form linking those…

CommoditiesStatisticsMachine learningBacktesting
Quant Q&A

This question concerns whether borrower loans in a Lending Club dataset can be segmented into prime and subprime categories using the available grade and sub-grade fields. The dataset excerpt includes many borrower and loan characteristics, alongside the…

StatisticsMachine learningFixed income
Quant Q&A

The document asks how to adapt a noisy high-frequency price-direction labeling method to trading at a more ordinary frequency. The cited method uses the stock’s bid-ask midpoint and compares averages over nearby time windows, assigning upward, downward, or…

EquitiesHigh-frequency tradingMachine learningMarket microstructure
Quant Q&A

The document discusses methods for estimating the early exercise boundary of an American put under geometric Brownian motion. For continuous or proportional discrete dividends, a binomial tree can approximate the boundary; fixed discrete dividends may be…

OptionsDerivatives pricingMachine learningBacktesting