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 examines whether pairwise dependence measures such as correlation, Kendall’s tau, or tail dependence can replace covariance in a quadratic portfolio risk calculation. Covariance has a specific justification: for portfolio returns, the quadratic…

Portfolio constructionRisk managementStatisticsDerivatives pricing
Quant Q&A

The discussion addresses how to construct a delta-hedged portfolio using S&P 500 index and futures data when a data source provides a continuous E-mini series without an explicit maturity. It suggests inferring a listed contract’s expiration from its ticker…

FuturesOptionsDerivatives pricingPortfolio construction
Quant Q&A

The document asks whether levered equity beta can be calculated from debt and equity balances when an unlevered beta is unavailable. Its answer rearranges a weighted average cost of capital expression to relate the cost of equity to the overall capital base…

EquitiesRisk managementPortfolio construction
Quant Q&A

The document compares several proposed ways to calculate the information ratio from daily portfolio and benchmark returns. It explains that the ex post measure uses average active return—the portfolio’s mean return minus the benchmark’s mean return—divided…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document points readers seeking an overview of credit risk premia toward research on corporate bonds, systematic credit strategies, and tactical allocation. The cited work argues that measuring credit excess returns requires adjusting for interest-rate…

Fixed incomePortfolio construction
Quant Q&A

The document maps common financial modeling tasks to Python's scientific and finance ecosystem for someone moving from Matlab. It groups tools by purpose: portfolio optimization and risk analytics, instrument pricing, time series analysis, technical…

Multi-assetPortfolio constructionDerivatives pricingStatistics
Quant Q&A

The discussion compares factor-based portfolio construction with mean-variance optimization. Factor models can forecast expected returns and represent covariance risk; portfolio constraints can also control exposure to factors, sectors, or individual…

Portfolio constructionFactor investingRisk managementStatistics
Quant Q&A

The document considers how subtracting a return average or a benchmark return changes beta, correlation, and covariance calculated from daily log returns. Its answer says that subtracting the same average from each series does not alter these measures.…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document derives asset betas relative to a risk parity portfolio from asset volatilities and the correlation matrix. Risk parity is defined here as weights whose products with their respective volatilities are equal, with weights normalized to sum to…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document addresses whether the Sharpe ratio should use discrete returns or continuously compounded returns. Its answer distinguishes the context: discrete returns are customary for client reporting, while the choice generally has little impact in a…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document explains why common shares can have intrinsic value even when a company currently pays no dividends. Shareholders hold voting rights and a residual claim on a firm’s assets and cash flows, though that claim ranks behind creditors and other…

EquitiesPortfolio construction
Quant Q&A

The document compares the classical mean–variance portfolio objective with an alternative that penalizes return standard deviation directly. The proposed objective may be easier to interpret because volatility is expressed in the same units as returns. The…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document addresses whether currency exposure in international portfolios earns compensation for its risk. Its answer characterizes foreign exchange returns as having approximately zero expected return while retaining volatility, suggesting that currency…

ForexMulti-assetRisk managementPortfolio construction
Quant Q&A

The document describes a forecasting problem: applying compound annual growth rates separately to business lines does not necessarily produce the same next-period total as applying a CAGR to their combined value. The reason is that aggregate growth depends…

StatisticsPortfolio construction
Quant Q&A

The document asks whether each eigenvector from a principal component analysis of an asset covariance matrix can be interpreted as an eigenportfolio. With no components discarded, it proposes that a portfolio of n assets yields n such portfolios, ordered by…

StatisticsPortfolio constructionMulti-asset
Quant Q&A

The document discusses representing a fixed-rate, amortizing loan in QuantLib when a built-in loan or mortgage class is not apparent. The response constructs a fixed-rate bond for coupon payments, adds an initial amortizing payment for the loan principal,…

Fixed incomeDerivatives pricingPortfolio construction
Quant Q&A

The document discusses how to choose a long-run growth or discount assumption for a perpetuity in firm valuation. One response suggests linking the rate to the valuation model and using a risk-free rate reduced by three percentage points for earnings-based…

EquitiesPortfolio constructionStatistics
Quant Q&A

The example explains why restoring target weights in a leveraged long-short portfolio can require buying an appreciated asset and increasing a short position in an underperformer. After a strong gain in the long asset, the portfolio’s total value has also…

Portfolio constructionPosition sizingRisk managementTrend following
Quant Q&A

The document raises a portfolio selection problem: maximizing the Omega ratio for non-normal returns can favor assets with unusually high returns and produce a portfolio whose holdings have similar, correlated return patterns. The investor describes…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to estimate term structures of default probabilities when market data is unavailable, including for non-listed firms. It notes that migration-based Markov chains can turn historical rating transitions into rating-specific default…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document discusses a long-short portfolio formed by taking equal-weight average monthly returns for two groups of stocks, subtracting the mature group’s returns from the technology group’s returns, and regressing the spread on Fama-French market, size,…

EquitiesPortfolio constructionFactor investingStatistics
Quant Q&A

The document asks how to infer a client’s risk-aversion parameter from an already chosen optimal portfolio of two assets under quadratic utility and a full-investment constraint. It defines portfolio utility as expected return minus a variance penalty, with…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document asks how to set internal concentration limits for a retail credit portfolio and whether the Herfindahl-Hirschman Index (HHI) is suitable. It defines HHI as the sum of squared exposure weights and notes that its range depends on the number of…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document explains how to aggregate ordinary monthly returns into quarterly returns. For each quarter, add one to every monthly return, multiply those gross returns together, and subtract one. This captures the effect of sequential returns; simply summing…

EquitiesStatisticsBacktestingPortfolio construction