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 discussion addresses the lack of a direct implementation for a VECM-GARCH model in R and outlines a possible approximation. First estimate an error-correction term, for example with the Johansen procedure, then specify separate conditional mean and GARCH…

StatisticsVolatilityRisk management
Quant Q&A

The discussion corrects an annualized Sharpe ratio calculation based on 36 monthly observations. For monthly returns, the risk-free rate should also be expressed monthly, and the monthly Sharpe ratio is conventionally scaled by the square root of the number…

Risk managementStatisticsPortfolio construction
Quant Q&A

The Cornish-Fisher expansion approximates a target distribution’s quantiles using a reference distribution and information about the target’s cumulants. In modified VaR applications, it is commonly presented with the normal distribution as the reference and…

Risk managementStatisticsDerivatives pricing
Quant Q&A

The question compares Nasdaq volatility across years using average daily true range (TR). Since the index level changes over time, the author asks whether TR should be converted to a percentage or expressed through logarithms. The response says the right…

VolatilityStatisticsTechnical indicators
Quant Q&A

The document asks whether portfolio optimizers should reshape the covariance of expected-return forecasts, given that forecast covariance can be transformed independently of the market-return risk matrix. The response cautions that raw forecast covariance is…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document considers how to assess quantitative finance’s role in global markets and why attributing market earnings or losses to it is difficult. A central challenge is defining what counts as quantitative finance: possible categories range from…

Multi-assetStatisticsMarket microstructure
Quant Q&A

The document describes applying principal component analysis to changes in the yield curve. The main purpose is to identify a small set of dominant movement patterns that can provide a concise language for describing curve risk. The patterns cited are…

Fixed incomeStatisticsRisk management
Quant Q&A

The document raises a question about factor exposures when constructing equal-weighted and value-weighted benchmark portfolios from a cleaned set of U.S. listed firms. The portfolio universe contains firms across AMEX, NYSE, and NASDAQ, with membership…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document addresses how to calculate the Relative Strength Index when intraday prices are resampled into longer intervals, such as ten-minute bars, while decisions or updates occur more frequently. It asks whether to rebuild a moving history of bars at…

Technical indicatorsEquitiesStatistics
Quant Q&A

The discussion distinguishes daily rates for recently auctioned Treasury bills from constant-maturity rates. A bill labeled by its original term has less time remaining after issuance, so its quoted market rate reflects the security’s actual remaining…

Fixed incomeUS marketsStatistics
Quant Q&A

The post asks whether the volatility of a stock portfolio can be compared with the volatility of the S&P 500 when one is calculated from constituent volatilities and correlations and the other from observed index returns. The accepted answer says the direct…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document clarifies what is a martingale under a forward measure and whether clean or dirty bond prices qualify. A bond price alone is not generally a martingale under the T-forward measure; the relevant martingale is the asset price expressed relative to…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a Monte Carlo estimate for an up-and-out call can be too high when simulated paths use discrete time steps. A path may cross the barrier between sampled points and return below it before the next observation, so checking only the…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

This note considers how to estimate value-at-risk for a stock-and-bond portfolio when one stock has only a short post-IPO return history. It raises two possible workarounds: bootstrap the stock's observed returns to create a longer series, or substitute…

EquitiesFixed incomeStatisticsRisk management
Quant Q&A

The note explains the second pass of a linear beta-pricing model. First, estimate each asset’s market beta from a time-series regression of its excess returns on the market’s excess return. Then use the estimated betas as independent variables in a…

EquitiesFactor investingStatisticsRisk management
Quant Q&A

The question asks how to model high-frequency asset returns with a Student-t distribution after estimating two-scale realized volatility, and how to annualize the result and choose a sampling frequency. The response focuses on degrees-of-freedom estimation…

StatisticsVolatilityBacktesting
Quant Q&A

The document considers a price series that begins and ends at the same level and asks whether its arithmetic mean of log returns must be zero. The answer says yes, extending the claim to ordinary returns as well. The intuition is that the net change across…

StatisticsEquities
Quant Q&A

The document gathers advice for a mathematician with statistics and programming experience who wants to enter quantitative finance without first joining a hedge fund. It recommends exploring quant roles at banks or in academia, building relationships with…

OptionsDerivatives pricingStatisticsMachine learning
Quant Q&A

The document asks whether performance statistics such as profit factor and Sharpe ratio should be computed for each leg of a pairs trade separately or for the combined position. Its example shows that the measured profit factor differs depending on whether…

Pairs tradingStatisticsPortfolio construction
Quant Q&A

The document explains why the ratio of two zero-coupon bond prices, with a common valuation horizon, is a martingale under the forward measure associated with one bond. It focuses on the conditional expectation and the correct use of Bayes’ rule when…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether USD LIBOR can serve as a spot rate for discounting and whether a rate for a 16-day interbank loan can be estimated from overnight and one-month LIBOR. The answer emphasizes that suitability for discounting depends on the cash flows…

Fixed incomeStatistics
Quant Q&A

The document examines why an FX data feed from OANDA, accessed through an R package, includes Saturday and Sunday observations while another data source shows business-day records. The questioner suspects that weekend values might be imputed or interpolated…

ForexMarket microstructureStatistics
Quant Q&A

The document considers calibrating an equity stochastic-volatility model alongside a stochastic short rate, with correlations among the driving processes. It explains that the stated combination may lack a tractable closed-form pricing formula, making direct…

OptionsDerivatives pricingVolatilityFixed income