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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

5,922 documents

Quant Q&A

The document compares R with commercial tools such as Matlab and Mathematica for quantitative research. It notes that R has packages for statistical analysis, simulation, optimization, and numerical integration, then gathers user reports about areas where…

StatisticsMachine learningBacktestingPortfolio construction
Quant Q&A

The note explains why a long-short factor portfolio such as SMB or HML is not necessarily market neutral. The factors are assembled from six portfolios formed by sorting stocks on size and book-to-market, rather than by explicitly targeting zero market…

EquitiesFactor investingPortfolio constructionRisk management
Quant Q&A

The document considers a two-stock market and asks how expected return relates to beta for portfolios made from the stocks, and for efficient portfolios that combine risky assets with a risk-free asset. The answer distinguishes the Security Market Line…

EquitiesPortfolio constructionRisk management
Quant Q&A

The document raises practical questions about using block bootstrap to generate synthetic histories for a stock portfolio and a market index. Its central concern is preserving pairwise dependence across assets while resampling time-series data. It asks…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document asks whether a security with positive variance can rationally offer a return below the risk-free rate. The main response says it can be attractive as part of a portfolio if its returns are negatively correlated with other assets that have…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document examines why principal components extracted from yield curve data may correlate less strongly with familiar level, slope, and curvature measures than a reference study suggests. The questioner fits PCA to par yields and compares the resulting…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document raises a portfolio-construction question about coordinating an alpha model with a statistical risk model. The risk model decomposes returns into factor exposures and factor returns, leaving residual returns. The proposed alpha model uses…

Factor investingPortfolio constructionMachine learningStatistics
Quant Q&A

The document assesses a shortcut for obtaining a global minimum-variance portfolio under a no-short-sale constraint. The shortcut first computes the unconstrained closed-form portfolio, sets negative weights to zero, and renormalizes the remaining weights to…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document asks how futures positions can change a portfolio’s beta, referring to a textbook explanation that reduces beta by cutting short futures contracts and raises it by adding long contracts. The underlying idea is that a futures position contributes…

FuturesRisk managementPortfolio construction
Quant Q&A

The discussion describes how to represent a complex payoff as a weighted combination of simpler instruments, such as the underlying, zero-coupon bonds, calls, and puts. It frames the task as minimizing the difference between the target payoff and the…

OptionsDerivatives pricingPortfolio constructionStatistics
Quant Q&A

The answer distinguishes three CRSP index concepts by construction and purpose. It characterizes the CRSP US Total Market Index as a relatively recent, market-capitalization-weighted index designed to be held by index funds. It contrasts that product with…

EquitiesPortfolio constructionUS markets
Quant Q&A

The document gives a broad overview of securitizing a loan portfolio, including how investor needs can shape tranche design. It describes a common sequential payment waterfall: senior bonds receive principal and interest first, while losses and, where…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document asks whether tactical asset allocation ranges around strategic benchmark weights can be derived from asset-class correlations and information ratios without starting from proposed tactical weights or signals. It outlines two existing approaches:…

Multi-assetPortfolio constructionRisk management
Quant Q&A

The document examines whether asset-level absolute risk contribution limits can be added to a return-maximizing portfolio optimization problem with a volatility cap. It defines portfolio volatility from the covariance matrix and weights, then derives…

Portfolio constructionRisk managementDerivatives pricing
Quant Q&A

The document asks how to judge whether an estimated covariance matrix predicts future portfolio risk. It considers comparing a training-period estimate with a later sample covariance using the Frobenius norm, then suggests evaluating whether a mean-variance…

StatisticsPortfolio constructionRisk managementBacktesting
Quant Q&A

The document asks whether mean-variance optimization research remains worthwhile when expected-return estimates are noisy. It cites a discussion of out-of-sample results in which more accurate volatility forecasts alone did not materially improve the Sharpe…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The document poses a portfolio optimization problem in which asset positions determine portfolio weights, all weights must sum to one, and each weight must remain below a specified cap. It asks whether a standard algorithm can adjust positions to satisfy the…

Portfolio constructionPosition sizingRisk management
Quant Q&A

The document considers how machine learning could extend cross-sectional factor models used to explain security returns and estimate portfolio variance. It suggests modeling factor exposures as functions of observable security characteristics, such as size,…

Machine learningFactor investingEquitiesPortfolio construction
Quant Q&A

The document compares a portfolio of call options on individual assets with a call option written on a weighted portfolio of those assets. For nonnegative weights summing to one, the payoff of a call is a convex function of its underlying value. Convexity…

OptionsDerivatives pricingPortfolio construction
Quant Q&A

The document raises an alternative to the common factor backtest that buys the highest-ranked group and shorts the lowest-ranked group. It quotes a research proposal to construct a long-only portfolio with exposure to a chosen factor while targeting a…

Factor investingBacktestingPortfolio construction
Quant Q&A

The document examines a past-return reversal strategy that buys prior losers and sells prior winners, referring to a paper's rule for constructing portfolio weights. The questioner understands the use of a half-gross-exposure scaling term but is unsure why…

EquitiesMean reversionPortfolio construction
Quant Q&A

The document explains how to aggregate daily security-level contributions to return (CTR) across a multi-day period while preserving the portfolio total. It first sums security contributions for each day to obtain the portfolio’s daily return, then compounds…

Portfolio constructionStatistics
Quant Q&A

The document describes a thesis design for testing cross-sectional momentum in cryptocurrencies. Each week, coins are ranked by their past value-weighted log returns over several lookback windows, then divided into five equal-weighted portfolios. The…

CryptoMomentumFactor investingPortfolio construction
Quant Q&A

The document raises a question about redundancy when three securities each have two possible future payoffs. It describes a common exercise setup: represent each asset by its payoff in the two states, then solve two equations to find holdings in two…

StatisticsDerivatives pricingPortfolio construction