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

20,364 documents

Quant Q&A

The document considers a three-day, 95% value-at-risk estimate for a long European call when the underlying follows geometric Brownian motion. It describes valuing the option with Black–Scholes, deriving a lower-tail stock-price quantile from the lognormal…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The document discusses how to choose a long-run growth or discount assumption for a perpetuity in firm valuation. One response suggests linking the rate to the valuation model and using a risk-free rate reduced by three percentage points for earnings-based…

EquitiesPortfolio constructionStatistics
Quant Q&A

The example explains why restoring target weights in a leveraged long-short portfolio can require buying an appreciated asset and increasing a short position in an underperformer. After a strong gain in the long asset, the portfolio’s total value has also…

Portfolio constructionPosition sizingRisk managementTrend following
Quant Q&A

The document discusses how to build mathematical foundations for quantitative finance and statistics. The questioner seeks rigorous, proof-based study of relevant tools such as linear algebra, probability, set theory, stochastic calculus, and measure theory,…

StatisticsDerivatives pricing
Quant Q&A

The discussion asks how to infer a stock price probability distribution from option prices and track changes in that distribution over time. One response identifies implied probability densities, also called state price densities, as the relevant framework.…

OptionsDerivatives pricingStatistics
Quant Q&A

The document raises a portfolio selection problem: maximizing the Omega ratio for non-normal returns can favor assets with unusually high returns and produce a portfolio whose holdings have similar, correlated return patterns. The investor describes…

Portfolio constructionRisk managementStatistics
Quant Q&A

The discussion surveys possible ways to obtain historical daily quotes across VIX option strikes and expirations. One response says reliable public data may be unavailable and cautions that analysis may also require the corresponding VIX futures history,…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The answer explains how to move from a Bachelier underlying with an unspecified physical drift to a risk-neutral process for pricing a European call. It starts with the discounted asset price and uses the martingale condition to identify the required drift…

OptionsDerivatives pricingStatistics
Quant Q&A

The document reviews a Heston option-pricing implementation that produces negative probabilities or prices under extreme inputs, despite giving plausible at-the-money results for other parameter choices. The implementation applies a characteristic-function…

OptionsDerivatives pricingStatisticsRisk management
Quant Q&A

The document examines whether ETF market makers can secure the bid–ask spread by immediately hedging trades with correlated instruments such as futures. The questioner models the spread earned in the ETF against the spread paid in the hedge and introduces a…

EquitiesMarket makingExecutionMarket microstructure
Quant Q&A

The document considers whether ESG can be added as a factor to the Fama–French five-factor model and how such an extension should be interpreted. It distinguishes a factor that captures exposure to priced cash-flow risk from a preference for firms with…

EquitiesFactor investingMomentumBacktesting
Quant Q&A

The document explains why borrowing at the risk-free rate to scale a risky portfolio increases its expected excess return and volatility by the same factor. The Sharpe ratio uses excess return, so the leveraged portfolio’s numerator is the leveraged…

StatisticsRisk managementPosition sizing
Quant Q&A

The note resolves how to obtain a short-maturity yield expansion from a Taylor expansion of a zero-coupon bond price. Starting with the price written as one plus successive powers of time to maturity, it applies the logarithm series and then negates and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note explains why the profit and loss of a portfolio hedged with stock must include dividends received or owed on the stock position. It writes the portfolio value with a money market account, stock, and short derivative, then tracks those holdings over…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks how to estimate term structures of default probabilities when market data is unavailable, including for non-listed firms. It notes that migration-based Markov chains can turn historical rating transitions into rating-specific default…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The note rewrites the payoff of a power option, defined as the underlying raised to a power times a call payoff, as a difference of two asset-or-nothing binary call payoffs. It first expands the payoff into two terms, each gated by the condition that the…

OptionsDerivatives pricing
Quant Q&A

The document discusses a long-short portfolio formed by taking equal-weight average monthly returns for two groups of stocks, subtracting the mature group’s returns from the technology group’s returns, and regressing the spread on Fama-French market, size,…

EquitiesPortfolio constructionFactor investingStatistics
Quant Q&A

The document addresses a choice of risk-free rate when calculating CAPM quantities or evaluating a portfolio strategy. The question contrasts a three-month Treasury rate with a ten-year rate for a strategy whose lookback window is one year and asks whether…

EquitiesStatisticsBacktesting
Quant Q&A

The document describes a way to account for recurring time-of-day patterns when estimating volatility with GARCH on hourly returns. It recommends estimating a deterministic intraday periodicity component and filtering returns by that component before fitting…

VolatilityStatisticsBacktesting
Quant Q&A

The document frames a model-design problem for estimating the concentrated positions component of an additional valuation adjustment for derivatives. It proposes relating price or volatility impact to the volatility of valuation inputs, bid–ask spread…

Derivatives pricingVolatilityMarket microstructureRisk management
Quant Q&A

The document proves that for thresholds a ≥ b, the expected value of a random variable conditional on being at least a is no smaller than its expected value conditional on being at least b, assuming the higher-threshold event has positive probability. This…

StatisticsRisk management
Quant Q&A

The document proposes measuring possible conflicts of interest between credit rating agencies and countries through the share of agency revenue associated with each country. The idea is to look beyond direct payments from governments and consider fees paid…

Fixed incomeStatisticsEvent-driven
Quant Q&A

The note asks whether the expected product of increasing functions of two correlated stochastic processes rises as their instantaneous correlation rises. The response sketches an Itô-calculus argument in a simplified setting: it assumes zero drift and unit,…

StatisticsDerivatives pricing
Quant Q&A

The note considers whether a Treasury issue that trades special in overnight repo is cheap relative to a fitted Treasury spline. Its central lesson is that the value of repo specialness depends on how long the bond is expected to remain special. A current…

Fixed incomeCarry