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 explanation shows how to approximate the change in an option’s value as the underlying price and time change. Expand the option price around the current underlying price: the first-order term is delta times the price move, and the second-order term…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document outlines a framework for stressing a bank’s net interest income (NII) with three yield curve factors: shift for level, twist for slope, and butterfly for curvature. It proposes estimating the factors, shocking them, constructing a stressed…

Fixed incomeRisk managementStatisticsPortfolio construction
Quant Q&A

The document clarifies that moneyness in the illustrated option pricing context is the ratio of the underlying stock price to the strike price. It addresses confusion about a paper’s graph by reproducing a related set of curves using European call prices…

OptionsDerivatives pricingVolatility
Quant Q&A

The document discusses how to interpret the sign and magnitude of value at risk (VaR). In common practice, VaR is reported as a positive loss amount, so a figure such as 100 denotes the amount at risk rather than a signed portfolio loss. Another answer…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document explains how local volatility and jump diffusion models can each produce skew and kurtosis in Black–Scholes implied volatilities. It clarifies that “jump volatility” can refer to randomly varying jump sizes, which are parameters within a general…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document poses an asset-pricing question about why long-duration bonds typically earn positive excess returns. It frames the issue through the covariance between an asset’s return and the stochastic discount factor: positive expected excess returns are…

Fixed incomeRisk managementStatistics
Quant Q&A

The document asks how to infer an interest rate from a stock futures price when the spot price, expiry, and expected dividend are known. With one dividend, the pricing equation includes the compounded spot value and the dividend discounted according to the…

EquitiesFuturesDerivatives pricingStatistics
Quant Q&A

The discussion explains that equity prices can move outside regular trading hours, so the next session’s opening price is not independent of overnight activity. It cites research describing investor preferences for trading near the open versus during the…

EquitiesFuturesMarket microstructureExecution
Quant Q&A

This discussion surveys ways to find company filings outside the United States, with particular attention to Europe. It points to national registries such as the UK’s Companies House and Canada’s SEDAR, as well as broader search services that cover multiple…

EquitiesMulti-asset
Quant Q&A

The document asks how to fit a cubic spline to observed call option prices for a single maturity while enforcing conditions intended to prevent arbitrage. It outlines a least-squares objective with a smoothing penalty, piecewise cubic segments, continuity…

OptionsDerivatives pricingVolatility
Quant Q&A

The discussion explains how to translate a global minimum variance portfolio problem into the inputs expected by R's quadratic programming solver. The example has three asset weights, a budget constraint requiring weights to sum to one, and lower and upper…

Portfolio constructionStatisticsRisk management
Quant Q&A

The discussion addresses how to estimate volatility for a private company when applying Merton or KMV credit risk models. The questioner has several years of accounting data but no public share prices, and wants to estimate each portfolio company's…

StatisticsRisk management
Quant Q&A

The discussion compares ways to estimate a Sharpe ratio from historical returns, focusing on simple versus log returns, arithmetic versus geometric treatment, and annualization. One answer recommends calculating volatility from log returns, scaling it across…

StatisticsRisk managementVolatility
Quant Q&A

The document explains how to calculate the gain on a foreign-currency investment from the perspective of an investor whose home currency differs from the asset’s trading currency. The relevant comparison is between the home-currency amount originally paid…

Multi-assetEquitiesForexPortfolio construction
Quant Q&A

The document clarifies the payoff sign for a short put in the standard European put–call parity relationship. Selling a put gives the seller the negative of the long put payoff: the short position’s payoff is the negative of the option holder’s payoff. This…

OptionsDerivatives pricing
Quant Q&A

The document explains why compounding a portfolio’s monthly excess returns does not generally produce its annual excess return. To measure annual excess performance, calculate the portfolio’s compounded annual return and subtract the benchmark’s compounded…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The document clarifies the two stages of the Fama–MacBeth procedure in the context of a paper using regression residuals for a mean-reversion strategy. First, estimate each stock's factor loadings with time-series regressions of its returns on factor…

StatisticsFactor investingEquitiesMean reversion
Quant Q&A

The document considers when an investor should exit an underperforming hedge fund or private equity investment. It highlights practical frictions: exit windows can be long, fees may be substantial, and re-entry can be costly. It also notes the possibility…

Risk managementPortfolio constructionTrend following
Quant Q&A

The document compares two instruments that can both be called calendar spreads. A calendar spread in options combines a long option at one maturity with a short option at another maturity on the same underlying and strike. Under that interpretation, pricing…

OptionsFuturesDerivatives pricing
Quant Q&A

The document asks how to express the discounted probability of a default occurring between two times as an integral. It proposes integrating the discount factor against a default-time density and asks why that density has the form of an intensity multiplied…

StatisticsRisk management
Quant Q&A

The discussion models exchange round-trip latency as the sum of network transit time and matching-engine message-processing time. For venues in separate data centers, network distance and routing usually dominate: fiber routes are indirect, switches and…

EquitiesExecutionMarket microstructureHigh-frequency trading
Quant Q&A

The document asks how to divide an asset’s growth into a broad-market component and an asset-specific component. Its example compares a stock’s return with the market’s return, while also raising a similar product-versus-market question in retail. The sole…

EquitiesStatisticsFactor investing
Quant Q&A

The discussion distinguishes volatility measured over a return horizon from volatility annualized from that horizon. Under independent returns with additive variances, a 30-day return volatility can be converted to a 2-day return volatility by multiplying by…

VolatilityStatisticsRisk management
Quant Q&A

The document clarifies a differential step in the Musiela parameterization of forward-rate dynamics. A forward rate can be described either for a fixed maturity date or for a fixed time-to-maturity point on the yield curve. Since the latter point moves…

Fixed incomeDerivatives pricingStatistics