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 discussion addresses how to store daily or lower-frequency economic and financial observations that may be revised after their initial release. Its central method is to keep the observation’s reference period separate from the date each version becomes…

StatisticsBacktestingMulti-asset
Quant Q&A

The document frames out-of-sample strategy evaluation as a model-selection problem. It observes that an in-sample Sharpe ratio alone is a weak guide to performance on unseen data and asks practitioners to share a more reliable metric or a combined evaluation…

BacktestingStatisticsRisk management
Quant Q&A

The document asks whether the original constituents of the Dow Jones Internet Composite Index, held from a date before the dot-com crash, ultimately delivered returns that justified their late-1990s valuations. The proposed comparison would keep the initial…

EquitiesUS marketsStatisticsBacktesting
Quant Q&A

The document considers a day-trading system that learns patterns in one stock on a one-minute timeframe. The question raises the risk that intensive research on a single name could overfit its historical behavior or stop working if market sentiment changes.…

EquitiesHigh-frequency tradingBacktestingRisk management
Quant Q&A

The discussion considers how often to calibrate or rebalance equity factors built for research on the S&P. It gives a factor-specific answer: momentum may be calibrated daily, while slower-moving value measures may suit monthly calibration. This implies that…

EquitiesFactor investingMomentumBacktesting
Quant Q&A

The document distinguishes two practical components of trading costs: broker commissions and slippage. Commissions are described as charges per share, while slippage reflects execution prices that differ from the market and depends on trading volume, order…

ExecutionMarket microstructureBacktesting
Quant Q&A

The document presents a short-sale backtest example and asks why an equity calculation differs from a return estimate based on the ratio of the mean price to the close. The trader sells short using a quantity determined by dividing available capital by the…

BacktestingEquitiesExecutionRisk management
Quant Q&A

The document recommends resources for learning how to apply machine learning and deep learning to finance. It distinguishes between financial research practice, neural-network implementation, and data-science programming. The central recommendation is a…

Machine learningBacktestingStatistics
Quant Q&A

The answer argues that historical tick data should be evaluated for integrity because vendors using the same exchange feeds can still deliver materially different records. It identifies packet loss and session recovery behavior, parser errors, lossy…

Market microstructureExecutionBacktestingHigh-frequency trading
Quant Q&A

The document answers a question about calculating weekly turnover for a portfolio that rebalances regularly. It gives a basic measure: take the smaller of total purchases or total sales and divide by the portfolio’s market value. This convention measures one…

Portfolio constructionPosition sizingBacktesting
Quant Q&A

The document surveys sources of historical stock market data for research and model development, emphasizing coverage, cost, format, and service quality. It describes a paid vendor option with broad consolidated, OTC, and exchange coverage and API access,…

EquitiesMachine learningBacktestingMarket microstructure
Quant Q&A

The document examines how to choose a position when forecasts provide expected returns and volatility over multiple future horizons. It starts with the growth-oriented rule of sizing in proportion to expected return divided by variance, then considers…

Position sizingRisk managementBacktesting
Quant Q&A

The document addresses confusion about the sign and absolute value of Value at Risk outputs, using two negative figures as an example. The response redirects the question from which output is inherently better to whether the underlying risk model describes…

Risk managementStatisticsBacktesting
Quant Q&A

The document surveys ways to turn value investing into measurable stock-selection signals. It lists valuation measures such as dividend yield, earnings yield, price-to-book, return on equity, and accrual-based earnings quality, alongside related signals…

EquitiesFactor investingPortfolio constructionBacktesting
Quant Q&A

The document asks whether a training set spanning different market regimes should use one global class weight or separate weights for each period. Its example is a two-year sample with a bullish first year and a bearish second year: a global adjustment for…

Machine learningStatisticsBacktesting
Quant Q&A

The document addresses how to estimate Value at Risk for a portfolio that receives regular contributions and is rebalanced between a risky asset and a risk-free bond. Its central distinction is between external cash flows and investment performance: deposits…

Risk managementPortfolio constructionBacktesting
Quant Q&A

Financial models serve several purposes: forecasting selected quantities, pricing instruments relative to market quotes, describing economic relationships, and helping investors make decisions under uncertainty. A volatility model such as GARCH can use…

StatisticsVolatilityDerivatives pricingRisk management
Quant Q&A

The document explains what a CSV format requiring both date and symbol columns means when supplying data for multiple securities. A wide table may place dates down rows and securities across separate columns, which makes it seem that symbols cannot also…

EquitiesBacktesting
Quant Q&A

The document discusses how to obtain intraday financial data when many APIs provide only daily prices. It describes a historical approach using a vendor that offered a few days of tick-level bid, ask, and trade data, which could be collected over time and…

EquitiesMarket microstructureBacktestingUS markets
Quant Q&A

The document considers how to model dependence when individual market series have heavy-tailed, approximately Student t marginals. It explains that a conventional multivariate t distribution imposes a t copula with a shared degrees-of-freedom parameter,…

Multi-assetStatisticsPortfolio constructionBacktesting
Quant Q&A

The note clarifies the timing and roles of variables in an OLS model built from principal component projections of asset returns. The dependent variable is the accumulated log return over the next H periods, from t+1 through t+H. The explanatory variables…

EquitiesHigh-frequency tradingMachine learningStatistics
Quant Q&A

The document describes a trader’s concern about a strategy tested on one second snapshot data. The trader reports that results from 2018 and 2019 broadly fit expectations, while tests on 2016 and 2017 show small negative annual returns. They note two…

BacktestingEquitiesStatisticsRisk management
Quant Q&A

The document concerns a covariance matrix used in a Gaussian construction for stratified Monte Carlo sampling, motivated by simulating a barrier option under Black–Scholes dynamics. The answer identifies a normalization error: the stated result assumes the…

OptionsStatisticsDerivatives pricingBacktesting