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 how the time increment in a simulated Heston model relates to the number of steps per year: once the time unit is fixed, choosing one determines the other. Its main example is the Euler–Maruyama discretization of the stock and variance…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document asks how replication should be understood for an American option in a pricing model under a risk-neutral measure. A self-financing portfolio with an adapted strategy has a martingale value process, while an American option’s payoff process…

OptionsDerivatives pricing
Quant Q&A

The document concerns adapting the Avellaneda–Stoikov market-making model to a longer time horizon. Its question centers on the reservation-price expression, where inventory, risk aversion, volatility, and remaining time shift the indifference price away…

Market makingRisk managementVolatility
Quant Q&A

The document describes a simulation question about the Heath–Jarrow–Morton interest-rate framework. The author simulates forward rates with constant volatility and antithetic normal draws, then compares averages of simulated rates with corresponding values…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document discusses whether exchanges cap the total number of resting orders in an order book. Its main answer is that limits are often applied at the trader or participant level, such as constraints on the number of open orders or the rate at which…

Market microstructureExecutionRisk management
Quant Q&A

The document explains how to represent dual-curve pricing for caps and caplets in QuantLib Python. The curve handle supplied to the pricing engine is used to discount cash flows, while the curve associated with the Ibor index supplies forward rates.…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains why stock positions remain open overnight even when some day traders prefer to close before the market shuts. Long-horizon investors and institutions—including mutual funds, private individuals, and bank portfolios—may hold shares as…

EquitiesExecutionStatisticsBacktesting
Quant Q&A

The document outlines a validation approach for a finite-difference implementation of the Libor Market Model. It recommends comparing European swaption prices across at-the-money and in-the-money or out-of-the-money strikes with prices from a zero-shift SABR…

Fixed incomeOptionsDerivatives pricingBacktesting
Quant Q&A

The discussion examines when at-the-money (ATM) implied volatility can approximate the risk-neutral expectation of average integrated variance. For very short maturities, it motivates the approximation by noting that instantaneous volatility near the start…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The discussion asks whether implied volatility (IV) produces better option prices than historical volatility (HV), noting that the common forward-looking argument for IV is not enough by itself to establish better pricing performance. It cites an experiment…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The Longstaff–Schwartz method prices American options by simulating possible asset paths and using regression to estimate continuation values. The discussion notes that simulation can accommodate options whose value depends on multiple factors, so the method…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document explains how an out-of-the-money put affects variance-covariance Value at Risk for a portfolio of stocks, bonds, an ETF, and an option. The method begins with market-factor volatilities and correlations, then combines factor sensitivities with…

Risk managementOptionsPortfolio constructionStatistics
Quant Q&A

The document compares two ways of combining the annualized returns of a two-asset portfolio. Weighting each asset’s annualized return assumes the portfolio weights are maintained over time through rebalancing. Weighting the assets’ cumulative returns instead…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The question describes pricing a fixed coupon bond in QuantLib with a flat yield curve built from semiannual zero rates. The user encounters a negative-time error because the curve’s first date comes after the evaluation date. The accepted answer explains…

Fixed incomeDerivatives pricing
Quant Q&A

The document surveys the trade-offs involved in selecting an optimizer for portfolio allocation problems with multiple assets or risk factors, varied objectives, constraints, and simulation noise. It describes numerical search as a balance between…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document distinguishes the CAPM relation for expected returns from a single-index model for realized returns. It asks whether CAPM alone can support the familiar division between systematic and diversifiable risk, since an expected-return equation does…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document explains how a portfolio can have lower variance than either of its component assets, even when one asset has higher standalone volatility. It uses a fully invested two-asset portfolio and derives the minimum-variance weight from the assets’…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document examines how a market maker might manage exposure after buying ETF shares from a customer. Hedging every underlying component immediately can be impractical for a large index basket, especially when fills are small and component share quantities…

EquitiesMarket makingExecutionRisk management
Quant Q&A

The document explains why daily volatility is commonly scaled by the square root of the number of trading days in a year. Under constant daily variance and uncorrelated returns, variances add across trading days, so annual volatility equals daily volatility…

StatisticsVolatility
Quant Q&A

The document discusses how to assess liquidity in commodity futures, noting that stock-market measures such as volume and the Amivest ratio may not transfer directly to every contract. Suggested indicators include trading volume, bid–ask spreads, order-book…

CommoditiesFuturesMarket microstructure
Quant Q&A

The document considers how to hedge an equity portfolio of acquisition targets when some deals pay part of the consideration in acquirer shares. It proposes estimating the portfolio’s index exposure by multiplying each acquirer’s dollar position by its beta…

EquitiesEvent-drivenRisk managementPortfolio construction
Quant Q&A

The document asks whether the profit or loss of a Black-Scholes delta-hedged option depends only on realized volatility at expiry or also on its path. It references a hedge-error expression involving gamma exposure and the difference between implied variance…

OptionsVolatilityRisk managementBacktesting
Quant Q&A

The document examines a density that appears when expressing forward implied variance as an average of local variance. It derives the weighting from the risk-neutral distribution of the underlying and a factor involving spot squared and Black-Scholes gamma.…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document considers whether high and low prices can improve correlation estimates from OHLC bars. Its central point is that open and close observations have known timing, while the relative timing of each asset’s high and low is unknown. A joint estimator…

StatisticsVolatilityMulti-asset