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
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

20,364 documents

Quant Q&A

The document explains why a monthly strategy that ranks stocks by price-to-earnings ratios and takes opposite positions in the top and bottom groups can show misleading backtest performance. Historical prices and earnings are not enough to reconstruct the…

EquitiesFactor investingBacktestingStatistics
Quant Q&A

The question considers whether a euro holder who wants exposure to EUR/USD could instead trade a futures contract quoted in the reciprocal direction and post margin in euros, avoiding currency conversion. The answer identifies the CME Euro FX futures…

FuturesForex
Quant Q&A

The contract pays the positive part of the difference between the stock price at an earlier date and its price at maturity. At the earlier date, the strike is known, so the claim becomes an ordinary European put with a strike equal to that observed stock…

OptionsDerivatives pricing
Quant Q&A

The document asks how to extend the familiar univariate definition of a median, obtained from the inverse cumulative distribution function at one half, to a bivariate distribution. Its answer is that there is no standard, unique median for multiple…

Statistics
Quant Q&A

A binary option pays a fixed amount when the underlying finishes on one side of its strike, so its value is tied to the risk-neutral probability of that event, discounted for interest rates. Under a lognormal Black–Scholes model, increasing volatility can…

OptionsVolatilityDerivatives pricing
Quant Q&A

The response distinguishes historical par spreads from modern standard CDS market quoting. Par spreads describe the spread associated with a contract that has no upfront fee, as used before the 2009 CDS contract changes. Current trading generally uses a…

Fixed incomeDerivatives pricingMarket microstructure
Quant Q&A

The document addresses a kink that can appear when combining call and put implied volatilities to build a fixed-tenor smile from American SPY options. The response recommends deriving one forward price for the option maturity from dividends and the market…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The response discusses how implied volatility differences between expiration dates can affect calendar spread pricing. It suggests that when front-month implied volatility is below back-month volatility, calendars may have broader profit ranges and higher…

OptionsVolatilityBacktesting
Quant Q&A

An interest rate swap’s current value can be calculated from the yield curve, without specifying a stochastic model for future rate movements. That valuation answers what the swap is worth now under the curve and arbitrage-free pricing conventions; it does…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

A replicating portfolio matches an option’s payoff only under idealized assumptions, including continuous trading, no transaction costs, unlimited divisibility, and known constant volatility. Actual markets violate these conditions, so an option combined…

OptionsVolatilityRisk managementMarket making
Quant Q&A

Whether an option has a closed-form price depends on both its payoff and the assumed dynamics of the underlying asset. Some European vanilla options have tractable formulas under certain models, while other combinations of payoff and dynamics do not. The…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document surveys ways to turn trading signals into mathematical strategy rules. One suggestion is to combine implemented signals in a factor model and estimate coefficients, which can produce a fitted formula and measures of statistical fit. The response…

Machine learningFactor investingBacktestingTechnical indicators
Quant Q&A

The document addresses two representations of the solution to a mean-reverting stochastic differential equation driven by correlated Brownian motions. Applying an integrating factor yields a term that integrates the first Brownian motion’s level over time,…

StatisticsFixed income
Quant Q&A

The document raises a modeling question: how to represent prices that may become negative when the usual geometric Brownian motion framework keeps prices positive. It considers whether a different distribution, such as a beta distribution, could be used, and…

StatisticsFutures
Quant Q&A

The document shows how a payer swaption can be expressed as an option on a coupon bond. It starts from a fixed-for-floating swap with reset and payment dates, writes its value as the difference between a floating leg and a fixed leg, and uses the forward…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains how to hedge the foreign exchange component of P&L from American or global depositary receipts. An ADR position reflects both the local-currency value of its underlying equity and exchange-rate movements. A portfolio can aggregate its…

EquitiesForexRisk managementDerivatives pricing
Quant Q&A

The document addresses a common sign confusion in put-call parity: when constructing a synthetic forward by buying a call and selling a put at the same strike, the put’s premium is not itself negative. Option premiums are positive prices by definition;…

OptionsDerivatives pricing
Quant Q&A

The document clarifies the probability terms in the Heston call pricing formula. It decomposes the call payoff into two expectations, then uses a change of numéraire to express the price through probabilities under the risk neutral measure and a stock…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why portfolio variance depends quadratically on asset weights and why covariances enter the calculation. For one asset, scaling its return by a weight scales its variance by the square of that weight; extending this relationship to…

Multi-assetPortfolio constructionRisk managementStatistics
Quant Q&A

The document collects research leads on how index investing and ETFs may affect equilibrium prices, volatility, correlations, information production, liquidity, and corporate oversight. The motivating model has two risky assets with jointly Gaussian payoffs…

EquitiesPortfolio constructionStatisticsMarket microstructure
Quant Q&A

The document considers the issuer’s exposures on an autocallable note linked to the FTSE 100. The note has annual autocall observations, a coupon that accumulates until autocall, a maturity date, and a downside knock-in barrier observed at maturity. The…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks whether a continuously rebalanced, accumulating bond fund can be held long enough to guarantee a positive or specified return, and how that compares with holding individual fixed-rate bonds to maturity. It distinguishes a fund that…

Fixed incomeRisk managementStatistics
Quant Q&A

The document asks how a futures backtester should represent the funds required when opening long or short positions. It considers using margin requirements calculated through CME's SPAN system and asks where historical margin data can be obtained, noting…

FuturesBacktestingRisk managementPosition sizing
Quant Q&A

The document identifies a suspected comparison error in the Optimal Number of Clusters procedure associated with de Prado and Lewis's work on detecting false investment strategies. The algorithm recursively reclusters groups whose silhouette-based…

Machine learningStatisticsPortfolio construction