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 asks about the sampling and large-sample distributions of a statistic defined as the root of an equation involving observed portfolio returns and risk-free rates. By setting the displayed function to zero, the author reduces the problem to…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document frames a problem in which a trader chooses among candidate forward trades with known expected profits and maturity dates while operating under a finite capital limit. Since positions tie up capital until maturity, taking a profitable trade now…

FuturesPosition sizingPortfolio constructionRisk management
Quant Q&A

This note clarifies what it means for a bond to earn its yield to maturity over its life. The explanation uses a semiannual coupon bond and algebraically compounds the bond's initial price at its yield to maturity through maturity. The resulting future value…

Fixed incomeCarryPortfolio construction
Quant Q&A

The document asks how to compare a sector rotation strategy using SPDR sector ETFs with a buy-and-hold investment in SPY when their share prices differ. It considers standardizing or scaling price series, but the replies redirect attention from nominal price…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document describes the payoff of a principal-protected note that returns a specified portion of the notional at maturity and adds a participation-rate share of any positive stock return. It rewrites the premium in return terms, clarifying that the…

EquitiesOptionsDerivatives pricingPortfolio construction
Quant Q&A

The document raises a conceptual question about Value at Risk (VaR). It notes that VaR is not subadditive in general: the risk measure for a combined portfolio can exceed the sum of the measures for its parts. This property can make diversification or…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document addresses a return-calculation problem for portfolios with short positions: applying the usual logarithm to a short’s arithmetic return can become undefined when the loss exceeds the investor’s capital under the stated return convention. The…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document asks how to convert annualized three-month Treasury bill discount rates into daily risk-free returns for portfolio simulation. The proposed approach converts an annual rate into a daily compounded rate, then takes its logarithm. The response…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document asks how to test forecasts from a multifactor portfolio risk model, using the Barra handbook as context. It distinguishes risk-model evaluation from alpha-model evaluation: an alpha forecast can be compared with subsequently realized alpha,…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document examines whether internal rate of return can be understood as the yield earned only by capital while it remains committed to an investment. The response returns to the standard definition: IRR is the rate that equates an initial investment with…

StatisticsPortfolio construction
Quant Q&A

The document raises a performance measurement problem: how to calculate the return on one asset when shares are bought at different prices over time. A simple price return from the first purchase would overstate the experience of an investor who added shares…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document explains why a long-short portfolio’s return depends on the capital assigned to support its positions. With a short sale, the amount invested in securities does not directly represent the investor’s capital, so return calculations need a…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

The note considers how foreign exchange exposure affects the risk of a portfolio holding foreign assets. For an unhedged position, the return can be represented as the hedged portfolio return plus a scaled currency return. Its variance includes the portfolio…

ForexPortfolio constructionRisk management
Quant Q&A

The note addresses how to combine the yields to maturity of bonds in an equally weighted portfolio. Equal weighting generally means investing equal dollar amounts, so the holdings have equal market values; face values can differ because bond prices differ.…

Fixed incomePortfolio construction
Quant Q&A

The document outlines a practical way to consolidate risk measures for a multi-market options portfolio. Its central recommendation is to separate security-level risk calculations from products and reports: calculate exposures in a shared system, store…

OptionsMulti-assetRisk managementPortfolio construction
Quant Q&A

This explanation clarifies the notation used when approximating a continuous-time trading strategy. The portfolio holding, denoted by phi, is a number of shares that may vary over time. The superscript n in phi^(n) labels an approximation built using n time…

StatisticsPortfolio construction
Quant Q&A

The discussion explains why portfolio optimization commonly fixes the sum of asset weights at one, and why other constraints may suit different mandates. A fully invested constraint reflects clients who expect their capital to remain invested, while a…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document raises a practical problem in covariance estimation: missing observations can produce a sample covariance matrix that is not positive semidefinite, which prevents some downstream methods from using it directly. It asks how to judge a correction…

StatisticsPortfolio construction
Quant Q&A

The document considers whether Federal Reserve purchases of Treasuries and mortgage-backed securities helped fuel an S&P 500 rally. Its answer describes sellers as potentially reinvesting proceeds in other assets, holding them at the Fed, or using them for…

EquitiesUS marketsFixed incomePortfolio construction
Quant Q&A

The note compares two ways to measure the predictive relationship between stock forecasts and realized returns. A time-series IC is computed for each stock across dates and then averaged; a cross-sectional IC is computed across stocks on each date and then…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The discussion explains why a portfolio’s geometric growth rate can rise when several assets are combined. The key mechanism is diversification: when assets are not perfectly correlated, combining them can reduce portfolio volatility while leaving the…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document considers how to merge two expected-return profiles for the same asset when they cover the same total period but use different interval lengths. Its proposed procedure is to express both profiles on a common grid, convert the coarser forecast…

StatisticsPortfolio construction
Quant Q&A

The document raises design questions for a web chart showing the equity performance of foreign-exchange trading strategies. It asks whether equity should be recorded on every market tick or at a coarser interval, noting that frequent snapshots can create…

ForexBacktestingPortfolio construction