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 document describes a question about fitting an Asymmetric Laplace Distribution (ALD) to daily NIFTY 50 log returns and determining whether the fitted distribution has finite variance. The post gives fitted location, scale, and asymmetry parameters and…

StatisticsEquitiesRisk management
Quant Q&A

The discussion outlines ways to study high-frequency quotes and trades when observations arrive at uneven intervals. It recommends first defining the target, such as volatility or correlation, and accounting for how measurement intervals affect the…

High-frequency tradingStatisticsVolatilityMarket microstructure
Quant Q&A

This document considers how to interpret significant cross-correlations with opposite signs at adjacent lags in two time series. Its example frames interest rate data as sound signals and reports a strong positive correlation at zero lag alongside a stronger…

StatisticsFixed income
Quant Q&A

Bond yields are generally quoted using a compounding frequency that matches the coupon payment schedule. Some markets instead standardize yields to the frequency used for local government bonds, which makes comparisons with benchmarks and across issuers…

Fixed incomeStatistics
Quant Q&A

The document considers how to estimate volatility when a return series contains complete monthly observations plus a final observation covering only part of a month. It proposes a weighted variance calculation: first scale the partial-period return to an…

VolatilityStatistics
Quant Q&A

The document explains how to calculate a portfolio’s cumulative return across several periods and why the calculation depends on whether the portfolio is rebalanced. For buy-and-hold, multiply each asset’s returns across periods, apply its initial portfolio…

Portfolio constructionStatistics
Quant Q&A

The document explains a formula for estimating a one-period total return on a ten-year Treasury note using its yield at the start and end of the period. The formula values the note’s coupon stream as an annuity discounted at the ending yield, adds the…

Fixed incomeStatisticsRisk management
Quant Q&A

Mean-variance optimization is a general portfolio framework that evaluates portfolios by expected return and variance or standard deviation of returns. Under suitable distributional assumptions, it identifies efficient portfolios: those offering the best…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document examines a structural default model in which a firm's unobserved assets follow a geometric Brownian motion and default is linked to a debt threshold. It contrasts measuring default at a fixed horizon by checking whether assets finish below the…

Fixed incomeStatisticsRisk management
Quant Q&A

The document discusses numerical instability when optimizing a custom GARCH quasi-maximum-likelihood objective in R. Its proposed safeguard is to clamp each filtered conditional variance to a chosen lower and upper limit, preventing extreme parameter values…

VolatilityStatisticsRisk management
Quant Q&A

The document asks how to apply multidimensional Itô’s lemma when a function maps a vector of stochastic processes to another vector. It illustrates the question with a vector of assets divided by a stochastic numeraire, a transformation that can arise when…

StatisticsDerivatives pricingMulti-asset
Quant Q&A

The document asks whether methods besides principal component analysis are standard for decomposing interest-rate term structures. The response names the Nelson–Siegel model as another commonly used approach. This points readers toward a parametric way to…

Fixed incomeStatistics
Quant Q&A

The discussion explains why an arbitrage-free call price curve should be convex in strike. A butterfly spread combines calls at neighboring strikes so that its payoff is nonnegative across terminal prices and positive over an intermediate range. If the call…

OptionsDerivatives pricingArbitrageStatistics
Quant Q&A

The discussion considers what mathematical background can help a reader understand and implement models in Brigo and Mercurio, including HJM, LMM, and local volatility models. The questioner has studied introductory stochastic calculus and is working through…

Derivatives pricingFixed incomeStatistics
Quant Q&A

The discussion distinguishes two simple price differences over a bar or other observation period. The high–low range is the period’s highest price minus its lowest price, so it is nonnegative and describes the span of observed prices. The open–close…

EquitiesStatisticsMarket microstructure
Quant Q&A

The discussion explains why corporate actions can distort daily returns when a price series is adjusted incorrectly. A stock split should be reflected consistently across historical prices; a discontinuity caused by a mismatched close and adjusted close can…

EquitiesStatisticsBacktesting
Quant Q&A

The document addresses whether an exchange rate and its reciprocal, such as a currency pair and the inverted pair, should have the same at-the-money implied volatility. It models one exchange rate as a diffusion with proportional volatility and applies Itô's…

ForexVolatilityStatistics
Quant Q&A

The document explains how to calculate portfolio drawdowns from cumulative returns and find both the deepest decline from a prior peak and the longest period spent below a peak. It identifies a common pandas indexing error: integer access can fail when a…

StatisticsRisk managementBacktesting
Quant Q&A

The document describes an R workflow for estimating a CARMA(2,1) model with the yuima package from daily market price data. The initial attempt passes a price column directly into the package and produces an error while constructing the model data. The…

StatisticsMarket microstructureMachine learning
Quant Q&A

The document asks which representation of interest rates should be used when applying principal component analysis or other stress tests to interest rate swaps: par swap rates, spot rates, or forward rates. It notes that the studies the author has…

Fixed incomeRisk managementStatistics
Quant Q&A

The document examines a change-of-measure density for an asset with constant dividend yield, whose price follows a geometric Brownian motion under the physical measure. It solves the price process and substitutes that expression into a proposed density,…

Derivatives pricingStatistics
Quant Q&A

The document explains dual delta as the sensitivity of an option’s value to its strike, distinguishing it from ordinary delta, which measures sensitivity to the underlying price. In the Black–Scholes–Merton framework, call dual delta is negative and relates…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks whether annualized Sharpe ratios for separate years are enough to calculate a Sharpe ratio across the full period. It explains that, in general, they are not: the ratios alone do not specify the return means, volatilities, or dependence…

StatisticsRisk managementBacktesting