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 clarifies that implied volatility is a Black–Scholes-equivalent volatility inferred from a European vanilla option price for a given strike and maturity. A smile implied by a different pricing model is constructed in two steps: fix that model’s…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why an interest rate swap’s sensitivity to its forecast curve can change when its discount curve moves. Changing discounting alters the present value assigned to projected floating-leg cash flows; as those values change, the swap’s…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document describes a two-asset risk-parity objective: compute each asset’s share of portfolio variance from its weight and the covariance matrix, then minimize the distance between those shares and equal contributions. The initial attempt uses a…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

The document corrects the claim that a European option’s binomial price does not depend on probability. It distinguishes physical probabilities, which describe actual beliefs about market moves, from risk-neutral probabilities, which are implied by the…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document examines whether an implicit finite difference scheme for the Black–Scholes partial differential equation guarantees nonnegative derivative values and numerical stability. It sets out a uniform price grid, the tridiagonal system for stepping…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document clarifies the relationship between a bond’s price and its yield to maturity. Yield to maturity is defined as the rate that discounts the bond’s cash flows to its observed price, so a quoted price can be used to calculate the corresponding yield.…

Fixed incomeStatistics
Quant Q&A

The document asks how a bond carry approximation based on the difference between yield to maturity and the repo rate is derived. It considers whether yield to maturity can stand in for running yield, defined as coupon income relative to price, and suggests…

Fixed incomeCarry
Quant Q&A

The document considers how to infer whether a trade was initiated by a buyer or seller when streaming data include the bid, ask, and last trade price. The proposed rule compares the trade price with the contemporaneous quote midpoint, classifying prices at…

Market microstructureExecutionStatistics
Quant Q&A

The document poses a one-year CAPM calculation for three assets. It supplies each asset’s annual volatility and market capitalization, assumes the returns of distinct assets have equal pairwise correlation, and gives the risk-free rate and expected market…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document investigates a mismatch between a computed Federal Reserve dollar index value and its published value. The index formula compounds each constituent exchange-rate ratio raised to that currency's weight, then multiplies the resulting product by…

ForexStatisticsMulti-asset
Quant Q&A

The response proposes representing chart patterns as sequences of numerical movements and scanning a rolling window of volume-weighted average price candles for matches. It illustrates the representation with examples such as a double top, head and…

Technical indicatorsStatisticsBacktestingExecution
Quant Q&A

The discussion explains how to turn a stream of intraday trade profits and losses into periodic returns for a Sharpe ratio calculation. Choose a starting account balance, aggregate the trade results to the end of each chosen interval, and compare that…

StatisticsRisk managementBacktesting
Quant Q&A

The document considers hedging a one-year exposure in an underlying asset with Brent crude futures. It raises whether to match futures maturity to the exposure or use shorter-dated contracts when their historical price changes show a stronger relationship,…

FuturesCommoditiesRisk managementStatistics
Quant Q&A

The document works through a limit involving the upper tail probability and density of a normal distribution, arising in a shortfall-to-quantile ratio. The key step is to evaluate a related tail expression as the threshold tends to infinity. The response…

StatisticsRisk management
Quant Q&A

The document considers whether investors with long horizons can trade liquidity and drawdown advantages for greater long-term returns. Its answer identifies potential benefits of less frequent trading: lower brokerage costs, possible tax advantages for…

EquitiesFactor investingRisk managementUS markets
Quant Q&A

The document explains how combining two uncorrelated return streams can raise a portfolio’s Sharpe ratio. It presents a regression argument: when the streams are uncorrelated, the first strategy’s beta relative to the second is zero, so its excess return is…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document discusses how Federal Reserve facilities and administered rates affect overnight money markets and the yield curve. It distinguishes the reverse repo facility, described as supporting a floor, from interest on reserve balances, which can act as…

Fixed incomeUS marketsMarket microstructure
Quant Q&A

The document asks how to distinguish expected from realized average transaction cost for a market sell order using a limit order book. The questioner walks through consuming visible buy-side depth to fill an order and computes a volume-weighted average price…

ExecutionMarket microstructure
Quant Q&A

The document explains how to derive the cumulative distribution function of the maximum of several random variables when they are independent. To find the probability that the maximum is at most a threshold, it first considers the complementary event that…

Statistics
Quant Q&A

The document asks how to decompose the one-day mark-to-market PnL of a position receiving a forward six-month interest rate into changes in rates and carry. It gives initial and next-day quotes for a six-month rate and a six-month rate starting six months…

Fixed incomeCarryRisk management
Quant Q&A

The document discusses why Python is widely used for quantitative finance, while arguing that no single language dominates every part of financial technology. Its practical advantages include familiar syntax, a large developer pool, extensive libraries for…

Machine learningStatisticsBacktesting
Quant Q&A

The document examines two normally distributed commodity price changes with zero means, unequal standard deviations, and perfect positive correlation. It asks whether their relative value changes and whether one commodity’s move is simply a fixed multiple of…

CommoditiesStatistics
Quant Q&A

The document compares three ways to estimate an annual Sharpe ratio from monthly index data: overlapping rolling annual returns, non-overlapping calendar-year returns, and annualized monthly excess returns. Its worked example uses monthly stock and risk-free…

StatisticsRisk managementPortfolio construction