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 discusses using the PerformanceAnalytics Return.portfolio function to apply a time series of portfolio weights to daily asset returns. The author observes that specifying different rebalance_on frequencies appears to produce identical portfolio…

Portfolio constructionBacktestingEquities
Quant Q&A

The document addresses whether a martingale-corrected Andersen discretization for the Heston model needs adjustment when the model has a nonzero constant interest rate. The answer endorses adding the risk-free accrual over each time step to the exponent…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document considers how to estimate a stochastic process value between two simulated time-grid points for an SDE with drift and diffusion. Straight-line interpolation may give an intermediate value, but it does not preserve the process’s random evolution.…

StatisticsBacktesting
Quant Q&A

The document explains how the risk-aversion coefficient in mean-variance utility affects portfolio choice. A low coefficient places less weight on variance and permits greater risk exposure; a high coefficient penalizes risk more heavily. Varying the…

Portfolio constructionRisk managementBacktesting
Quant Q&A

The document considers a Kolmogorov–Smirnov test applied to returns from simulated geometric Brownian motion. The question describes simulating many terminal asset prices, converting them to returns, fitting distribution parameters, and testing the returns…

StatisticsBacktesting
Quant Q&A

The document asks how to compare two models that produce probability distributions for future returns. One proposed method is to add the probabilities assigned to observed outcomes, but the response instead evaluates the joint likelihood of the realized…

StatisticsBacktestingMachine learning
Quant Q&A

The document compares keeping strategy research and live trading in one environment with translating the strategy into a separate implementation language. It explains that research often analyzes fixed datasets with vectorized calculations, while live…

ExecutionBacktestingMarket microstructureHigh-frequency trading
Quant Q&A

The note explains why Fama–French factor research commonly waits six months after fiscal year-end before using accounting data such as book-to-market and firm size. Although quarterly reports may become available sooner, reporting dates and filing delays…

EquitiesFactor investingBacktestingStatistics
Quant Q&A

The document examines whether an implicit finite difference scheme for the Black–Scholes partial differential equation guarantees nonnegative derivative values and numerical stability. It sets out a uniform price grid, the tridiagonal system for stepping…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The response proposes representing chart patterns as sequences of numerical movements and scanning a rolling window of volume-weighted average price candles for matches. It illustrates the representation with examples such as a double top, head and…

Technical indicatorsStatisticsBacktestingExecution
Quant Q&A

The discussion explains how to turn a stream of intraday trade profits and losses into periodic returns for a Sharpe ratio calculation. Choose a starting account balance, aggregate the trade results to the end of each chosen interval, and compare that…

StatisticsRisk managementBacktesting
Quant Q&A

The document discusses why Python is widely used for quantitative finance, while arguing that no single language dominates every part of financial technology. Its practical advantages include familiar syntax, a large developer pool, extensive libraries for…

Machine learningStatisticsBacktesting
Quant Q&A

The question describes a balanced financial time-series classification task in which several machine-learning algorithms perform well under time-ordered cross-validation but fail on a later test set. The response proposes that the underlying relationship may…

Machine learningBacktestingStatistics
Quant Q&A

The document seeks a broad inventory of reported market anomalies and points to research catalogs covering many proposed return factors. It highlights a study that frames the large number of factor discoveries as a multiple-testing problem, arguing that…

Factor investingStatisticsEquitiesBacktesting
Quant Q&A

The document presents an attempted out-of-sample volatility forecast for a stock using a GARCH model fitted to percentage returns. It forecasts across a multi-day horizon and compares the output with annualized rolling standard deviation calculated from…

EquitiesVolatilityStatisticsBacktesting
Quant Q&A

The document investigates conflicting reported lows for Paladin Energy on a specific trading day. Its accepted answer distinguishes raw traded prices from adjusted historical prices: the raw low was confirmed by an exchange course-of-sales feed, while a…

EquitiesStatisticsBacktestingMarket microstructure
Quant Q&A

The discussion considers why Monte Carlo estimates of a call price under the SABR stochastic volatility model may disagree with prices obtained using the commonly cited SABR implied volatility formula. One answer points to discretization bias: a basic Euler…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document frames an optimization problem: selecting asset allocations across successive decades over a century, using a restricted set of choices among equities, cash, and bonds. Each period permits either a full allocation to one asset or an equal split…

Portfolio constructionBacktestingStatisticsEquities
Quant Q&A

The document asks how to build a consistent historical swaption volatility series when market conventions change. It distinguishes normal from Black volatility and quotes referencing IBOR or OIS discount curves, and asks whether backtests should use only…

OptionsFixed incomeVolatilityBacktesting
Quant Q&A

Bid volume and ask volume refer to trades executed at the bid and ask prices. The note asks whether these quantities can be approximated when only open, high, low, close, and total volume are available. Its response says a model can be constructed, but the…

Market microstructureStatisticsBacktesting
Quant Q&A

The document considers how to select strategy parameters after ranking many combinations on an in-sample period and then checking the strongest performers on an out-of-sample period. Its answer warns that repeatedly selecting the top-performing percentage…

BacktestingStatistics
Quant Q&A

The document describes a dissertation calculation of daily returns for a value-weighted portfolio of large corporations, using prior-day market values as weights to avoid using future information. It outlines normalizing market values across constituents,…

EquitiesPortfolio constructionBacktestingStatistics
Quant Q&A

The document asks how to create synthetic one-minute bars from daily open, high, low, and close values for testing an algorithm’s speed and memory use. The synthetic path need not resemble actual market behavior, but its minute bars should preserve each…

EquitiesStatisticsBacktesting
Quant Q&A

The discussion considers whether historical asset prices should be adjusted for inflation and which inflation series to use. It identifies the U.S. Consumer Price Index for All Urban Consumers as the commonly cited headline measure, distinguishing it from…

StatisticsUS marketsBacktesting