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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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

21,023 documents

Quant Q&A

The document asks how to combine multiple strategies into one portfolio and why volatility calculated from aggregate asset exposures may differ from volatility calculated using strategy return streams. It describes two views: treat each strategy’s returns as…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document proposes revisiting the portfolio construction rule at every rebalance instead of committing to one allocation scheme throughout an investment horizon. It contrasts optimized approaches, such as minimum variance and maximum Sharpe portfolios,…

Portfolio constructionBacktestingStatistics
Quant Q&A

The document asks how to handle zero weights from a Markowitz allocation when every asset must be included, and how to determine the risk-free allocation when constructing a portfolio on the capital market line. The response focuses on selecting the risky…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document proves convexity for a portfolio risk measure consisting of expected return plus a positive multiple of the expected absolute deviation from expected return. It assumes portfolio return is linear in portfolio weights, so expected return is also…

Risk managementPortfolio constructionStatistics
Quant Q&A

The discussion distinguishes arbitrage from disequilibrium in models of asset prices. Arbitrage offers a sure profit and creates a strong incentive for market participants to trade it away. By contrast, two stocks with similar volatility but different…

ArbitrageStatisticsEquities
Quant Q&A

The document examines why the optimal risky portfolio can appear to differ when optimizing with or without access to lending and borrowing at a risk-free rate. Its central correction is that maximizing expected return divided by volatility is not equivalent…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document addresses fitting a skewed Student t distribution to financial limit order book returns and then simulating from the fitted model. It points to an R distribution-fitting library for maximum likelihood estimation and to a package that implements…

StatisticsMachine learningMarket microstructure
Quant Q&A

The document explains why multiplying single-period variance by the number of periods can misstate the variance of compounded horizon returns when returns are serially correlated. Under covariance stationarity and a common single-period variance,…

StatisticsRisk managementBacktesting
Quant Q&A

This derivation uses an exponential-affine form for a zero-coupon bond price in the Vasicek short-rate model and substitutes it into the risk-neutral bond pricing PDE. Matching the constant and rate-dependent terms yields differential equations for the time…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

This discussion addresses a payoff paid at a later date that uses the underlying price at both an earlier and a later date. The standard risk-neutral valuation formula still applies when the payoff is measurable at the payment date: by then, both observed…

Derivatives pricingStatistics
Quant Q&A

The question asks how correlations in credit default swap data should be interpreted, particularly when researchers use correlations between equity returns to build relationship graphs. The answer cautions that credit correlation can refer to distinct…

Fixed incomeStatistics
Quant Q&A

The question examines whether a security’s price can be recovered by taking expectations of its dividend-to-price return definition and the rearranged price equation. The answer explains that the apparent conflict with the rule that the expectation of a…

StatisticsEquities
Quant Q&A

The discussion examines steps in a proof about conditional expectations under two probability measures, P and Q. The question focuses on why a conditional expectation under Q can be treated as measurable with respect to a sigma-algebra G, and how that…

StatisticsArbitrage
Quant Q&A

The document presents an equity portfolio-selection problem based on monthly returns for a large stock universe and a market index. Its code estimates each stock's average return, beta, residual risk, and Treynor ratio, then applies a single-index cutoff…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The question asks how to estimate the jump intensity in a Black–Scholes–Merton setting from observed jump counts across three consecutive months. The response points to a compound Poisson process as the model for jumps and directs readers to a statistical…

StatisticsDerivatives pricing
Quant Q&A

The example applies Feynman–Kac to a terminal-value partial differential equation with a fourth-power terminal payoff. The PDE contains a second derivative term proportional to the square of the asset price, and the proposed solution represents the value as…

Derivatives pricingStatistics
Quant Q&A

The discussion considers Java options for basic time-series analysis, including moving averages, standard deviations, correlations, charting, and exponential smoothing. Suggestions range from implementing common statistics directly to using libraries that…

StatisticsTechnical indicators
Quant Q&A

The document explains how to value a CMS indexed range accrual when simulated zero-coupon rates follow a short-rate model under the risk-neutral measure, while the desired probability is expressed under the payment-date forward measure. The payoff event is…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether hourly observations can be used to estimate dynamics that matter over a horizon of several days, particularly mean reversion or cointegrating relationships. It refers to a proposed analogy between estimating monthly relationships…

StatisticsMean reversionHigh-frequency trading
Quant Q&A

The document sets up a structural credit model in which a firm’s asset value follows geometric Brownian motion and default occurs when it reaches an absorbing barrier. A coupon bond pays coupons while the firm survives, pays principal at maturity if it has…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The document distinguishes an asset’s expected arithmetic return from its compounded growth rate. Under the return model described in the question, the expected return over a short interval is given by the drift, while the continuously compounded rate…

StatisticsVolatilityRisk management
Quant Q&A

The document presents a beginner’s question about why summing rate-of-change values multiplied by trading signals gives a different return from the price change between a stated entry and exit. The example uses Bollinger Bands, stochastic indicators, and…

EquitiesTechnical indicatorsBacktestingStatistics
Quant Q&A

This collection of answers challenges widely used ideas in quantitative finance, including correlation-based diversification, CAPM as an allocation rule, normally distributed independent returns, value at risk, efficient markets, copulas, and perfect delta…

Risk managementStatisticsPortfolio constructionDerivatives pricing
Quant Q&A

The question asks whether regional central banks provide programmatic access to their statistical data, after the author encountered CSV downloads and web scraping. The response points to the Federal Reserve Bank of St. Louis’s FRED service as a widely used…

Fixed incomeStatisticsUS markets