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

Search the library

4,194 documents

Quant Q&A

The document asks how to incorporate cross-sectional scores, such as recent momentum or price-to-book ratios, into a minimum-variance portfolio. The proposed idea is to balance portfolio variance against a reward for holding assets with stronger scores. It…

Portfolio constructionFactor investingMomentum
Quant Q&A

The discussion surveys approaches to investment analysis and portfolio construction rather than identifying a single accepted industry standard. It covers fundamental value analysis, mean-variance and factor models, risk measures such as value at risk,…

Portfolio constructionFactor investingRisk managementStatistics
Quant Q&A

The document asks how to assign market risk premium, RMW, CMA, and momentum exposures to an individual stock, given that the author already computes firm size from equity market value. The included answer redirects the reader to established factor data and…

EquitiesFactor investingStatisticsUS markets
Quant Q&A

The document asks how to estimate factor risk premia with the Fama–MacBeth procedure when liquidity is among the factors. It outlines the general setup of assets, factors, and time periods, then describes averaging the period-by-period factor price estimates…

Factor investingStatisticsEquities
Quant Q&A

This question considers whether a long-only portfolio can be explained or replicated using a linear combination of long-short factor returns, such as Fama–French factors or Betting Against Beta. The proposed analysis is a return regression: factor…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document clarifies how beta relates the returns of two instruments in a simple linear model. If the goal is to estimate the return of asset Y from the observed return of asset X, beta is the covariance of X and Y returns divided by the variance of X…

StatisticsEquitiesFactor investing
Quant Q&A

The document compares portfolio optimization using a full asset return covariance matrix with a factor model. In the factor formulation, each asset’s return is represented by exposures to a smaller set of factors plus an idiosyncratic component. The…

Portfolio constructionFactor investingStatistics
Quant Q&A

The document describes building monthly seasonal and seasonal reversal signals from up to twenty years of historical returns. For each date and asset, the seasonal measure averages observations from the same calendar month at annual lags, while the reversal…

Factor investingEquitiesStatisticsBacktesting
Quant Q&A

This short note identifies income statement fields that may be useful in quantitative analysis of a company’s quarterly filing. Its suggested selection includes sales, cost of sales, gross margin, operating income, other income or expense, pretax income,…

EquitiesFactor investingStatistics
Quant Q&A

The document asks how to constrain a tangency portfolio so its weighted average ESG score exceeds a chosen threshold. It presents Python calculations for the unconstrained efficient frontier, global minimum-variance portfolio, and tangency portfolio from a…

Portfolio constructionFactor investingRisk managementStatistics
Quant Q&A

The document compares suggested sources for historical US company financial statements, focusing on income statements and balance sheets and concerns about restatements or revisions. One response points to SEC filings as the source to consult when accuracy…

EquitiesUS marketsFactor investingStatistics
Quant Q&A

The document explains the distinction between factors that describe returns and factors that predict them. A regression of an asset’s return on a contemporaneous market factor can explain past variation, but it does not provide a forecast unless the…

Factor investingStatistics
Quant Q&A

The document addresses how to represent sustainability in a return comparison using the Fama–French three-factor model. It considers two related but distinct questions: estimating the return difference between a portfolio of high-scoring ESG firms and a peer…

Factor investingEquitiesStatistics
Quant Q&A

This exchange explains how a set of 25 portfolios is formed by independently sorting stocks into five market-cap groups and five lagged-momentum groups, then taking the intersections. Size groups use regional capitalization breakpoints; momentum groups use…

EquitiesMomentumFactor investingPortfolio construction
Quant Q&A

The document distinguishes the CAPM theory from a time series regression of an asset’s excess returns on market excess returns. In the regression, the intercept is alpha, the slope is beta, and the residual captures variation not explained by the market…

Factor investingStatisticsEquities
Quant Q&A

This exchange describes cross-sectional regression as a way to relate securities’ returns in a given period to attributes thought to be priced, such as book-to-market ratios or market capitalization. The resulting coefficients can be interpreted as returns…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document considers whether API services can screen equities in real time using conditions such as proximity to a 52-week low, valuation ratios, and earnings growth. The replies explain that an API is a way to access data or brokerage services; the…

EquitiesExecutionUS marketsFactor investing
Quant Q&A

The note explains the intuition behind the betting-against-beta strategy and its connection to the Capital Asset Pricing Model (CAPM). CAPM implies that higher-beta stocks should offer higher expected returns to compensate for their greater market risk,…

EquitiesFactor investingPortfolio constructionRisk management
Quant Q&A

The document examines how to choose standard errors for asset-pricing panel regressions, such as CAPM or multifactor models estimated with monthly data. It frames time-clustered errors as a way to account for cross-sectional dependence and asks how they…

EquitiesStatisticsFactor investing
Quant Q&A

The document discusses why exact future stock or bond price levels are difficult to predict while noting that some narrower patterns and investment decisions may still be useful. The answers distinguish price forecasting from portfolio management,…

EquitiesFixed incomeMomentumFactor investing
Quant Q&A

The document poses questions about asset pricing in a consumption CAPM setting with quadratic utility and consumption growth whose mean and volatility vary with the business cycle. It asks how securities tied positively to consumption should be priced, how a…

Factor investingEquitiesRisk management
Quant Q&A

The document explains the weighting structure of the market, SMB, HML, and momentum factors commonly used in Fama–French and Carhart regressions. The market factor is described as a value-weighted return across eligible US firms. For SMB, HML, and momentum,…

EquitiesFactor investingStatisticsUS markets
Quant Q&A

The document suggests finance applications for natural language processing projects, emphasizing tasks beyond generic news or social-media sentiment analysis. Proposed research directions include extracting risk-factor exposures from company reports,…

Machine learningSentimentFactor investingFixed income
Quant Q&A

The document presents a proposed equity alpha expression built from estimated earnings per share, cash flow per share, estimated sales per share, and estimated dividend per share. It reports using a United States top-stock universe with a one-period delay, a…

EquitiesFactor investingPortfolio constructionRisk management