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 addresses the reverse of the familiar covered interest arbitrage example in which a forward exchange rate is too high. Its GBP/USD illustration explains that when the quoted forward is below the rate implied by covered interest parity, an…

ForexArbitrageCarryRisk management
Quant Q&A

The document explains the distinction between extreme price changes and jumps in a stochastic price path. A lognormal distribution can assign low probability to very large price changes over a time interval, but that does not mean the model’s path jumps…

StatisticsVolatility
Quant Q&A

The document explains how to describe and assess a roll between Treasury futures delivery months. The quoted market roll is the front contract price minus the back contract price, expressed in thirty-seconds. A theoretical comparison starts with the fair…

FuturesFixed incomeCarryDerivatives pricing
Quant Q&A

The document examines why a single simulated geometric Brownian motion path with zero drift can produce a maximum likelihood drift estimate far from zero. It defines log returns and gives the likelihood setup used to estimate drift and volatility, then…

StatisticsEquitiesVolatilityBacktesting
Quant Q&A

The document describes a portfolio-construction approach that substitutes a connectedness matrix for the covariance matrix and active returns for expected returns within a mean-variance optimization framework. The matrix is built from pairwise dependence…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document explains why realized volatility used to evaluate forecasts is not directly observable. Researchers must choose a proxy, such as one derived from returns, and recognize that the resulting measure depends on assumptions about prices, sampling,…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks how to represent bracket orders in a Python backtester. A bracket consists of an entry order linked to child exit orders, typically a stop loss and a take profit, with one exit canceling the other after execution. The response recommends…

BacktestingExecutionRisk management
Quant Q&A

The document asks how to choose portfolio objectives for investors with different risk preferences. It questions whether the Sharpe ratio suits a risk-neutral investor and whether replacing standard deviation in its denominator with value at risk or…

Risk managementPortfolio constructionStatistics
Quant Q&A

The document examines an Ornstein–Uhlenbeck process whose drift targets a level equal to the process’s limiting variance. It asks whether that apparent relationship is mathematically consistent, using a process with positive mean-reversion speed, constant…

StatisticsMean reversionVolatility
Quant Q&A

The document asks for a detailed introduction to stochastic calculus for Poisson and other jump processes, including random intensities and jump sizes. It notes that standard derivative-pricing texts tend to emphasize Brownian motion, with jump-diffusion…

StatisticsDerivatives pricing
Quant Q&A

The document considers estimating hedge ratios for spreads between Treasury futures when historical DV01 data are unavailable. It describes empirical DV01 as an estimate from a regression of futures price changes against changes in the yield of the…

FuturesFixed incomeStatisticsBacktesting
Quant Q&A

The document discusses how to organize historical equity data so backtests can handle delistings, acquisitions, ticker changes, dividends, and splits. One proposed design assigns stable internal identifiers to companies and separately tracks stock series and…

EquitiesBacktestingEvent-drivenStatistics
Quant Q&A

The document describes an attempt to calibrate the two-factor G2++ interest-rate model to cap volatility quotes using QuantLib's Python interface. The example builds a yield curve, creates cap helpers from maturities and volatility inputs, sets an…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document compares traditional asset-class risk premia with factor investing and alternative risk premia (ARPs). It frames factors as return sources within established markets, such as equity value, size, momentum, and quality, which may have different…

Factor investingCarryCommoditiesForex
Quant Q&A

The document addresses a discrepancy between historical stock prices shown in a finance website interface and values in its downloadable data. The example shows an apparent inconsistency between daily high and low values and the displayed close, alongside…

EquitiesStatisticsBacktesting
Quant Q&A

The document explains why swap valuation may require separate discounting and forward curves, and why the appropriate forward curve depends on the floating rate index in a swap. For a vanilla swap, the curve built from the most liquid swap quotes and futures…

Fixed incomeDerivatives pricingMarket microstructure
Quant Q&A

The document explains the source of a one-half term in a Fourier-based option-pricing derivation. It gives the Gil-Pelaez inversion formula, which relates an integral involving the real part of a characteristic function to the probability that the terminal…

OptionsDerivatives pricingStatistics
Quant Q&A

The document examines why an option’s expected payoff cannot simply be discounted at the risk-free rate under the real-world probability distribution. The underlying asset is risky too, and its expected growth rate is uncertain and potentially dependent on…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document describes a fixed-risk position-sizing approach used in spread betting. The trader chooses a fraction of account equity to risk, measures the distance between entry and stop in points or pips, and divides the cash risk allowance by that distance…

Position sizingRisk managementBacktesting
Quant Q&A

The document asks whether actively trading bonds could produce returns comparable to some equity strategies, given that bond returns are often associated with coupon income while equity returns include price appreciation. Its answer frames the question…

Fixed incomeRisk management
Quant Q&A

The document considers whether antithetic variates must produce a positive Monte Carlo estimate for a European call when every payoff from the original simulated draws is zero. The answer is no: pairing each draw with its antithetic counterpart does not…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document distinguishes the real-world probability measure P from the risk-neutral measure Q and explains their roles in research and pricing. P is used to describe outcome probabilities and expected returns, while Q offers a convenient way to price cash…

StatisticsDerivatives pricingOptions
Quant Q&A

The document explains how to read regression coefficients in the Carhart four-factor model. A significant positive or negative coefficient indicates that a portfolio’s returns have a corresponding relationship with a factor after accounting for the other…

Factor investingEquitiesMomentumStatistics
Quant Q&A

The document describes a market quotation for a one-year at-the-money straddle on the difference between the ten-year and two-year constant maturity swap rates. The quoted bid and offer are given as prices in percentage terms, rather than as an implied…

Fixed incomeOptionsDerivatives pricing