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 example considers a portfolio value defined as Brownian motion squared minus time. Applying Itô’s lemma to this function produces a drift term from the time derivative and the second derivative with respect to the Brownian state, alongside a stochastic…

StatisticsPortfolio construction
Quant Q&A

The note explains why portfolio theory commonly plots expected return against standard deviation rather than variance. Its example combines a risk-free asset with a risky asset: scaling the risky position by one half scales standard deviation by one half,…

Portfolio constructionStatisticsRisk management
Quant Q&A

The responses survey reinforcement learning (RL) applications in quantitative finance, with portfolio allocation as the main example. They describe critic-only methods, which choose actions using learned value estimates; actor-only methods, which optimize…

Machine learningPortfolio constructionBacktestingExecution
Quant Q&A

The document describes a student fund’s effort to improve how it represents a domestic government bond index held through fixed-income ETFs. Its current approach treats the index as one bond, discounts projected cash flows, and feeds that estimated value…

Fixed incomePortfolio construction
Quant Q&A

The document raises a methodological question about applying principal component analysis to financial asset series. It compares using price levels with using returns, and asks whether the selected series should be standardized before calculating covariance.…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document compares two ways to scale daily trading profit and loss: dividing by the previous day’s gross portfolio value or by the account’s initial equity. These choices describe different things. The prior-day value expresses each day’s gain relative to…

BacktestingStatisticsPortfolio construction
Quant Q&A

The document asks whether a proposed optimal holding for a CARA investor with normally distributed risky-asset payoffs is correct. Its setup compares expected payoff net of the risk-free investment cost with payoff variance, and suggests scaling expected…

Portfolio constructionPosition sizingStatisticsRisk management
Quant Q&A

The document asks whether Sharpe-style portfolio style analysis can explain equity fund performance using indices grouped by high, medium, and low ESG characteristics. It identifies suitable data as the central practical challenge and points to ESG scoring…

EquitiesFactor investingPortfolio construction
Quant Q&A

The document raises a portfolio optimization problem in which tracking error is constrained using a sample covariance matrix. It describes a case with 1,000 assets but only 60 monthly return observations, producing a covariance estimate that is not positive…

Portfolio constructionStatisticsRisk management
Quant Q&A

The answer demonstrates how a fixed-rate bond can be represented in QuantLib with an evaluation date, payment schedule, day-count convention, face amount, and coupon rates. The resulting cash-flow list contains coupon payments and the final principal…

Fixed incomeDerivatives pricingPortfolio construction
Quant Q&A

The discussion distinguishes contemporaneous factor models from forecasting models for portfolio optimization. In the Fama–French three-factor setup described, an asset’s return is related to factor returns from the same period. That relationship can help…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document examines how to interpret the stock and money-market components of a portfolio formed by holding a call and discounted cash equal to the strike. Under Black–Scholes assumptions, it combines the call price with the present value of the strike and…

OptionsDerivatives pricingPortfolio construction
Quant Q&A

The accepted answer explains how to minimize conditional value-at-risk, also called expected tail loss, using a scenario-based linear program. It introduces portfolio weights, a variable representing the value-at-risk threshold, and one auxiliary variable…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document describes a simulation designed to compare covariance transformations for minimum-variance portfolio construction. For each lookback window, the author samples portfolios of 100 assets, estimates a sample covariance matrix, transforms it, and…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document proposes a quadratic program for finding an efficient frontier between expected alpha and a portfolio’s residual variance relative to a benchmark. It expresses residual variance as portfolio covariance risk less the benchmark variance scaled by…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document asks how to construct an efficient frontier by optimizing portfolio weights at specified volatility levels, rather than relying on random sampling. It describes maximizing expected portfolio return subject to a volatility ceiling and nonnegative…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document considers how to estimate a portfolio variance-covariance matrix when assets began trading at different times. One direct method is to use only the period in which every asset has data, which avoids mismatched histories but discards older…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document describes how to express an unhedged US investment’s performance in euros. First, turn the dollar return series into a total-return price index, using an arbitrary starting value such as 100. Next, convert each index value into euros using the…

ForexStatisticsPortfolio construction
Quant Q&A

The document poses a fixed-income immunization question involving a mortgage asset with fixed payments, prepayment and option-adjusted spread models, and calculated price, duration, and convexity. The asset and a blend of liabilities are assumed to trade at…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document asks which risk-free rate to use when constructing a maximum Sharpe ratio portfolio from a rolling estimation window of monthly returns. It frames the problem within mean-variance portfolio theory, where the Sharpe ratio measures expected…

Portfolio constructionBacktestingRisk managementFixed income
Quant Q&A

The document explores reducing a large ETF or equity universe before portfolio optimization. Suggested approaches include clustering return series using correlation-based distances, examining PCA loadings to group assets with similar behavior, and using…

Portfolio constructionStatisticsEquitiesMulti-asset
Quant Q&A

The document considers a heterogeneous portfolio in which inverse-volatility risk parity can assign very large weights to instruments whose estimated volatility has fallen relative to the rest. It describes a proposed cap that compares risk-parity weights…

Portfolio constructionRisk managementPosition sizingVolatility
Quant Q&A

The document explains how to account for inflation when calculating an internal rate of return. Its method is to build a price index from the inflation rate, convert each cash flow into real terms by deflating it with the corresponding index, and then…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document describes difficulties implementing Black-Litterman with analyst-consensus views. The author reports portfolio weights that become negative or exceed the full portfolio allocation, as well as returns below a market-weighted benchmark. In one…

Portfolio constructionEquitiesRisk managementBacktesting