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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

5,922 documents

Quant Q&A

State prices are the current values of claims that each pay one unit in exactly one state and nothing in the others. To infer them from traded assets, each state-specific payoff must be replicable by a portfolio of those assets. The example has a bond paying…

Fixed incomeEquitiesPortfolio constructionDerivatives pricing
Quant Q&A

The question concerns a boundary in an investment problem with proportional transaction costs. At the boundary, it is optimal to pay a cost and move into another region of the value function. The paper reportedly imposes a first-derivative condition there,…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document describes a portfolio-construction task using monthly average quoted spreads for a broad set of companies over a long sample. The intended procedure is to rank stocks by a liquidity measure at the start of each year, divide them into ten equally…

EquitiesPortfolio constructionFactor investingBacktesting
Quant Q&A

The document explains why portfolio optimization commonly produces fractional target holdings even though some investors must trade whole shares. Integer constraints make optimization substantially harder than the continuous-weight problem, while larger…

Portfolio constructionEquitiesRisk management
Quant Q&A

The document explains how dated private equity cash flows enter an internal rate of return calculation. Capital calls and management fees are outflows and should be recorded as negative amounts; distributions are inflows and should be positive. For an…

StatisticsPortfolio construction
Quant Q&A

The document addresses whether portfolio assets should be negatively correlated or mostly uncorrelated. Its central lesson is a mathematical constraint: correlations across many assets cannot all be moderately negative while still forming a valid correlation…

Multi-assetPortfolio constructionStatistics
Quant Q&A

The document presents a question about the two risky asset tangency portfolio formula. It explores how the calculated weight of one asset changes as the assets’ correlation rises, holding expected excess returns and volatilities fixed. The example reports a…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document compares two approaches to empirical stock return prediction: estimating a panel regression with stock-level characteristics and sorting stocks into portfolios. Portfolio sorts are popular because their results are easy to explain and can be…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document considers how to construct a probability density for portfolio returns when the sample mean, variance, skewness, and kurtosis are known. It collects several suggested routes: estimate parameters for a chosen distribution, use a generalized…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The document asks how to express ordinary statistical views in the scenario-based form used by Entropy Pooling. It sets up a matrix of simulated outcomes for two variables, assigns equal prior probabilities to the scenarios, and describes a view matrix whose…

StatisticsPortfolio construction
Quant Q&A

The document sets up a portfolio of long and short European calls and puts on one underlying, with a common expiry and different strikes. It calculates initial cost by multiplying each option position by its quoted price and summing across contracts. A…

OptionsDerivatives pricingPortfolio construction
Quant Q&A

The discussion asks why risky portfolios are sometimes compared by cash equivalent rather than by expected utility alone. For a given utility function, the cash equivalent is the certain amount that gives the investor the same utility as the risky portfolio.…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document addresses why ordinary percentage returns can become misleading when a long-short strategy’s recorded P&L or value crosses zero. It presents a net asset value approach: account for the value of long holdings, short-sale proceeds, and the current…

EquitiesPairs tradingBacktestingPortfolio construction
Quant Q&A

The document examines why a covariance matrix for a large stock universe may remain singular after applying Ledoit–Wolf shrinkage. It suggests checking whether securities are duplicates or nearly perfectly correlated, since multicollinearity can make the…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The document considers whether annual portfolio volatilities can be combined to estimate volatility over a shorter span crossing calendar years. One reply presents a parallel variance algorithm: combine the observation counts, means, and variances of two…

Portfolio constructionVolatilityBacktestingStatistics
Quant Q&A

The document explains why the Hansen–Jagannathan bound constrains attainable Sharpe ratios rather than the individual means, volatilities, or factor betas of assets. A beta can be bounded using a covariance inequality when asset-return volatility is bounded…

Factor investingStatisticsRisk managementPortfolio construction
Quant Q&A

The document asks how to reward diversification in a fixed-income portfolio whose holdings vary by currency, yield, tenor, and class. It raises portfolio-weighted correlation and the Herfindahl index as possible ingredients, but does not develop either into…

Fixed incomePortfolio constructionRisk managementStatistics
Quant Q&A

The document surveys learning resources and possible uses of quantum computing in quantitative finance. It highlights optimization and simulation as areas of interest, including quantum annealing for constrained graph problems that may help represent…

Multi-assetArbitrageDerivatives pricingMachine learning
Quant Q&A

The document considers whether each point on the capital market line (CML) identifies a unique portfolio. It describes a mean-variance argument: for a target expected return, minimize portfolio variance subject to a return constraint. The Lagrange conditions…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document answers a question about commercial services that model how global events may affect asset classes and portfolios. It points to major factor risk model providers as an alternative to a macroeconomic scenario service, noting that these providers…

Multi-assetRisk managementPortfolio construction
Quant Q&A

The document considers how to construct a long-only mean-variance portfolio with a limited number of holdings. Instead of directly imposing a cardinality constraint, the suggested first step adds an L1 penalty on portfolio weights to the optimization…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document addresses how to backtest a strategy that trades a list of cryptocurrencies on a daily schedule. It recommends considering Backtrader, which supports event-driven strategies across multiple assets, and mentions Zipline as another possible…

CryptoBacktestingPortfolio construction
Quant Q&A

The document derives the variance of an equal-weighted portfolio from the covariance terms between its assets. The key correction is that the double sum contains two kinds of terms: each asset’s variance on the diagonal, where the asset is paired with…

EquitiesPortfolio constructionStatisticsRisk management
Quant Q&A

The document asks whether optimal risky-asset weights move in a predictable direction when correlations are removed while individual variances, expected returns, risk aversion, and the risk-free rate are held fixed. It contrasts the general unconstrained…

Portfolio constructionRisk managementStatistics