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 response explains how to handle a gap call, whose strike determining exercise differs from the strike used to calculate the payoff. It rewrites the payoff as the underlying asset paid only when the exercise threshold is crossed, less a fixed amount paid…

OptionsDerivatives pricing
Quant Q&A

The document asks whether stock prices, log returns, and cumulative returns have probability density functions, cumulative distribution functions, or both, and when each representation is useful. The included answer explains that a cumulative distribution…

StatisticsEquitiesFixed income
Quant Q&A

The document raises a time-series interpretation problem: a Hurst exponent above 0.5 is understood by the questioner as evidence of persistence, while a variance ratio test appears to indicate mean reversion. It asks which result to trust and why the two…

StatisticsMean reversion
Quant Q&A

The document describes a student fund’s effort to improve how it represents a domestic government bond index held through fixed-income ETFs. Its current approach treats the index as one bond, discounts projected cash flows, and feeds that estimated value…

Fixed incomePortfolio construction
Quant Q&A

The note derives an unconditional-expectation form of expected shortfall from its definition as the negative conditional mean of returns in the loss tail. It uses the indicator of the event that a return falls below the VaR threshold, then applies the…

Risk managementStatisticsBacktesting
Quant Q&A

The document raises a methodological question about applying principal component analysis to financial asset series. It compares using price levels with using returns, and asks whether the selected series should be standardized before calculating covariance.…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document explains the basic valuation framework for residential and commercial mortgage-backed securities: estimate the security’s cash flows and discount them to calculate present value. The central difficulty is forecasting those cash flows, especially…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document addresses Monte Carlo valuation of a call option on a zero-coupon bond under the Vasicek short-rate model. It first challenges the question’s stated closed-form benchmark, deriving a bond-option price using the Vasicek bond pricing function and…

Fixed incomeOptionsDerivatives pricingBacktesting
Quant Q&A

The document distinguishes what HJM and commonly used Markovian short-rate models say about interest-rate curves. HJM specifies the current forward curve and models its evolution across maturities. A short-rate model specifies the evolution of the…

Fixed incomeStatistics
Quant Q&A

The document addresses the misconception that volatility is bounded by the largest possible percentage decline in a stock price. In the Black–Scholes framework, volatility scales the standard deviation of the asset’s log return over the option’s life. That…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why expected value differs for holding an underlying asset and holding a call option. An underlying position is exposed to the asset’s full range of possible prices, so its expected price weights every outcome by its probability. A…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares two ways to scale daily trading profit and loss: dividing by the previous day’s gross portfolio value or by the account’s initial equity. These choices describe different things. The prior-day value expresses each day’s gain relative to…

BacktestingStatisticsPortfolio construction
Quant Q&A

The document asks why a Black–Scholes option price differs from an expected option payoff calculated from a spreadsheet model. One response identifies a key model mismatch: Black–Scholes assumes lognormal stock prices, while the spreadsheet uses normally…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers the one-year forward value of an equity that pays a known dividend after six months, with different interest rates for the six-month and one-year terms. Under deterministic rates and risk-neutral valuation, the answer carries the…

EquitiesDerivatives pricingFixed income
Quant Q&A

The document discusses why borrowers and investors choose debt or equity to finance an investment. It emphasizes the available collateral, cash flow, uncertainty, and potential upside. A young company with little collateral and negative cash flow may…

EquitiesFixed incomeRisk management
Quant Q&A

The document asks whether a proposed optimal holding for a CARA investor with normally distributed risky-asset payoffs is correct. Its setup compares expected payoff net of the risk-free investment cost with payoff variance, and suggests scaling expected…

Portfolio constructionPosition sizingStatisticsRisk management
Quant Q&A

The answer recommends calibrating interconnected interest-rate curves with a global solver instead of bootstrapping each curve in sequence. The workflow defines curves and calibration instruments, assigns each instrument its forecasting and discounting…

Fixed incomeDerivatives pricingStatisticsMulti-asset
Quant Q&A

The discussion points to two practical approaches for hedging volatility swaps. For forward-starting swaps, it cites a method that uses straddles at a particular strike, with hedge notional linked to the volatility skew at that strike. For…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The discussion distinguishes forecasting the aggregate equity premium for the next month from ranking individual stocks by expected return. It points to characteristic-based cross-sectional models, using rolling Fama–MacBeth slopes and multiple firm…

EquitiesFactor investingStatistics
Quant Q&A

The document considers valuing a European call when its underlying asset cannot be traded, so the continuous-trading replication assumptions behind Black–Scholes are unavailable. Suggested inputs and approaches include estimating the underlying’s value from…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks how factor exposures differ from the factor returns themselves in the Fama–French three-factor model. It contrasts a Fama–MacBeth second-stage regression using estimated asset betas with a proposed regression using the factor series…

Factor investingStatistics
Quant Q&A

The document contrasts implied volatility from near-expiry, at-the-money S&P 500 options with the VIX. The response characterizes VIX as a discrete approximation to the square root of a theoretical fair variance swap strike, with its calculation window set…

OptionsVolatilityDerivatives pricingUS markets
Quant Q&A

The document discusses where to obtain constant maturity swap (CMS) swap prices for comparing theoretical valuations with market quotes. One response points to swap-rate ticker conventions for different maturities, while another suggests looking for spread…

Fixed incomeDerivatives pricingVolatilityMarket microstructure