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

20,364 documents

Quant Q&A

The document explains two possible budget constraints in mean-variance portfolio optimization when short sales are permitted. Requiring signed portfolio weights to sum to one treats short positions as negative weights whose proceeds can fund long positions.…

Portfolio constructionRisk managementEquities
Quant Q&A

The document considers a finite-difference approximation to the Black–Scholes equation and asks how coefficient sign conditions can establish a maximum-norm bound. The proposed argument rewrites each value at one time level using the neighboring values and…

OptionsDerivatives pricingStatistics
Quant Q&A

The document introduces mean-variance portfolio optimization, including a minimum-variance portfolio and a variance-minimizing portfolio constrained to a target expected return. It then describes practical variations: long-only holdings, caps on individual…

Portfolio constructionRisk managementFixed incomeStatistics
Quant Q&A

The document discusses the economic meaning of the intercept, or alpha, in regression-based asset pricing models. In a return regression, the intercept represents the component of return not explained by the included factors when their returns are zero. For…

Factor investingStatisticsEquities
Quant Q&A

The document considers how to recover FX option strikes from broker volatility quotes, forward points, deposit rates, and delta conventions. It explains that the ATM strike formula depends on the convention: a delta-neutral strike with premium-adjusted delta…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how to obtain a quantile of an exponentiated normally distributed variable. If the logarithm of a positive variable is normal, its quantile is found by taking the exponential of the corresponding normal quantile. Because the exponential…

StatisticsDerivatives pricing
Quant Q&A

The document raises a problem in simulation-based testing of investment strategies that use valuation measures such as price-to-book or dividend yield. A simulation that generates prices while retaining historical values for accounting variables may create…

EquitiesBacktestingStatistics
Quant Q&A

The document examines why selecting the top decile of S&P 500 stocks by price-to-earnings ratio can produce fewer names than an expected count. One proposed explanation is that some companies had negative earnings during the measurement period. Since the…

EquitiesFactor investingStatistics
Quant Q&A

The document asks how to interpret a bond investment denominated in one currency when the investor hedges the currency exposure using a forward rate whose implied yield differs from the bond’s yield. It frames the question as whether a 10% bond yield…

ForexFixed incomeCarry
Quant Q&A

The document asks for a route from beginner-level C++ to quantitative trading, from a learner who already programs professionally in Visual Basic and has trading experience. The response suggests starting with a general C++ text, then studying resources…

Machine learningDerivatives pricingStatistics
Quant Q&A

The document asks how to interpret the point where a line from the risk-free rate touches the efficient frontier for a portfolio built from three stocks. In mean-variance portfolio theory, that tangency point represents the risky portfolio with the highest…

Portfolio constructionEquitiesRisk management
Quant Q&A

The document examines how the value of an inflation-linked payment can differ from expected inflation multiplied by a discount factor when inflation and interest rates are correlated. It presents a simplified convexity adjustment for a fixing paid after a…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether historical listed SPX options data from the CBOE data shop is reliable enough for backtesting, especially regarding missing or incorrect prices and Greeks. The response recommends checking a small sample of purchased contracts…

OptionsBacktestingUS markets
Quant Q&A

The document examines limitations of variance as a portfolio risk measure, especially when return distributions are not well described by a stable normal model. One example compares two hypothetical single-stock portfolios with the same variance: one has…

Risk managementStatisticsVolatility
Quant Q&A

The document asks whether investors who understand asset pricing should hold only portfolios on the mean-variance efficient frontier. It presents a relation between an asset’s expected return, its volatility, its correlation with the stochastic discount…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document explains how to maximize expected return for a portfolio subject to a limit on expected shortfall (ES), also called conditional value-at-risk. It describes an auxiliary function of portfolio weights and a threshold variable: the function is…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document explains why spot forex historical data cannot be interpreted like exchange consolidated equity data. Spot foreign exchange is fragmented across dealers and electronic venues, so there is no single source that captures all quotes, orders,…

ForexMarket microstructureStatistics
Quant Q&A

The document applies Itô’s lemma to an exponential function of an integrated short rate under the Vasicek model. It derives the stochastic differential of the intermediate process, then uses its drift and diffusion terms to obtain the dynamics of the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers whether historical equity prices should be adjusted for ordinary dividends when backtesting strategies, alongside the existing adjustments for splits and special dividends. Its practical guidance separates signal construction from…

EquitiesBacktesting
Quant Q&A

The document explains how the Lévy measure determines whether successive jump times and their gaps can be treated as discrete events. When the Lévy measure has finite total mass, jumps form a compound Poisson process, with rate equal to that total mass; the…

Statistics
Quant Q&A

The document answers whether a bond can begin amortizing after an initial period of interest-only payments. It confirms that such structures exist, while noting that they do not have a single standard name in the response. The timing and pattern of principal…

Fixed incomeDerivatives pricing
Quant Q&A

The document considers how to compute an exponential moving average across a large universe without replaying every observation since each security began trading. It explains that the recursive form needs only the prior EMA, while the equivalent direct form…

EquitiesTechnical indicatorsStatistics
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 compares ways to calculate a bond’s yield to maturity from price when repeated updates make speed important. One approach computes yields for three selected prices, fits a quadratic price–yield relationship, and uses it to estimate yields for…

Fixed incomeDerivatives pricingExecutionHigh-frequency trading