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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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 discusses choosing hedges for a vanilla bond portfolio, including bond futures. It suggests that matching a portfolio’s DV01 and maturity to a futures contract is a basic starting point, then points to key rate durations as a way to measure…

Fixed incomeFuturesRisk managementPortfolio construction
Quant Q&A

The document asks how a dealer might hedge a large single-stock position acquired in a client block trade. The dealer is described as seeking to reduce the risk carried on its balance sheet, potentially by shorting other spot equities. The author wonders…

EquitiesRisk managementPortfolio constructionExecution
Quant Q&A

The document frames a monthly subscription that lets a customer select a limited number of products from a larger catalog as an option-like payoff. It assumes each product has a subscription price that acts like a strike and an outside-market price that acts…

OptionsDerivatives pricingPortfolio constructionRisk management
Quant Q&A

The discussion explains how a forecasting model can have negative out-of-sample R² while still supporting profitable long-short positions. If the forecast ranks assets well but misestimates the overall return level, the squared-error measure can be poor even…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document considers how to distinguish a manager’s deliberate stock selections from positions that simply differ from a benchmark. That distinction is difficult when the benchmark is unknown or poorly matched to the fund’s style, and when a fund holds…

EquitiesPortfolio constructionFactor investing
Quant Q&A

The document describes a mean-variance allocation problem that minimizes portfolio variance under a full-investment constraint, weight bounds, and an optional target-return constraint. It also mentions a covariance shrinkage result for minimum global…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks whether standard deviation remains useful when returns have heavier tails than a normal distribution and surveys alternatives. Standard deviation can serve as a first approximation when risk means deviation from expected return and variance…

Risk managementStatisticsPortfolio construction
Quant Q&A

This note outlines a framework for attributing daily P&L in portfolios holding bonds, FX forwards, and deposits. For interest-rate moves, it pairs rate sensitivities such as PV01 with changes in curve rates, distributed across chosen tenor buckets.…

Fixed incomeForexRisk managementPortfolio construction
Quant Q&A

The question asks how to select stock indicators that update daily when portfolio optimization uses adjusted daily closing prices. It contrasts price-based measures, which can change each trading day, with accounting ratios that generally update when…

EquitiesTechnical indicatorsPortfolio constructionBacktesting
Quant Q&A

The document collects suggestions for studying stochastic control and optimization in finance, including the Merton portfolio problem and related topics. Contributors point to work on optimal wealth allocation and decumulation, as well as books covering…

StatisticsPortfolio constructionDerivatives pricing
Quant Q&A

The discussion connects constant rebalanced portfolios (CRPs) and volatility pumping to the path dependence studied in leveraged exchange-traded funds. The accepted answer proposes studying leveraged fund models, then considering a de-leveraged version to…

Portfolio constructionVolatilityOptionsDerivatives pricing
Quant Q&A

The discussion explains why two risky assets typically produce a curved efficient frontier in mean and risk space, while adding a risk-free asset can produce a straight capital allocation line. With a positive definite covariance matrix, the relationship…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document frames a benchmark construction problem for a basket of coupon bonds denominated in the same currency but differing in maturity, face value, coupon, and outstanding amount. It asks how to summarize the basket with an index yield, and considers a…

Fixed incomePortfolio constructionStatistics
Quant Q&A

The document discusses calculating covariance for portfolios with an arbitrary number of assets. It describes forming a covariance matrix from a matrix of asset returns, which provides a general representation beyond formulas for pairs or small groups of…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document considers how to separate returns from general asset allocation, security selection, and tactical allocation when portfolio holdings and weights change over time. The investor proposes maintaining a replica portfolio that mirrors trades in the…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document explains why knowing each of two strategies’ correlations with a benchmark does not by itself determine the correlation of their combined portfolio. It derives the portfolio’s covariance with the benchmark as the weighted sum of each strategy’s…

StatisticsPortfolio construction
Quant Q&A

The document asks how to choose software or packages for minimizing a portfolio’s tracking error while adding corporate social responsibility constraints to an S&P 500 portfolio. The proposed study compares five specifications of expected tracking error:…

EquitiesPortfolio constructionRisk managementBacktesting
Quant Q&A

The document explains why maximizing a company’s stock value can be a more informative objective than maximizing reported or expected profits when future outcomes are uncertain. Profit depends on the period being measured and can be affected by accounting…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document compares three ways to estimate average correlation among stocks in a portfolio or index. The first computes pairwise correlations and weights them by constituent weights, excluding self-correlations. The other two infer correlation from…

EquitiesStatisticsPortfolio constructionVolatility
Quant Q&A

Ex-ante tracking error is the standard deviation of the portfolio’s return minus the benchmark’s return. It can be computed from the excess-weight vector and a covariance matrix covering the full return universe. Securities absent from the benchmark remain…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document examines how to interpret clearing-house interest rate swap and overnight indexed swap quotes when bootstrapping discount and forward curves. The response says the three-month LIBOR swap rates from CME and LCH appear broadly comparable, with CME…

Fixed incomeDerivatives pricingStatisticsPortfolio construction
Quant Q&A

The document asks whether a mean-variance optimization can produce a portfolio with higher variance and lower return as the risk-appetite parameter changes. It also asks whether increasing the parameter could correspond to an inverse relationship between…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks about a condition in a mathematical definition of a constrained market: sufficiently small nonzero cash-flow positions can be scaled up to a specified size while remaining feasible. The answer says this condition is included mainly to make…

Portfolio constructionStatistics
Quant Q&A

The document compares ways to obtain international company fundamentals for a stock screening database. The requested data includes financial statements and basic market quotes across multiple countries, with no need for real-time updates. It presents two…

EquitiesPortfolio constructionStatistics