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 considers turning an investor’s discretionary stock selection into a systematic screening process. Candidate inputs include institutional holdings disclosures, repurchases, insider trades, expectations, fallen-angel ratings, enterprise value…

EquitiesFactor investingEvent-drivenBacktesting
Quant Q&A

The document discusses how to choose parameters for simulating stock prices with a Variance Gamma process. The question describes generating a gamma-distributed time change, then a conditionally normal increment, and asks how to estimate the process…

EquitiesStatisticsBacktestingDerivatives pricing
Quant Q&A

The document describes an out-of-sample comparison of one-day-ahead variance forecasts from an ARMA-GARCH model against realized-volatility estimates for twelve stocks. It proposes checking calibration by regressing observed variance on forecast variance: an…

EquitiesVolatilityStatisticsBacktesting
Quant Q&A

DGTW adjusted returns measure a stock’s performance relative to a characteristic-matched benchmark. For each stock, the method subtracts the return of a portfolio of firms assigned to matching groups based on market equity, market-to-book ratio, and prior…

EquitiesFactor investingBacktestingStatistics
Quant Q&A

The document distinguishes the return between two prices from the total return generated by a sequence of long positions. It asks whether adding percentage returns from separate trades gives the correct overall result and whether a charted calculation method…

StatisticsBacktesting
Quant Q&A

The document addresses event studies where many companies experience events on different calendar dates. Its central method is to align each event as time zero, estimate the normal-return model in a pre-event window, and express returns on surrounding days…

EquitiesEvent-drivenStatisticsBacktesting
Quant Q&A

The document surveys ways to capture, store and later analyze market tick data. It describes collecting Interactive Brokers market updates through an R interface and writing records to files or in-memory time-series objects. For longer-term analysis,…

High-frequency tradingMarket microstructureExecutionBacktesting
Quant Q&A

The question asks whether Markowitz portfolio construction should use closing prices or dividend-adjusted prices when estimating a minimum-variance portfolio, an optimal risky portfolio, and an efficient frontier. The answer frames the choice around how the…

Portfolio constructionEquitiesBacktesting
Quant Q&A

The document discusses a coding question about simulating asset prices in a Least Squares Monte Carlo (LSM) method. The question focuses on formulas used to calculate the conditional log-price mean and volatility at an earlier time step, and asks why the…

OptionsDerivatives pricingBacktesting
Quant Q&A

The discussion addresses the intuition that reversing every long and short signal from a losing strategy should produce a winner. It explains why this does not follow: trading costs affect both directions, and a strategy’s rules for entering and exiting…

BacktestingRisk managementStatisticsExecution
Quant Q&A

The discussion compares ways to obtain historical market depth data for research, including specialist vendors, broker APIs, trading platforms, and collecting a dataset over time. It distinguishes consolidated quotes from full-depth exchange feeds, since…

Market microstructureBacktestingExecutionEquities
Quant Q&A

The discussion distinguishes quantitative trading from technical analysis by the rigor and breadth of the research process, rather than by how complicated an indicator is. A moving average or signal-processing filter can be used by either a discretionary…

Technical indicatorsBacktestingStatisticsPosition sizing
Quant Q&A

The document explains why swaps manually priced from a QuantLib curve may fail to reproduce the market quotes used to build that curve. In the example, the discrepancies arise because the manually constructed swaps do not exactly match the swap rate helpers’…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document considers portfolio rebalancing when expected-return signals refresh quarterly but risk estimates update daily. At an interim rebalance, prices have moved while the original alpha forecasts grow stale, creating uncertainty about whether to…

Portfolio constructionRisk managementExecutionBacktesting
Quant Q&A

The document considers comparing two portfolio strategies when Monte Carlo simulation produces a collection of Sharpe ratio estimates for each strategy. The response uses an approximate normal sampling distribution for an estimated Sharpe ratio, with…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The discussion addresses why a Monte Carlo estimate of a Bermudan option value can fall below the true value when continuation values and exercise decisions are estimated from simulated paths. The central explanation is the supremum-estimation effect:…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document considers how to normalize daily trading volume and value for stock time-series models, including recurrent neural networks. It contrasts whole-series statistics such as global minimum, maximum, mean, and standard deviation with normalization…

EquitiesMachine learningStatisticsBacktesting
Quant Q&A

The document concerns locating the S&P 500 membership list for each day from 1960 onward, a data need relevant to historical index analysis. The answer suggests using a Bloomberg terminal and checking whether a university provides access to financial data…

EquitiesUS marketsBacktesting
Quant Q&A

The document examines why published annualized returns, standard deviations, and Sharpe ratios can be difficult to reproduce. It raises choices that affect the calculation, including sampling frequency, price timing, and simple versus logarithmic returns,…

StatisticsRisk managementBacktesting
Quant Q&A

Financial prices often behave as nonstationary series: their statistical properties can depend on the price level and past observations. Returns, calculated as percentage changes or differences in log prices, are more often treated as stationary. That makes…

StatisticsVolatilityBacktesting
Quant Q&A

The document presents a Python workflow for exploring portfolio risk and return from a table of asset returns. It generates random long-only weights that sum to one, estimates annualized portfolio return and volatility from sample means and covariances, and…

Portfolio constructionRisk managementBacktesting
Quant Q&A

The document reports a historical data issue in Interactive Brokers requests: weekly and monthly bars for an IBIS-listed stock are labeled one day later than expected, while daily bars for the same contract and bars for NYSE appear correctly dated. The…

EquitiesBacktestingMarket microstructure
Quant Q&A

This note asks whether log differences are an appropriate transformation for a trend-stationary series modeled as a linear trend plus random noise. It contrasts examples where the series has a relatively large baseline and modest trend and noise with cases…

StatisticsBacktesting
Quant Q&A

This note points readers to a study examining how stop-loss and profit-taking rules affect return distributions. It reports that stop-losses can reduce position volatility, but that hidden costs may offset the perceived benefit. The cited study finds no…

Risk managementBacktestingEquitiesStatistics