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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

20,364 documents

Quant Q&A

The document solves a conditional expectation involving two values of standard Brownian motion given an earlier value. Although the later values have different marginal conditional distributions, their product expectation depends on their shared path and…

Statistics
Quant Q&A

The document discusses a pairs strategy that recalculates a hedge ratio from a rolling window of prices, forms a spread, and tests it for stationarity with the augmented Dickey–Fuller test. The central question is whether a failed test should force an exit…

Pairs tradingStatisticsRisk management
Quant Q&A

The document discusses how to broaden a mathematical finance reference sheet that is focused mainly on stochastic calculus and derivative pricing. The responses suggest adding topics that serve distinct parts of quantitative finance: risk management,…

Risk managementPortfolio constructionExecutionMarket microstructure
Quant Q&A

The document explains why the DV01 of a fixed income swap is not constant across interest rate levels. A simplified rule of thumb discounts each future annual payment using a single rate, then sums the discounted sensitivities. Under that approximation, a…

Fixed incomeRisk managementDerivatives pricingStatistics
Quant Q&A

The document reviews an R workflow for fitting an ARMA mean and a GARCH(1,1) volatility model with a skewed Student distribution, then calculating value at risk for two return series. Its response clarifies that the quantile of fitted model results…

Risk managementVolatilityStatisticsBacktesting
Quant Q&A

The document describes an R approach to minimizing a linear portfolio objective while imposing limits on net exposure, individual asset weights, total absolute exposure, and portfolio volatility. It suggests using the nonlinear optimizer in Rsolnp, even…

Portfolio constructionRisk managementStatistics
Quant Q&A

The discussion considers how an ETF market maker might earn a spread while hedging exposure with the underlying basket or a related instrument. It distinguishes capturing a favorable price difference from realizing that profit: a hedged position can remain…

EquitiesMarket makingArbitrageExecution
Quant Q&A

This discussion explains why a fixed rate bond’s net present value can differ from its dirty price in QuantLib. The key distinction is the discounting date: NPV uses the discount curve’s reference date, while dirty price is expressed at the bond’s settlement…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to extend a concave shape in bid implied volatility data to strikes beyond those observed. It also asks whether bid volatility should approach zero as the strike approaches zero or infinity. These are posed as questions; the document…

OptionsVolatilityStatistics
Quant Q&A

The document investigates why an implied volatility calculation for a long-dated S&P 500 index call returns zero. The response checks whether the observed option price is consistent with intrinsic value under the selected interest rate. Using the supplied…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains the theoretical cost of hedging a written call by repeatedly adjusting a stock position to match the option’s delta. Under the Black–Scholes assumptions, dynamic hedging replicates the option payoff, but the hedge trades generate a…

OptionsDerivatives pricingRisk management
Quant Q&A

The document derives how many shares a fixed budget can purchase when each successive share raises the price by a constant multiplicative factor. It represents the total spend as a finite geometric series, with the first share priced at the initial stock…

EquitiesPosition sizingMarket microstructure
Quant Q&A

The document explores why barrier options in the Black-Scholes framework can be priced with the usual pricing PDE while incorporating barrier behavior through boundary conditions. Unlike path-dependent products such as Asian options, the barrier feature can…

OptionsDerivatives pricingStatistics
Quant Q&A

The document considers how to price term interest-rate exposure in Poland as contracts move away from WIBOR, asking whether WIRON can support forward-looking term rates. Its answer argues that a term rate generally depends on a sufficiently active…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document discusses how to perform Markowitz mean-variance portfolio optimization in R when expected returns and risk estimates are supplied by the researcher rather than computed directly from a return history. It notes that the `portfolio.optim`…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers how to classify mutual funds into low, medium, and high volatility groups without choosing fixed volatility thresholds in advance. The answer proposes unsupervised clustering with k-means: provide the funds’ volatility measurements and…

StatisticsVolatilityPortfolio constructionMachine learning
Quant Q&A

The document distinguishes using a bootstrapped interest rate curve from using a stochastic model of rate dynamics. A market curve built from instruments such as forward rate agreements and swaps is sufficient to price simpler contracts through no-arbitrage…

Fixed incomeDerivatives pricingOptions
Quant Q&A

The document addresses a Python QuantLib error encountered while pricing a European credit default swap option with a Black-style option engine. The reported constructor error indicates that the engine expects its volatility input as a quote handle rather…

OptionsDerivatives pricingFixed income
Quant Q&A

The document examines a proposed strategy that combines a three-times inverse equity ETF with the underlying index to create a nominally hedged position. The questioner argues that, assuming zero volatility, the inverse fund’s interest-rate-related growth…

EquitiesVolatilityRisk managementUS markets
Quant Q&A

The document explains how to estimate 95% value at risk for long and short European calls when simulated terminal stock prices and their option payoffs are already available. Rather than applying a stock-return standard deviation and z-score through a delta…

OptionsRisk managementDerivatives pricingStatistics
Quant Q&A

The document examines a SABR calibration on Ethereum option data where the fitted alpha parameter changes substantially when strikes and the forward are expressed at a different scale, even though the implied volatilities are unchanged. The questioner…

OptionsVolatilityDerivatives pricingCrypto
Quant Q&A

The document clarifies how to approach an implicit finite-difference exercise for a European call when volatility varies over time. The stated example uses a linear volatility function, while the exercise also provides a Black–Scholes approximation that…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document compares direct exchange connections with a consolidated market data vendor for someone seeking daily data and possibly delayed or real-time tick data. It explains that direct feeds require building and maintaining exchange-specific handlers,…

Market microstructureExecutionHigh-frequency trading