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

21,023 documents

Quant Q&A

The discussion distinguishes two research questions that can look similar but require different outcomes. To compare volatility estimators as forecasting inputs, regress a later realized-volatility measure on each estimator available at the forecast date. A…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks how to apply antithetic sampling when simulating the Heston stochastic volatility model with a discretized process. The central issue is whether to reverse the random draws only for the stock price or for both the price and variance…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains why counting losses beyond Value at Risk on the same sample used to estimate the quantile cannot validate a VaR model. For a historical VaR estimate based on past profit and loss observations, the proposed approach is to use a rolling…

Risk managementBacktestingStatistics
Quant Q&A

The document estimates the chance that a stock reaches a buy limit price at least once during a waiting period. It models log prices as Brownian motion with constant volatility, uses the distribution of the running minimum to relate a price threshold to a…

EquitiesStatisticsExecutionVolatility
Quant Q&A

The document explains how the Cox–Ross–Rubinstein binomial option-pricing recursion approaches the Black–Scholes model as the time step shrinks. It corrects the risk-neutral pricing equation, then uses first-order expansions of the up and down moves and the…

OptionsDerivatives pricingStatistics
Quant Q&A

The note explains why portfolio theory commonly plots expected return against standard deviation rather than variance. Its example combines a risk-free asset with a risky asset: scaling the risky position by one half scales standard deviation by one half,…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document examines a reported average duration of roughly 25 minutes for continuous ETH price rises or falls, measured in five-minute intervals over three months. The response recommends defining what would count as unusual and comparing the observation…

CryptoStatisticsBacktestingMarket microstructure
Quant Q&A

The document addresses a numerical implementation issue in the CGMY model’s characteristic function. The questioner encounters an error because the expression includes gamma functions evaluated at negative values and asks whether the formula is incorrect.…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares two ways to generate paired Brownian increments with a specified negative correlation and time-step variance. One approach draws independent standard normal samples and transforms one using the target correlation; the other draws…

StatisticsBacktesting
Quant Q&A

The document asks whether stock prices, log returns, and cumulative returns have probability density functions, cumulative distribution functions, or both, and when each representation is useful. The included answer explains that a cumulative distribution…

StatisticsEquitiesFixed income
Quant Q&A

The document raises a time-series interpretation problem: a Hurst exponent above 0.5 is understood by the questioner as evidence of persistence, while a variance ratio test appears to indicate mean reversion. It asks which result to trust and why the two…

StatisticsMean reversion
Quant Q&A

The note derives an unconditional-expectation form of expected shortfall from its definition as the negative conditional mean of returns in the loss tail. It uses the indicator of the event that a return falls below the VaR threshold, then applies the…

Risk managementStatisticsBacktesting
Quant Q&A

The document raises a methodological question about applying principal component analysis to financial asset series. It compares using price levels with using returns, and asks whether the selected series should be standardized before calculating covariance.…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document distinguishes what HJM and commonly used Markovian short-rate models say about interest-rate curves. HJM specifies the current forward curve and models its evolution across maturities. A short-rate model specifies the evolution of the…

Fixed incomeStatistics
Quant Q&A

The document explains why expected value differs for holding an underlying asset and holding a call option. An underlying position is exposed to the asset’s full range of possible prices, so its expected price weights every outcome by its probability. A…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares two ways to scale daily trading profit and loss: dividing by the previous day’s gross portfolio value or by the account’s initial equity. These choices describe different things. The prior-day value expresses each day’s gain relative to…

BacktestingStatisticsPortfolio construction
Quant Q&A

The document asks why a Black–Scholes option price differs from an expected option payoff calculated from a spreadsheet model. One response identifies a key model mismatch: Black–Scholes assumes lognormal stock prices, while the spreadsheet uses normally…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document asks whether a proposed optimal holding for a CARA investor with normally distributed risky-asset payoffs is correct. Its setup compares expected payoff net of the risk-free investment cost with payoff variance, and suggests scaling expected…

Portfolio constructionPosition sizingStatisticsRisk management
Quant Q&A

The answer recommends calibrating interconnected interest-rate curves with a global solver instead of bootstrapping each curve in sequence. The workflow defines curves and calibration instruments, assigns each instrument its forecasting and discounting…

Fixed incomeDerivatives pricingStatisticsMulti-asset
Quant Q&A

The discussion distinguishes forecasting the aggregate equity premium for the next month from ranking individual stocks by expected return. It points to characteristic-based cross-sectional models, using rolling Fama–MacBeth slopes and multiple firm…

EquitiesFactor investingStatistics
Quant Q&A

The document asks how factor exposures differ from the factor returns themselves in the Fama–French three-factor model. It contrasts a Fama–MacBeth second-stage regression using estimated asset betas with a proposed regression using the factor series…

Factor investingStatistics
Quant Q&A

The document describes how a simulated short rate can be used to obtain bond prices and the term structure of interest rates. Under the risk-neutral measure, a zero-coupon bond price is the conditional expected value of discounting one unit of payment by the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document addresses how a technically capable beginner can move from trading infrastructure and market knowledge toward designing strategies. It describes strategy as a broad category, ranging from simple rules based on price gaps to models using…

BacktestingMarket microstructureMachine learningStatistics