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 answers a request for a free tool or credible chart to support portfolio construction using modern portfolio theory. It points to R software for analyzing portfolio performance and specifying portfolio optimization, and names additional R…

Portfolio constructionMulti-assetEquitiesFixed income
Quant Q&A

The document asks whether the annual standard deviation of the S&P 500 can be recovered from the standard deviation of the global minimum-variance portfolio and their correlation. One response correctly notes that correlation alone normally requires…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document asks how to apply mean-variance optimization to a portfolio of municipal, high-yield, and investment-grade bond indexes when coupon information and option-adjusted duration are also available. It distinguishes monthly index returns from coupon…

Fixed incomePortfolio constructionStatistics
Quant Q&A

The document describes a hedging problem: an investor uses one exchange-traded future to offset broad portfolio exposure, but that contract may not represent every sector. When an omitted sector moves sharply, the hedge can leave substantial residual risk.…

FuturesRisk managementPortfolio construction
Quant Q&A

The document addresses portfolio optimization when domestic and international equity funds are highly correlated. It presents a long-only mean-variance formulation that balances expected performance against covariance-based risk, with a risk-aversion…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to measure the practical value of improving a covariance matrix estimator. It compares two estimators, with the second assumed to have lower loss, and asks whether the difference in their loss can be translated into an expected…

StatisticsPortfolio constructionRisk management
Quant Q&A

The question asks how to choose one of several candidate investments based on each candidate’s correlations with the holdings already in a portfolio. Possible rules include averaging correlations, weighting them by position size, or minimizing the largest…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers a proposed options relative-value trade: buy gamma on one underlying and sell gamma on a correlated underlying whose same-moneyness call has higher implied volatility. It describes the setup using a return beta, an implied-volatility…

OptionsVolatilityArbitrageRisk management
Quant Q&A

The document explains how to estimate a portfolio’s Sharpe ratio when deposits or withdrawals affect its recorded value. It recommends measuring portfolio value at regular intervals, adjusting each ending value for cash flows, and calculating returns…

StatisticsRisk managementPortfolio construction
Quant Q&A

Market closes occur at different times across regions, so daily returns for highly related assets may reflect different information windows. This timing mismatch can depress measured correlations between markets, such as Japan and the United States, and…

Multi-assetPortfolio constructionRisk managementStatistics
Quant Q&A

The document gives a basic accounting framework for backtesting a strategy that trades one instrument. It tracks cash separately from the number of units held, allowing the position to be long, flat, or short subject to chosen constraints. A purchase reduces…

BacktestingPortfolio constructionRisk management
Quant Q&A

The document explains why the long-run annualized growth rate of a portfolio driven by geometric Brownian motion is μ − ½σ², rather than the instantaneous expected return μ. It frames the distinction through the expected log return over a time horizon and…

StatisticsPortfolio constructionVolatilityRisk management
Quant Q&A

The document asks whether monthly index returns and risk measures, such as the Sharpe ratio, can be attributed to sector weights when the weights are known over time. Its central answer is that sector weights alone are insufficient: sector returns are also…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document considers risk oversight for a long-only portfolio of roughly 25–30 stocks held for periods ranging from one to twelve months. It frames the choice of tools as dependent on the investor’s risk tolerance and portfolio objective, rather than…

EquitiesRisk managementPortfolio constructionStatistics
Quant Q&A

The document describes a six-month formation, six-month holding momentum strategy for Malaysian stocks. It ranks stocks by past returns, forms winner and loser groups, and calculates the winner-minus-loser return. The response says that sorting stocks and…

EquitiesMomentumPortfolio constructionBacktesting
Quant Q&A

The document explains why a risk-free asset cannot always be added to a risky-asset covariance matrix by appending a row and column of zeros. That construction makes the matrix singular, which can prevent calculations that require a matrix inverse. A…

Portfolio constructionRisk managementFixed incomeStatistics
Quant Q&A

The document asks why two variance claims seem to conflict. One concerns aggregating returns across time: serial dependence can change the variance of a multi-period return relative to the variance expected under independent increments. The other concerns…

StatisticsPortfolio constructionRisk management
Quant Q&A

This short exchange answers a beginner’s request for introductory material on value at risk (VaR). It points to three books: Philippe Jorion’s treatment of VaR, John C. Hull’s overview of risk management and financial institutions, and Carol Alexander’s…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document distinguishes investment performance from cash added to an account. In its example, a stock rises from 100 to 105 while the portfolio also receives 50 in cash. If that cash is an asset-derived payment, such as a dividend or coupon, the total…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks whether the expected shortfall of a loss series formed from two time periods can be related to the expected shortfalls of the component periods. It explores a simplified distributional case: component losses are treated as normal, while the…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document asks how to choose among portfolios on a modern portfolio theory efficient frontier when the objective is long-run growth. It points readers to research on Kelly-optimal portfolios, including work on applying the Kelly criterion to stock…

Portfolio constructionPosition sizingStatistics
Quant Q&A

The document discusses how to define leverage for risk limits, including cases where assets are pledged to borrow funds and the borrowed proceeds are invested in lower-risk instruments. The proposed definition treats leverage as market exposure, whether long…

Risk managementPortfolio constructionFuturesFixed income
Quant Q&A

The document raises a portfolio-construction question about how correlations among long-only and short-only factor portfolios relate to the correlation of their combined long-short portfolio. The example concerns quality and value portfolios: the long-only…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document asks how to identify high-return portfolios from an international stock universe, with each portfolio containing a fixed number of holdings. The proposed constraints include bounds on individual weights, a target range for portfolio standard…

Portfolio constructionEquitiesRisk managementBacktesting