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

20,364 documents

Quant Q&A

The document resolves an apparent paradox: an American put’s value is at least its immediate exercise payoff, yet early exercise can still be optimal. The option value is the greater of immediate exercise value and the best expected discounted payoff from…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document discusses reducing Monte Carlo pricing variance for a European put under a stochastic volatility simulation. The questioner uses the terminal stock price as a control variate and reports a modest reduction in the estimated standard error after…

OptionsStatisticsBacktestingDerivatives pricing
Quant Q&A

The document compares a European call price computed from a binomial model with a Monte Carlo estimate. In a binomial model, the risk-neutral probability is derived from the up and down factors and the risk-free rate. The terminal payoff is then averaged…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document addresses an attempt to maximize expected portfolio return at a specified volatility using R's optim function. The proposed penalty based on an if statement gives the optimizer a discontinuous objective, and the answer instead describes…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

The document considers how to fill gaps in cumulative default probability data across maturities and credit ratings. One proposed framework is to choose a probability matrix that stays close to a target, such as a calibrated estimate or a smoothness…

Fixed incomeStatisticsRisk management
Quant Q&A

Yield curve PCA needs observations on a consistent tenor grid, but some markets have quotes at only a few maturities. The note compares running PCA on the sparse observed points with interpolating or extrapolating rates to create a fuller grid. The choice of…

Fixed incomeStatisticsRisk management
Quant Q&A

The document asks how to obtain a conditional variance-covariance matrix from an estimated MGARCH-BEKK model fitted to spot and futures price series. It presents a two-asset BEKK-style recursion built from a constant matrix, lagged return residuals, and the…

FuturesCommoditiesStatisticsRisk management
Quant Q&A

The document addresses how traders might identify market conditions associated with changes in algorithmic strategy performance. It proposes structural-break analysis as one avenue, naming CUSUM tests on recursive residuals or levels and explosiveness tests…

Machine learningStatisticsRisk managementPosition sizing
Quant Q&A

The answer considers whether market betas and rolling-window beta estimates should be normally distributed when asset and market returns are assumed normal. It distinguishes beta estimated from raw returns from beta estimated using log returns, and argues…

EquitiesStatisticsRisk management
Quant Q&A

The document discusses whether traders can forecast future option prices directly, then outlines volatility-based approaches. It describes gamma trading as selling options when implied volatility is expected to exceed realized volatility, with delta hedging…

OptionsVolatilityDerivatives pricingExecution
Quant Q&A

The document asks how a biased random walk converges to a process with nonzero drift as its time step shrinks. It starts from the expected displacement after repeated up-or-down steps, then considers steps of size proportional to the square root of the time…

StatisticsVolatility
Quant Q&A

The document explains the origin and limits of a simple approximation that relates implied variance at a strike and maturity to local variance near the initial spot and the strike at expiry. It places this shortcut alongside short-maturity results: the…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document describes the challenge of turning SEC filings into readable balance sheets and income statements. Its author retrieves reported facts for thousands of companies, using filing identifiers and fields such as reporting date, accounting tag, period…

EquitiesStatistics
Quant Q&A

The document explains why a bond futures contract may permit delivery of several eligible bonds instead of naming one specific issue. If a particular bond becomes scarce or unusually expensive relative to comparable bonds, restricting delivery to that issue…

FuturesFixed incomeMarket microstructureRisk management
Quant Q&A

The note asks why fixed-income practitioners use duration times credit spread, often called spread duration times spread, while an equivalent duration-times-yield measure is uncommon. It compares the rationale given for spread duration times spread with the…

Fixed incomeStatisticsRisk management
Quant Q&A

The document explains how to price a forward between two non-accounting currencies when market basis quotes are available against a common accounting currency. It describes discounting each currency leg using that currency’s risk-free curve plus its basis…

ForexDerivatives pricingRisk management
Quant Q&A

The document derives an inverse covariance matrix for a single-factor CAPM model with a zero risk-free rate. It represents total asset covariance as the sum of a diagonal matrix of idiosyncratic variances and a rank-one market-factor contribution. The…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document considers whether a Libor Market Model volatility function, built from a maturity-dependent linear term multiplied by an exponential and then shifted by a constant, remains bounded. It assumes the parameters and the rate’s maturity are constants…

Fixed incomeVolatilityStatistics
Quant Q&A

The document considers how to obtain long exposure to the VDC ETF with options when its dividend payouts are irregular. It raises a tradeoff between possible option positions and dividend-related price changes around an ex-dividend date. The author is…

OptionsEquitiesRisk management
Quant Q&A

The document asks how to interpret a step in a proof involving Gyöngy’s lemma, where an expectation weighted by a Dirac delta at a level is rewritten using an expectation at that level. The response frames the delta as concentrating the contribution on…

Statistics
Quant Q&A

The document explains a change of variables used when writing a likelihood for a linear regression with normally distributed errors. In the stated model, the error is the outcome minus the fitted linear expression. When the predictors and regression…

Statistics
Quant Q&A

The document describes a simulation problem: a researcher wants to compare a trading model’s behavior on ordinary price paths and paths with jumps, while isolating the effect of increased skewness. They can match the mean of the jump process to a geometric…

StatisticsVolatilityBacktesting
Quant Q&A

The document introduces the interpretation of a longer-tenor overnight indexed swap (OIS) rate. An OIS exchanges a fixed cash flow against a floating leg based on daily overnight rates; the cited answer identifies the Federal Funds Effective Rate and an…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains that volatility skew and statistical skewness are related terms with distinct meanings. Implied volatility skew describes how option-implied volatility varies across strikes for a fixed expiry; it is observable from option prices after…

OptionsVolatilityDerivatives pricingStatistics