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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

21,023 documents

Quant Q&A

The document defines a convex family of semimartingale wealth processes that start at zero, never fall below minus one, allow certain combinations of strategies, and are closed in the Emery topology. It asks for the financial motivation behind the…

StatisticsRisk management
Quant Q&A

The note derives the expected squared value of a geometric Brownian motion (GBM), starting from its stochastic differential equation. Applying Itô’s lemma to the square of the process shows that the squared process is itself a GBM, with adjusted drift and…

Statistics
Quant Q&A

The document asks how to derive average value at risk, also called conditional value at risk, from a piecewise value-at-risk curve for a triangular fuzzy number in a credibilistic setting. It gives separate formulas for VaR below and above the midpoint…

Risk managementStatistics
Quant Q&A

The document derives the conditional variance of a price process that changes through Poisson-timed jumps with independent, lognormally distributed multipliers. It first expresses the price at the horizon as its current value multiplied by all jump factors…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The discussion considers how to estimate the market return input to CAPM when an index has flat or declining historical performance and its average return falls below the risk-free rate. One response says a negative market risk premium is mathematically…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

This recreational logic puzzle assigns different cat counts to three speakers. Each tells the truth when addressing someone with fewer cats and lies when addressing someone with more cats. The accepted solution first derives the ordering of their counts from…

Statistics
Quant Q&A

The document examines an interpolation rule for a Wiener process whose volatility is piecewise constant between known endpoint values. The proposed rule scales the endpoint increment by the square root of a ratio involving accumulated variance terms. The…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The discussion considers how to estimate a smooth price distribution when most observed intraday futures prices occur only once. It suggests starting with a histogram, where the chosen price-bin width changes the visible clusters, and describes kernel…

FuturesStatisticsTechnical indicators
Quant Q&A

The discussion addresses how to estimate or manage the time a mean-reversion trade takes to return toward its mean. It notes the Ornstein–Uhlenbeck process as one way to model half-life, but shifts attention to whether a candidate spread has a credible…

Mean reversionPairs tradingStatistics
Quant Q&A

The discussion considers how to obtain a nine-month LIBOR fixing when that tenor is unavailable. It emphasizes that interpolation depends on the intended use. In a loan whose contract required a nine-month rate, the parties agreed to create a synthetic…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document works through pricing a zero-coupon bond under a Vasicek-style short-rate model with zero mean reversion level. It starts from the rate’s stochastic-integral solution, inserts that solution into the discounted payoff, and changes the order of…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document derives the duration of a single fixed cash flow under annual effective compounding. Starting from the negative sensitivity of present value to the interest rate, differentiation gives a duration equal to the payment time divided by one plus the…

Fixed incomeStatisticsRisk management
Quant Q&A

The document addresses whether a positive-weight, minimum-variance portfolio optimization maps each expected-return vector to a distinct set of weights. Its answer is no: distinct return inputs can lead to the same portfolio, so the mapping from expected…

Portfolio constructionStatisticsEquities
Quant Q&A

The document explores how to shock selected points on an on-the-run Treasury yield curve, propagate those shocks to other maturities, and reprice an off-the-run bond. The proposed method applies principal component analysis to historical yield changes, then…

Fixed incomeStatisticsRisk managementDerivatives pricing
Quant Q&A

The document asks how to build a function that returns implied FX volatility for an arbitrary strike and maturity from quoted market points. The available inputs are 10-delta and 25-delta put and call volatilities, along with zero-delta straddle or…

ForexVolatilityDerivatives pricingStatistics
Quant Q&A

The document outlines pricing approaches for derivatives with general payoff functions under European, American, and perpetual exercise rules. For European claims, it gives the risk-neutral discounted expected payoff and explains that a specified underlying…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document examines a claim from the Longstaff–Schwartz interest-rate model that the short rate, expressed as a weighted sum of two factors, is positively correlated with the variance factor. The answer reduces the problem to the sign of the covariance,…

Fixed incomeStatistics
Quant Q&A

The document applies the Kelly betting formula to historical results from selling option spreads and asks whether a calculated allocation of about 20% of capital is too high. The response explains that Kelly is aggressive and assumes a well-specified bet…

OptionsPosition sizingRisk managementStatistics
Quant Q&A

The document explains why the first principal component of a stock return covariance or correlation matrix is sometimes used as a proxy for a market factor. PCA finds the direction that accounts for the greatest cross-sectional variation. When the first…

EquitiesStatisticsFactor investingPortfolio construction
Quant Q&A

The document asks whether returns that are highly skewed or fat-tailed over short intervals become more normal when compounded over a longer period. It describes an example of accumulating weekly yields across a year and observes that, when yields are…

OptionsStatisticsRisk management
Quant Q&A

The document presents a proposed mean-variance portfolio optimization using residual covariance from a diagonal model. Its constraints set a target expected return, require the portfolio weights to sum to one, impose a beta-related condition, and specify a…

Portfolio constructionEquitiesStatisticsRisk management
Quant Q&A

The document explains why an inverted yield curve is often viewed as a warning about economic weakness. Under expectations-based accounts, long-term rates reflect expected future short rates; an inversion can therefore indicate that markets anticipate rate…

Fixed incomeUS marketsStatisticsRisk management
Quant Q&A

The document raises a question about what option open interest represents across different stocks. For small-cap options, the author sees open interest mainly as a sign of liquidity. For highly traded large-cap names, where liquidity may be less limiting,…

OptionsEquitiesStatistics