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

5,922 documents

Quant Q&A

The document asks whether an individual can earn positive returns with a home algorithmic trading setup, focusing on strategies held for several days to a month. The questioner seeks quantitative approaches with an edge at capacities too small to interest…

StatisticsArbitragePortfolio construction
Quant Q&A

The document asks why mean-variance optimization remains unevenly adopted despite its long history and commercial use. The responses describe practical obstacles: the method needs expected-return estimates and a covariance matrix, while return forecasts are…

Portfolio constructionRisk managementStatisticsEquities
Quant Q&A

The document explores how to value an annuity or perpetuity when its cash flows depend on a stochastic price process. The question formulates discounted operating cash flows with fixed costs, a liquidation value, and a stopping horizon, then asks whether a…

StatisticsDerivatives pricingRisk managementMean reversion
Quant Q&A

The document presents a portfolio score from an academic paper on selection in a value-at-risk framework and asks whether it has a recognized name comparable to the Sharpe ratio. The score uses expected portfolio return relative to the risk-free rate, scaled…

Portfolio constructionRisk managementStatistics
Quant Q&A

This document explains how to use the PMwR backtesting framework when trade sizing depends on portfolio state at each decision point. The example defines a signal function that reads current wealth, cash, and holdings, then uses that information while…

BacktestingPosition sizingPortfolio construction
Quant Q&A

The document asks how to break a portfolio’s compounded return into contributions from sectors when each fund holds a mix of sectors. Its example allocates each fund’s return across technology, energy, and other holdings, then compounds those sector-level…

Portfolio constructionStatistics
Quant Q&A

The document explains why investors may expect additional return for holding assets with systematic risk. It corrects the premise that investors cannot avoid this risk: they can choose a risk-free investment or, within the Capital Asset Pricing Model…

Risk managementPortfolio constructionStatistics
Quant Q&A

The document explains two ways to measure a portfolio’s return across periods when the amount invested changes. Compounding each period’s return produces a time-weighted return (TWR), which treats periods equally and is not directly affected by the timing or…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The discussion examines why portfolios that minimize variance, without forecasting expected returns, can produce attractive historical returns. Proposed explanations include the low volatility and low beta anomalies: high risk stocks may be bid up by…

EquitiesPortfolio constructionVolatilityFactor investing
Quant Q&A

Portfolio weights far above 1 or below 0 can represent leveraged long and short positions. In mean-variance optimization, extreme paired positions may arise when the model estimates that two similarly risky assets have sharply different expected returns. It…

Portfolio constructionRisk managementPosition sizingStatistics
Quant Q&A

The document frames a practical fund-selection problem: find one ETF or mutual fund for each of the market, size, value, and momentum factors, with the goal of tracking the Carhart four-factor returns cheaply. It proposes evaluating a candidate fund by…

Factor investingEquitiesPortfolio construction
Quant Q&A

The document concerns portfolio construction with monthly returns for several assets. It asks whether asset log returns should be averaged arithmetically and whether multiplying asset returns by portfolio weights gives the portfolio return when the…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document addresses where a researcher might obtain ETF holdings histories, including records of when securities enter or leave a fund. It points to ETF providers’ own websites, which may publish holdings as part of their disclosure practices, and to the…

EquitiesPortfolio construction
Quant Q&A

The discussion addresses how repeated runs of stochastic optimization can produce changing stock rankings, even after the model has converged. Suggested approaches include running multiple instances with different random seeds and aggregating their…

EquitiesMachine learningStatisticsPortfolio construction
Quant Q&A

The document presents a cash-flow replication method for determining the price of a risk-free bond from two other bonds. Each bond is represented by its payments at the present, six-month, and one-year dates. The target bond pays nothing at the intermediate…

Fixed incomeArbitragePortfolio construction
Quant Q&A

The document answers a practical question about displaying portfolio allocations across rebalancing dates. The example uses a matrix whose rows correspond to annual dates and whose columns represent stocks; the weights are equal in the sample. The desired…

Portfolio constructionEquitiesBacktesting
Quant Q&A

The document compares two ways to weight multiple trading signals using historical data. Linear regression chooses weights to minimize prediction error for a target return series; its unconstrained solution relates signal-return covariance to the inverse…

Portfolio constructionStatisticsRisk managementFactor investing
Quant Q&A

The document compares two ways to estimate value at risk for a fixed-income portfolio. A simple method combines yield volatility, measured in basis points, with position sensitivity such as PV01. For multiple bonds, summing individual VaRs assumes their rate…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document clarifies that the basic CAPM does not require investors to have identical degrees of risk aversion. Under mean-variance portfolio choice and homogeneous expectations, investors select the same optimal risky portfolio, identified in the model as…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document explains a timing problem in estimating covariances from daily returns on international stocks: markets close at different times, so their recorded closing prices do not represent the same point in the global trading day. It proposes first…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document concerns an implementation of the Betting Against Beta strategy that ranks stocks by estimated market beta, shorts higher-beta names, and takes long positions in lower-beta names. The author describes adjusting exposures toward a beta target and…

EquitiesFactor investingPortfolio constructionPosition sizing
Quant Q&A

The note addresses how nonlinear dependence between asset returns can matter for portfolio analysis even though portfolio weights combine returns linearly. It recommends framing the question through the joint probability distribution and checking whether a…

Portfolio constructionStatistics
Quant Q&A

The document asks how investment banks manage guarantees attached to retail funds, including pension-style products with a minimum return-of-contributions promise. The answer describes several possible arrangements rather than a single standard practice. For…

OptionsRisk managementPortfolio construction
Quant Q&A

The note explains a relationship between the Sharpe ratio of an actively managed portfolio, the benchmark’s Sharpe ratio, and the manager’s information ratio. It derives the result by scaling active bets and expressing portfolio return as benchmark return…

Portfolio constructionRisk managementPosition sizingStatistics