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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

20,364 documents

Quant Q&A

The document compares the cost of obtaining leveraged exposure through a leveraged ETF with borrowing to buy a standard ETF. It raises financing rates and fund expenses as relevant costs, then highlights a distinct issue: daily leveraged products can lose…

EquitiesVolatilityRisk managementFutures
Quant Q&A

The document examines how storage costs enter a commodity forward price and whether monthly costs should accrue interest. It presents the no-arbitrage principle: a forward should reflect the spot asset and the present value of carrying costs, financed to…

CommoditiesDerivatives pricingFixed incomeArbitrage
Quant Q&A

The document explains why a historical return histogram may compare simple returns with a normal distribution even though geometric Brownian motion implies normally distributed log returns and lognormally distributed prices. For small price changes, the…

StatisticsEquitiesVolatility
Quant Q&A

The document outlines a workflow for evaluating a portfolio under non-parallel interest rate shocks. Start with specified scenarios, apply the tenor-specific shifts to the relevant curves, reprice affected instruments, and measure the resulting price…

Fixed incomeMulti-assetRisk managementPortfolio construction
Quant Q&A

The document asks how the Merton model’s debt payoff can be written both as debt face value minus a put payoff and as the lesser of face value and asset value. At maturity, debt holders receive the firm’s assets when those assets fall short of the promised…

Derivatives pricingOptionsRisk management
Quant Q&A

The note addresses whether negative risk-free rates invalidate the CAPM or the use of a risk-free rate when calculating market excess returns in the CAPM and Fama–French three-factor model. Its answer is that the CAPM does not require the risk-free rate to…

Factor investingFixed incomeStatistics
Quant Q&A

The note considers cross-sectional estimation of factor returns when asset-loading columns are linearly dependent. Ordinary least squares then has no unique solution because the loading matrix’s cross-product is singular. A market factor combined with…

Factor investingStatisticsPortfolio construction
Quant Q&A

The note distinguishes an up-and-in binary call from a down-and-out binary call and explains their payoffs under a constant-strike barrier. For the up-and-in case, a terminal price above the strike implies that the price must have crossed that strike before…

OptionsDerivatives pricingVolatility
Quant Q&A

The note explains why UK RPI zero-coupon inflation swaps can trade at different levels when cleared through LCH versus bilaterally. It identifies two conditions behind such a basis: dealers face an imbalance in client demand across the two markets, and…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document sets up a portfolio containing an option, the underlying stock, and a second asset whose value depends on both the stock and variance. The stock and variance follow correlated stochastic differential equations. The question is why the…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The note asks whether an American put’s time derivative, or theta, is continuous where the optimal exercise boundary meets the continuation region. It distinguishes this question from the familiar smooth-pasting condition, which says the option’s delta…

OptionsDerivatives pricingVolatility
Quant Q&A

The document outlines a proposed workflow for applying an Ornstein–Uhlenbeck process to a pair of potentially cointegrated stocks. The suggested steps are to estimate a linear relationship by OLS, form a residual or auxiliary series, fit an AR(1) model to…

Pairs tradingMean reversionStatisticsEquities
Quant Q&A

The note explains the intuition behind Hull’s statement that a U-shaped implied volatility smile corresponds to a distribution with more probability in both small and extreme moves than a lognormal distribution. Higher implied volatility away from…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document examines why adding risky assets can move the mean–variance frontier toward lower volatility without making it approach zero in every case. For equal-variance, uncorrelated assets, it considers an equally weighted portfolio and shows that…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks why an interest rate swap may use separate curves for projecting floating coupons and discounting future cash flows. It identifies the pricing curve with the curve used to infer rates for floating-leg accruals, then asks whether a different…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how to price derivatives when the underlying follows an arithmetic Brownian motion rather than the geometric Brownian motion used in the Black–Scholes model. It starts with an additive diffusion under the physical measure, then proposes…

Derivatives pricingStatistics
Quant Q&A

The document asks how to estimate a company’s pre-tax cost of debt when its borrowings include bonds with different coupon rates, maturities, and repayment schedules. The proposed method is to calculate the yield on each bond for the relevant fiscal year,…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document considers how to calculate stock price momentum from weekly observations and whether short lookbacks, such as several weeks, are standard. It presents a simple measure based on the difference between the current closing price and the close a…

EquitiesMomentumTechnical indicators
Quant Q&A

The document discusses converting a quoted three-month Treasury bill rate into a weekly risk-free return and subtracting it from an asset’s weekly log return. It endorses scaling the log of one plus the quoted annual rate by the weekly fraction of a 360-day…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document explains how to price a zero-coupon bond when yields differ across maturities. Its key distinction is between a bond’s maturity-specific zero-coupon spot rate and the sequence of one-year forward rates. Under annual compounding, discounting the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines negative variance-equation intercept estimates in a GJR-GARCH model with a pandemic indicator as an exogenous input. The response writes a simplified model with a regime indicator and an asymmetric term for negative shocks, then argues…

VolatilityStatisticsRisk managementEquities
Quant Q&A

The document explains how to attribute a portfolio’s volatility to a subset of its assets, such as an equity sector, while accounting for the portfolio covariance structure. It defines an asset’s marginal risk contribution as the change in portfolio…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to generate observations from a four-factor t-copula when the dependence matrix changes over time. Its setting is a series of 2,000 correlation matrices from a copula-DCC model, with one matrix intended for each time step. The accepted…

Multi-assetStatisticsVolatilityBacktesting
Quant Q&A

The document explains how to select interpolation schemes when bootstrapping yield curves in QuantLib-Python. It shows a dual-curve setup using deposit, forward rate agreement, and swap helpers, then constructs curves with different interpolation choices,…

Fixed incomeDerivatives pricingStatistics