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 describes a proposed statistical arbitrage workflow: enumerate combinations of assets, estimate hedge weights by regressing one asset on the others, and seek a spread with substantial high-frequency variation but little low-frequency drift. A…

CryptoMean reversionPairs tradingStatistics
Quant Q&A

The discussion asks whether it is useful to solve a second optimization problem near the solution of a nonconvex problem, particularly when the two problems use different solvers. The response connects this idea to several established numerical optimization…

StatisticsPortfolio constructionRisk management
Quant Q&A

This discussion recommends literature for readers with a mathematical background who want to study optimization in finance. The suggestions range from treatments of efficient frontier calculations and Markowitz portfolio construction to a technical book…

Portfolio constructionRisk managementMulti-assetFixed income
Quant Q&A

The document explains how to derive the weight for one asset in a two-asset risk-budgeting portfolio. Each asset's contribution to portfolio volatility is set to its assigned budget, with budgets expressed as shares that sum to one. To remove portfolio…

Portfolio constructionRisk managementStatistics
Quant Q&A

This question concerns a quadratic program for portfolio weights that fails with an error reporting inconsistent constraints. The setup uses an identity objective matrix, zero linear term, return data for 15 assets, a fully invested constraint, and…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document asks how to describe scarce capacity for holding inventory or investments. Its examples include dealership lots, oil storage, warehouses, and an investment portfolio where an existing holding may need to be sold to fund a more attractive…

Portfolio constructionRisk managementEquities
Quant Q&A

The document surveys ways principal component analysis may inform equity strategies and portfolio construction. One cited approach removes common return components and seeks mean reversion in the residual returns of individual securities. It also mentions…

EquitiesStatisticsMean reversionPortfolio construction
Quant Q&A

The document presents a lump-sum allocation problem: divide capital among segments with different deferral periods, interest rates, and payment durations so that each segment reaches the same ending value. The proposed method defines each segment's growth…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document answers a question about calculating weekly turnover for a portfolio that rebalances regularly. It gives a basic measure: take the smaller of total purchases or total sales and divide by the portfolio’s market value. This convention measures one…

Portfolio constructionPosition sizingBacktesting
Quant Q&A

The document outlines a linear programming formulation for selecting securities to fund a known schedule of future payments at minimum initial cost. It recommends expressing required payments as a cumulative total through each month, then doing the same for…

Portfolio constructionFixed income
Quant Q&A

The document asks how to calculate the future value of an account funded by an initial contribution and regular additions, given a share price, a constant annual return, and a fixed number of periods. The response concludes that the ordinary or due annuity…

EquitiesPortfolio constructionStatistics
Quant Q&A

The response outlines a practical portfolio construction process for a large stock universe: screen holdings to a manageable set, estimate or model their covariance, impose linear portfolio constraints, and choose an objective that balances risk, alpha, and…

EquitiesPortfolio constructionRisk managementFactor investing
Quant Q&A

The document surveys ways to turn value investing into measurable stock-selection signals. It lists valuation measures such as dividend yield, earnings yield, price-to-book, return on equity, and accrual-based earnings quality, alongside related signals…

EquitiesFactor investingPortfolio constructionBacktesting
Quant Q&A

The document considers how to visualize a fund or portfolio that contains both positive-valued holdings and small negative items such as accrued fees or foreign-exchange hedging marks. The questioner prefers a pie-like representation and is looking for an…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document addresses how to estimate Value at Risk for a portfolio that receives regular contributions and is rebalanced between a risky asset and a risk-free bond. Its central distinction is between external cash flows and investment performance: deposits…

Risk managementPortfolio constructionBacktesting
Quant Q&A

The document explains how the Rockafellar-Uryasev formulation turns CVaR optimization into a linear program. A reader asks how VaR is calculated within the optimization and whether the constraint defining each scenario's excess loss is redundant because that…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers how to model dependence when individual market series have heavy-tailed, approximately Student t marginals. It explains that a conventional multivariate t distribution imposes a t copula with a shared degrees-of-freedom parameter,…

Multi-assetStatisticsPortfolio constructionBacktesting
Quant Q&A

The document explains that two stocks’ average returns do not determine their correlation. Correlation measures how paired returns move together over observations, while averages describe each series’ central value. The example gives two return series with…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document explains why portfolio skewness and kurtosis objectives do not fit standard quadratic programming. Variance is quadratic in portfolio weights, but skewness and kurtosis involve third- and fourth-order terms, respectively, so flattening tensors…

Portfolio constructionStatistics
Quant Q&A

The document considers adding vanilla interest rate swaps to an existing Monte Carlo VaR process for foreign exchange and commodities. The proposed simplified method estimates volatility and correlation from daily changes in par swap rates, simulates rate…

Fixed incomeMulti-assetRisk managementPortfolio construction
Quant Q&A

The document asks how to estimate future values for a portfolio containing a stock, a long-term coupon bond, and a European call option. It provides example daily inputs for the stock price, required yield, volatility, and short-term interest rate, and asks…

Multi-assetPortfolio constructionBacktestingDerivatives pricing
Quant Q&A

The document examines whether imposing sector neutrality erases the information in a stock trading signal. In its example, two technology stocks receive positive positions based on a contrarian signal, then the positions are adjusted to sum to zero. With…

EquitiesPortfolio constructionRisk managementMean reversion
Quant Q&A

The document develops a proposed way to approximate how estimation errors in two assets’ variances and their correlation affect the estimated variance of a weighted portfolio. It starts from the standard two-asset portfolio variance formula, expresses…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document explains why weights from PortfolioAnalytics’ rebalancing optimizer can differ from weights produced by a separate call to its portfolio optimizer. Rebalancing occurs at specified data endpoints, and at each endpoint the rolling window…

Portfolio constructionBacktesting