The document considers how to measure the fit of a portfolio or linear combination of assets intended to reproduce another asset’s returns. It notes a weakness of relative error: dividing by the target return becomes unstable when that return is near zero.…
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.
Search the library
16,761 documents
The document poses a statistical question about annualized Sharpe ratios. It starts from the convention of multiplying a daily Sharpe ratio by the square root of the number of trading days in a year, under certain assumptions, and asks whether that scaling…
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…
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…
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…
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…
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…
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…
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…
The document compares two ways to obtain future distributions and price claims from an Itô process. A Fokker–Planck equation evolves the probability density through a deterministic partial differential equation, while Monte Carlo estimates outcomes from…
The document considers how to compare two optimized portfolios whose returns are positively skewed and have positive kurtosis. The author asks whether to estimate each portfolio's alpha against value-weighted and equally weighted benchmarks, or regress one…
The document surveys ways to obtain long-history intraday data for S&P 500 instruments, including index or ETF prices, futures, and options. The responses describe commercial vendors, exchange data shops, academic databases, and hosted research platforms.…
The document considers how to track exit risk for a portfolio of direct investments in real estate, infrastructure, and private equity. It proposes treating the ability to sell as an option: the hypothetical premium for a right to exit could serve as a cost…
The document discusses implicit equity trading costs and the market conditions that shape them. A central explanation is adverse selection: market makers facing informed traders risk trading at prices that will soon move against them. They may respond by…
The document discusses how to interpret and empirically assess Geometric Brownian Motion (GBM). Under GBM, log returns follow a normal distribution whose mean combines the drift and a volatility adjustment. The drift is therefore a model parameter: its…
The document discusses how to choose regression basis functions in the Longstaff–Schwartz least squares Monte Carlo method for valuing American-style options, including real options with multiple risk factors. The question is whether the few Laguerre…
The document questions the assumption behind conventional strategy optimization: that the process generating historical market data remains stable. It notes that out-of-sample checks and periodic reruns can help address overfitting, but may not resolve the…
The document describes a comparison between intraday VIX-style implied volatility and realized variance computed from one-minute prices aggregated into hourly intervals. The implied measure is calculated from option prices for two maturities around 30 days,…
The discussion considers GPU selection for parallel quantitative finance workloads, with the original question asking whether hardware should favor multiplication over addition. One answer suggests that for MATLAB or Python on a single machine, the…
The document shows how to estimate geometric Brownian motion parameters from a series of daily prices. It first maps prices to log returns, which follow a normal process with drift equal to the price process’s drift minus half the variance rate. When the…
The document explains convertible bond arbitrage as buying a convertible bond while shorting the issuer’s stock to create a delta-hedged, long-volatility position. The strategy seeks to benefit when realized volatility exceeds the bond’s implied volatility,…
The document shows why subtracting calendar dates does not reliably locate observations in daily financial data. Weekends and market holidays create gaps, so the number of elapsed days can differ from the number of rows between two trading dates. The example…
The document explains XIRR as the annualized rate that equates a dated series of irregular cash flows with an equivalent constant-rate investment. Its examples contrast a simple loan with interest paid at different dates and a short holding-period trade,…
The document discusses reports of inconsistent Yahoo Finance downloads after changes to its data access method. The answer describes a retrieval process that relied on extracting a token from a webpage, along with reported irregularities in adjusted-close…