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 answer treats a future implied volatility surface as a conditional modeling problem. In the direct approach, simulate outer paths under a calibrated model; at a future state, launch an inner Monte Carlo from that state, price options across strikes and…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document outlines the Daniel, Grinblatt, Titman, and Wermers approach to evaluating stock strategies or funds against characteristic-matched benchmarks. It describes forming 125 portfolios sorted by size, book-to-market, and momentum, then assigning…

EquitiesFactor investingBacktestingPortfolio construction
Quant Q&A

The document considers whether a technical trading rule for cryptocurrency can be assessed with receiver operating characteristic analysis. The proposed labeling marks a buy signal as correct when the underlying asset has a positive return that day and…

CryptoTechnical indicatorsBacktestingStatistics
Quant Q&A

The document surveys choices involved in calculating a Sharpe ratio: sampling frequency, simple versus logarithmic returns, and annualization. The answers describe common use of daily or monthly observations, with weekly data appearing less often, and show…

StatisticsRisk managementBacktesting
Quant Q&A

The question asks how to plot a European option’s value across many underlying prices without rebuilding the QuantLib example for each value. The accepted response illustrates setting up a vanilla option with an analytic European pricing engine, attaching…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The discussion considers how to estimate drift from one sampled path when the process is non-stationary, using arithmetic Brownian motion as a simple case. It explains the core limitation of averaging increments: precision depends on the total observation…

StatisticsBacktestingRisk management
Quant Q&A

The document considers whether adjusted historical closing prices create lookahead bias when used to label stocks by future returns or in backtests. Its central point is that returns calculated from adjusted closes can represent a portfolio that reinvests…

EquitiesBacktestingRisk management
Quant Q&A

The document asks how to calculate the probability that a geometric Brownian motion starting above a lower barrier touches it by a fixed time. It maps the problem to the minimum of a drifted Brownian motion by taking logarithms, then applies a…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document explains why trading institutions use backtests despite the inability of historical performance to guarantee future results. One response frames backtesting as part of a scientific process: start with an economic, behavioral, technical, or other…

BacktestingStatisticsEquitiesMarket microstructure
Quant Q&A

The document derives the asymptotic variance of an estimated Sharpe ratio using the generalized method of moments and the delta method. It defines the mean return and return variance as moment parameters, constructs their covariance matrix from centered…

StatisticsRisk managementBacktesting
Quant Q&A

The document describes a research problem involving a return series, a conditional mean, and a conditional variance estimated from factor returns. A first trading approach compares each day's realized return with its conditional expectation and trades when…

StatisticsBacktestingRisk management
Quant Q&A

The document explains why statistical languages such as R or Matlab are commonly useful for model development and backtesting, while lower-level languages are often chosen for stable production systems where performance matters. It presents prototyping as a…

BacktestingStatistics
Quant Q&A

The document surveys ways to stabilize global minimum-variance portfolio weights when the sample covariance estimate produces extreme allocations. It gives the unconstrained solution in terms of the inverse covariance matrix and describes an equivalent…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document examines an hourly machine-learning signal that predicts the direction of returns measured from an interval’s average price. The key timing issue is that the signal becomes available only after that interval ends, so a backtest that assumes…

Machine learningBacktestingExecutionStatistics
Quant Q&A

The document asks how machine-learning methods such as random forests, support vector regression, gradient boosting, and nearest neighbors compare with GARCH when forecasting volatility beyond a single step. It also asks whether these models use lagged…

VolatilityMachine learningStatisticsBacktesting
Quant Q&A

The document asks whether Monte Carlo simulation can benchmark tree methods for pricing American options with discrete dividends, and how such a simulation should be built. The response explains a key difficulty: Monte Carlo simulates paths forward, while…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document discusses how to obtain historical opening auction prices for S&P 500 stocks, distinguishing the auction print from a generic first trade. It describes primary exchange price data as a source of opening and closing auction prices, since the…

EquitiesMarket microstructureExecutionBacktesting
Quant Q&A

The document discusses staircase-shaped prices from an explicit finite-difference solution of the Black–Scholes PDE for a digital option. Its central explanation is grid based: with a discontinuous terminal payoff, the computed value depends on which…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document concerns constructing a business-day calendar for historical NYSE price analysis. The researcher wants to omit weekends, exchange holidays, and exceptional closures so that observations align with days when trading occurred. A sample calendar…

EquitiesUS marketsBacktesting
Quant Q&A

The discussion asks how to evaluate a stock price forecasting algorithm separately from the trading rules that convert forecasts into trades. One response suggests repeatedly backtesting over shifted date intervals and averaging measures such as net profit…

EquitiesBacktestingStatistics
Quant Q&A

The document considers whether daily or weekly observations are adequate for testing a strategy over a six-month lookback. It argues that weekly data would yield too few observations for meaningful estimation and suggests intraday data as one way to increase…

BacktestingStatistics
Quant Q&A

The discussion considers ways to search historical stock charts for user-defined or familiar patterns. Suggested approaches include time-series matching, dynamic time warping, classical technical pattern recognition, and unsupervised discovery through…

EquitiesTechnical indicatorsMachine learningBacktesting
Quant Q&A

The document compares storage approaches for large options and time-series tick datasets used primarily in backtesting. When the dominant access pattern is reading sequentially between a start and end time, flat files with binary encoding can avoid the…

OptionsBacktestingExecution
Quant Q&A

The document raises concerns about using unfiltered historical Value at Risk as a desk-level measure for comparing strategies and allocating risk capital. It contrasts this with a preferred use of a common holding period and confidence level, robust…

Risk managementStatisticsBacktesting