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

11,619 documents

Quant Q&A

The document derives an approximate single implied volatility for a portfolio of options whose components have different implied volatilities. It begins with the condition that the portfolio’s modeled value at the common volatility should equal the sum of…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document compares two martingale derivations of the Black–Scholes partial differential equation. With the bank account as numeraire, requiring the discounted option price to have zero drift yields the familiar PDE. The attempted stock-numeraire…

OptionsDerivatives pricingStatistics
Quant Q&A

The document offers historical volatility and correlation estimates as starting points for a foreign currency option model with domestic equities, foreign equities, and an exchange rate. Using weekly observations over five years for the DAX, S&P, and EUR…

ForexEquitiesOptionsVolatility
Quant Q&A

The document discusses how to calculate p-values for estimated GARCH coefficients and whether the degrees of freedom should account for the model’s parameters. One response recommends using the sample size minus the total number of estimated parameters,…

StatisticsVolatility
Quant Q&A

The document examines how Actual/Actual ISMA determines coupon amounts for a fixed-rate bond with a short or long stub period. Its example has a first coupon running from the issue date to a February payment date, followed by monthly coupons. The initial…

Fixed incomeStatistics
Quant Q&A

The document derives an expression for the expected value of a process described by a stochastic differential equation with drift and diffusion terms. Rewriting the equation in integral form separates accumulated drift from the stochastic integral. Under the…

StatisticsDerivatives pricing
Quant Q&A

The discussion distinguishes uncertainty in portfolio allocations from uncertainty in the inputs used to construct them. Mean-variance optimization can produce a precise allocation from estimated returns and covariances even when those parameters are poorly…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document derives a European call pricing representation for an asset whose returns combine continuous Brownian movement with independent Poisson jumps. When jump sizes are lognormally distributed, conditioning on the number of jumps makes the terminal…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

An implied volatility surface reflects option prices that vary by strike and maturity, unlike the constant volatility assumption in the basic Black–Scholes model. Looking at one maturity at a time, a steep downside wing means out-of-the-money puts are…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document describes an attempt to estimate value at risk (VaR) and expected shortfall (ES) with a peaks-over-threshold method using a generalized Pareto distribution (GPD). In a rolling sample of Petrobras returns, the author encounters a software error…

StatisticsRisk managementEquities
Quant Q&A

The document concerns parametric expected shortfall (ES) when returns are modeled with a four-parameter Paretian stable distribution. It describes a question about implementing a closed-form ES method attributed to Stoyanov, with VaR defined for returns as a…

StatisticsRisk management
Quant Q&A

The document derives the conditions under which the unconstrained minimum-variance portfolio of two assets has no short positions. Starting from the formula for the weight on the first asset, it requires that weight to be nonnegative and no greater than one.…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document asks whether the conditional expectation of an exponential Brownian increment, given information available at an earlier time, can equal its unconditional expectation. It assumes the earlier time is no later than the endpoint and questions…

Statistics
Quant Q&A

The document derives a closed-form price for a European payoff based on the positive part of one minus the strike divided by the terminal stock price, assuming the stock follows geometric Brownian motion under the money-market measure. Its key observation is…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains how to simulate terminal prices for several assets whose returns are correlated, in order to value a multi-asset option by Monte Carlo. In a geometric Brownian motion model, dependence is specified through correlations among Brownian…

Multi-assetOptionsStatisticsDerivatives pricing
Quant Q&A

The document describes a backward path-integral scheme for pricing an American put on a log-price grid. At each time step, it discounts and integrates the next-step option value against a Gaussian propagator for log prices, then applies the early-exercise…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document derives an alternate form for the time integral of Brownian motion, a step that arises in the short-rate Merton model. Representing Brownian motion at each time as the accumulation of its increments turns the time integral into an integral over…

Fixed incomeStatistics
Quant Q&A

The document shows how to rewrite a European put’s discounted expected payoff as an integral of the underlying asset’s cumulative distribution function. Starting from the payoff integral over nonnegative asset prices, it extends the density’s support to the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document outlines a property-based method for estimating a REIT’s equity value per share. First calculate net operating income from revenue and expenses before depreciation and interest. Divide that NOI by an assumed capitalization rate to estimate the…

EquitiesUS marketsStatistics
Quant Q&A

The document considers a weather-linked call whose daily payout depends on maximum temperature mapping to a quantity and a price index average exceeding a strike. The payoff also has daily and contract-wide payout limits, making a direct closed-form…

OptionsCommoditiesDerivatives pricingRisk management
Quant Q&A

The document outlines a derivation of the Black–Scholes equation from the Capital Asset Pricing Model rather than from a risk-free portfolio formed by delta hedging. It starts from CAPM’s relation between expected return and covariance-based risk…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses how to interpret a LIBOR Market Model matrix when constructing discount bond values. It emphasizes that matrix layout must be understood first: under a common convention, columns represent observation times and diagonal entries…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines an option whose payoff and premium are expressed in the underlying asset, using an ETH example to compare conversion from a conventional Black–Scholes value with a direct simulation. The key issue is the payoff definition: converting…

OptionsCryptoDerivatives pricingStatistics