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 presents a closed-form expression for an integral whose integrand is an exponential of a scaled inverse standard normal cumulative distribution function, shifted by a constant. The integration variable runs between a lower bound and one, with…

Statistics
Quant Q&A

The document addresses a mistaken identity for a zero-coupon bond under stochastic interest rates. The bond price at a later time is a conditional expectation of future discounting; it cannot generally be obtained by multiplying its initial price by the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document presents chart options for examining how ten sector returns contribute to a portfolio over time. One approach is to compound each sector’s returns separately, starting each cumulative series at one, and plot the resulting lines against dates.…

Portfolio constructionEquitiesStatistics
Quant Q&A

The document surveys possible ways to assess whether sampled data are consistent with a Wiener process, motivated by validating models such as geometric Brownian motion or an Ornstein–Uhlenbeck process. Suggested checks include testing marginal normality,…

StatisticsBacktestingEquities
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 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 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 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 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 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 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
Quant Q&A

The document explains that an incomplete market generally has multiple equivalent martingale measures rather than a unique risk-neutral measure. For a nonreplicable claim, expected discounted payoffs under these measures yield a range of arbitrage-free…

Derivatives pricingOptionsRisk managementStatistics
Quant Q&A

The document clarifies that “heat-map method” may refer to a way of assessing VaR model performance rather than a procedure for calculating VaR. In the answer provided, historical VaR breaches are counted over a review window and mapped to colored zones: a…

Risk managementBacktestingStatistics
Quant Q&A

The document explains why investors searching SEC filings may not find loan-level ABS-EE data for residential mortgage-backed securities. The key distinction is between publicly registered offerings, for which loan-level disclosures are required, and Rule…

Fixed incomeUS marketsStatistics
Quant Q&A

The document challenges the idea that PCA and machine learning are rarely used in trading. It notes that machine learning covers many methods, from linear regression to random forests, and that firms have had varying degrees of success with them. It then…

Machine learningStatisticsFixed incomeEquities
Quant Q&A

The document considers how a leveraged exchange-traded fund affects the Sharpe ratio. Its answer applies a simple proportional scaling argument: if returns are doubled, their expected value doubles and their variance quadruples, so their standard deviation…

EquitiesStatisticsRisk management
Quant Q&A

The document asks how to calculate the remaining principal on a loan when interest accrues using Actual/360 or Actual/Actual day-count conventions. It contrasts these methods with a 30/360 amortization, for which a level-payment annuity formula can express…

Fixed incomeStatistics
Quant Q&A

The discussion examines whether corporate bond OAS should be adjusted for price or coupon differences when comparing bonds from the same issuer. It distinguishes a bond’s long-term value relative to a credit curve from its short-term trading value, which may…

Fixed incomeDerivatives pricingStatisticsRisk management