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

BigQuant

This report examines whether mainland China’s northbound investor flows can inform A-share trading. It tests flow thresholds for market timing, ranks sectors and stocks by net inflows, and combines sector selection with stock selection. The timing approach…

EquitiesChina marketsMarket microstructureMomentum
pysystemtrade

The code builds a portfolio of instruments through a greedy selection process. It first scores each eligible instrument individually, then repeatedly adds the candidate that gives the highest estimated portfolio Sharpe ratio. Correlations enter through a…

Portfolio constructionRisk managementPosition sizingExecution
SuperMind

The document explains simple investment return and annualized return. It defines return using beginning and ending investment value, with cash distributions such as dividends included in the ending value. For periods other than one year, it describes…

StatisticsPortfolio constructionRisk management
Qlib

This Qlib configuration defines a Chinese equity workflow using the CSI 300 universe and its associated benchmark. It prepares Alpha360 features with robust score normalization and missing-value filling, while labels are rank-normalized after missing labels…

EquitiesMachine learningBacktestingPortfolio construction
Quant Q&A

The document presents a fixed-income portfolio optimization problem implemented with a convex optimization package. The setup uses expected returns, a covariance matrix, a benchmark or reference rate, and constraints related to nonnegative positions and…

Fixed incomePortfolio constructionRisk managementDerivatives pricing
Quant Q&A

The document presents a portfolio optimization problem involving integer long or short futures positions, transaction costs, expected returns, covariance, position bounds, and a target volatility range. The proposed objective subtracts transaction costs from…

FuturesPortfolio constructionPosition sizingBacktesting
Quant Q&A

The document asks how to estimate the distributions of drawdown duration and depth under specified portfolio dynamics. It notes that the arcsine law for Brownian motion suggests extended periods below a prior high, and asks how the analysis might change for…

Risk managementStatisticsPortfolio constructionBacktesting
Quant Q&A

The document distinguishes portfolio returns across securities at one point in time from cumulative returns across time. In its example, the daily portfolio return comes from comparing the combined closing value of one share of each holding with their…

Multi-assetStatisticsPortfolio constructionBacktesting
Quant Q&A

The document addresses why a PyPortfolioOpt workflow can return NaN weights, expected returns, volatility, and Sharpe ratio when optimizing a portfolio from historical data. Its example estimates expected returns and sample covariance from a table of asset…

Portfolio constructionBacktestingRisk managementStatistics
Quant Q&A

The document discusses a student’s portfolio-management exercise involving three risky assets, expected returns, standard deviations, a tangency portfolio, and a mix of that portfolio with a risk-free asset. The response focuses on clarifying how to generate…

Portfolio constructionStatisticsRisk managementFixed income
Quant Q&A

The document outlines ways to construct an equity portfolio using dividend characteristics. One example selects stocks using forecast dividend yield, calculated from expected next dividends relative to price, then weights selected holdings by market…

EquitiesFactor investingPortfolio construction
Quant Q&A

The document derives the first-order condition for an investor maximizing expected terminal wealth minus a risk penalty based on terminal wealth variance. With terminal wealth expressed as initial wealth multiplied by the risk-free growth and risky-asset…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document raises the problem of exchanging trading signals between collaborators who want to preserve some confidentiality. A signal should not be judged by its standalone predictive strength alone: its value depends on how it overlaps with the…

Portfolio constructionStatisticsRisk managementMachine learning
Quant Q&A

The discussion asks whether mean-variance optimizers produce the same portfolio when one accepts expected returns, volatilities, and correlations while another estimates a covariance matrix from historical prices. The answer explains that correlation…

Portfolio constructionStatisticsRisk management
Quant Q&A

The discussion examines a claim that portfolio variance is always below the weighted average of the component variances. For two assets, it writes portfolio variance in terms of each asset’s variance and their correlation, then uses the fact that correlation…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document addresses how to identify the portfolio fraction that maximizes expected log wealth in a continuous-time Samuelson model with a zero safe rate. A risky allocation generates drift proportional to its expected return and volatility proportional to…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document considers whether daily strategy returns for a Sharpe ratio should use realized profit and loss from cash alone or include the market value of open positions. The answer favors marking the account to market each day, so gains and losses accrue…

BacktestingRisk managementPortfolio construction
Quant Q&A

This question considers how to estimate a company’s weighted average cost of capital in a market organized around Islamic finance. The author distinguishes transaction-based financing, where returns are tied to an asset purchase, from profit-and-loss-sharing…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document considers how an investor might choose between a company’s equity and debt rather than allocating to each solely according to benchmark weights. Holding both securities can offset some of the company’s financing leverage, while giving the…

EquitiesFixed incomePortfolio constructionRisk management
Quant Q&A

The document lists statistical and structural features proposed as checks on whether generated financial correlation matrices resemble empirical ones. These include a pairwise-correlation distribution shifted toward positive values, an eigenvalue spectrum…

Portfolio constructionStatisticsMachine learningEquities
Quant Q&A

The document explains how to include a zero factor-exposure requirement in a mean-variance portfolio optimization. For asset weights collected in a vector and asset betas in another vector, portfolio beta is their dot product. Setting that product to zero…

Portfolio constructionRisk managementFactor investing
Quant Q&A

The document discusses how to interpret regression coefficients from Fama-French three-factor and Carhart four-factor models applied to a portfolio of large DJIA companies. The portfolio has a statistically significant market loading, a negative and…

Factor investingEquitiesStatisticsPortfolio construction
Quant Q&A

The document asks whether a maximum-Sharpe portfolio built from a short rolling history can underperform equal weighting when the asset universe is small. Its response says this can happen and points to research on the difficulty of estimating portfolio…

Portfolio constructionBacktestingStatisticsEquities
Quant Q&A

The document explains why a single equity risk model may not serve every portfolio task. Commercial models bring substantial research and data-cleaning expertise, but their design may prioritize objectives that differ from a user's needs. The choice depends…

EquitiesRisk managementFactor investingPortfolio construction