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 considers whether a second-order Taylor expansion of expected utility can select a preferred portfolio from the mean-variance efficient frontier. It illustrates the idea using power utility, final wealth tied to returns, and a normal-return…

Portfolio constructionStatisticsRisk management
Quant Q&A

The question asks how to choose a subset of factor portfolios to maximize Sharpe without testing every possible combination. The response frames the task as portfolio optimization and emphasizes first defining what “best” means, since minimum variance,…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document examines why a risk-aversion estimate in a simple Black–Litterman example does not reproduce the returns expected for each asset. It explains that the estimate derived from a chosen portfolio’s excess return and variance reflects that…

Portfolio constructionFixed incomeEquitiesStatistics
Quant Q&A

The document reviews a proposed Monte Carlo VaR workflow, including generating random shocks, introducing dependence with a correlation matrix, applying volatility and drift, simulating returns, and taking a tail quantile. The answers emphasize that the…

Risk managementStatisticsPortfolio constructionBacktesting
Quant Q&A

The document asks how to find sector data that are uncorrelated or isolate the component of one sector’s return stream that is independent of others. It reports variance inflation factor values for a set of stock-market sectors and notes that several exceed…

EquitiesStatisticsFactor investingPortfolio construction
Quant Q&A

The document explains that Basel standards generally operate as global recommendations adopted into national regulation, rather than applying directly to banks on their own. National regulators may implement them differently or impose stricter requirements,…

Risk managementPortfolio construction
Quant Q&A

The document examines a portfolio made from a fraction of the stock and a cash account, with holdings chosen so its value equals one share at each instant. It distinguishes matching the stock’s value from being self-financing: a portfolio can have the same…

EquitiesDerivatives pricingPortfolio construction
Quant Q&A

The document discusses whether hedge fund databases provide daily returns. One response argues that official prices are generally monthly because subscriptions and redemptions are commonly monthly, and advises caution toward daily figures. It names HFRX as a…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document describes how to maintain a bond price or return index when eligible bonds mature, lose qualification, or are newly issued. It recommends a rule-based process that selects the eligible basket at each month end using stated criteria such as…

Fixed incomePortfolio construction
Quant Q&A

The document shows how to generate correlated standard normal shocks for a multi-asset Monte Carlo simulation. Given the assets' correlation matrix, take its Cholesky factor, a lower triangular matrix whose product with its transpose recovers the correlation…

Multi-assetStatisticsBacktestingPortfolio construction
Quant Q&A

The document explains derivatives as contracts that transfer financial risk between counterparties. For a typical voluntary contract, one party's payoff corresponds to the other's opposite payoff, so the instrument reallocates wealth rather than inherently…

Derivatives pricingRisk managementPortfolio construction
Quant Q&A

The answer diagnoses a failed PortfolioAnalytics optimization call as a problem with the supplied inputs. It explains that the optimization function expects a return time series for R, rather than a vector of initial weights, and that initial weights are…

Portfolio constructionEquitiesRisk managementExecution
Quant Q&A

The document describes a plug-in mean-variance portfolio calculation from estimated asset means and a sample covariance matrix. It forms a direction of exposure by multiplying the inverse covariance matrix by the mean-return vector, then scales that vector…

Portfolio constructionStatisticsRisk management
Quant Q&A

The discussion asks whether mainstream academic finance and factor models have produced funds with long records of unusually high absolute returns. Responses point to Yale’s endowment as an academically informed investor, while cautioning that it is not a…

Factor investingPortfolio constructionRisk management
Quant Q&A

The document asks whether a Markowitz-style portfolio risk calculation can use each bond’s PV01, or dollar value of a basis point, in place of return volatility. It also asks whether to use raw PV01 exposures or normalized PV01 weights, noting that weights…

Fixed incomePortfolio constructionRisk managementStatistics
Quant Q&A

The document derives the risk-neutral value of a European straddle with payoff equal to the absolute difference between the terminal asset price and strike. Under the Black–Scholes assumptions, it expresses the value as a call and put, then rewrites it as…

OptionsDerivatives pricingPortfolio construction
Quant Q&A

The document poses implementation and interpretation questions about marginal risk contributions in a long-short portfolio. It describes legacy code that applies a marginal volatility formula using each instrument’s sided U.S. dollar notional as its weight.…

Risk managementPortfolio constructionPosition sizing
Quant Q&A

The document raises a portfolio construction problem for applying Black–Litterman when selected instruments overlap in their underlying holdings. Examples combine a broad equity fund, a clean energy fund, and individual stocks that may be constituents of…

Portfolio constructionEquitiesStatistics
Quant Q&A

The document describes a two-stage approach for turning stock return forecasts into a portfolio with lower tracking error against the S&P 500. An alpha model first selects stocks expected to outperform; a portfolio construction model then adjusts their…

EquitiesPortfolio constructionRisk managementFactor investing
Quant Q&A

The document addresses how to keep a portfolio optimizer from assigning zero weight to securities an investment team wants represented. It describes a mean-variance objective using expected returns and a covariance matrix, then proposes minimum weight bounds…

EquitiesPortfolio constructionPosition sizingRisk management
Quant Q&A

The document discusses how to choose a training duration for a deep reinforcement learning portfolio agent when training loss keeps falling but out-of-sample performance has flattened. It frames the number of training epochs as a hyperparameter and…

Machine learningPortfolio constructionBacktestingStatistics
Quant Q&A

The discussion asks how to build a quantitative stock strategy from prices and financial reports, with backtesting aimed at return and risk-adjusted performance. The responses explain that fundamental investing in quantitative form is often expressed through…

EquitiesFactor investingBacktestingPortfolio construction
Quant Q&A

The document explains why a regression intercept estimated from monthly active and benchmark returns need not match the difference between their cumulative returns over a longer period. The regression describes a relationship at the frequency of its input…

StatisticsFactor investingPortfolio construction
Quant Q&A

The document considers how team based quantitative challenges can build skills in programming, residual analysis, portfolio management, allocation, statistics, and decision making under changing objectives. The original prompt seeks research exercises using…

StatisticsMachine learningPortfolio constructionBacktesting