The document poses a portfolio insurance problem in which an investor trades a stock and holds the remainder in a zero-interest bank account at a finite set of dates. The stock is modeled as geometric Brownian motion, and the objective is to choose stock…
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
21,023 documents
The document raises a general problem in numerical optimization: an algorithm's output may not be the global maximum or minimum, especially when the objective is difficult and the search begins from an initial vector. It frames the issue using an…
This document describes an R function for simulating multivariate constant conditional correlation GARCH processes. It distinguishes the original CCC model, where ARCH and GARCH parameter matrices are diagonal, from an extended version that permits full…
The document asks whether a forward Libor rate remains a martingale at intermediate times under the forward measure associated with its payment date. The accepted response applies the tower property of conditional expectation: if the rate is a martingale…
The document presents a Python workflow for fitting a SABR volatility smile with QuantLib. The example supplies option strikes and implied volatilities, constructs a NoArbSabrInterpolatedSmileSection, sets initial values for alpha, beta, nu, and rho, and…
The document derives the stochastic dynamics of a forward rate from the risk-neutral dynamics of zero-coupon bond prices. It first defines the instantaneous forward rate as the negative maturity derivative of the log bond price, then uses the…
The document considers how to choose two strategy parameters from an in-sample grid using Sharpe ratio, Sortino ratio, and maximum drawdown. Its central lesson is to assess the pattern across nearby parameter settings rather than automatically selecting the…
The document concerns numerical evaluation of the integral used to price a call option under the Heston stochastic volatility model. The question asks whether Simpson’s rule or Gauss–Legendre quadrature is suitable and seeks MATLAB or Scilab implementations.…
The document distinguishes the efficient market hypothesis (EMH) from the random walk hypothesis (RWH). EMH describes prices incorporating available information continuously; RWH says price changes are not predictable and follow a random walk. A random walk…
The post studies option pricing under a time-dependent Heston model in which mean reversion changes across time intervals while other listed parameters are held fixed. It compares prices from an Elice method and two Monte Carlo approaches, Milstein and…
The post asks how to maximize a portfolio return metric computed by a large R function with one bounded input parameter. The parameter is restricted to a range from 1.0 to 1.5, starts at 1.25, and only needs precision to increments of 0.05. The author…
The document distinguishes detecting a bond’s richening or cheapening from estimating its fair value. A regression of daily price changes against related securities can accumulate residuals that show relative moves, but those moves alone cannot tell whether…
The document asks how to optimize an automated trading strategy when higher expectancy coincides with sharply fewer trades. It also notes that maximum drawdown appears to improve as trade counts fall, making it difficult to judge whether performance gains…
The document considers why a portfolio VaR based on a covariance matrix and normally distributed market factors may exceed its stated confidence bounds more often than expected. It proposes decomposing portfolio risk into component VaR to identify which…
The document outlines a proposed workflow for pricing a quanto option: estimate marginal distributions for the underlying asset and exchange rate, connect them with a copula, then calculate the expected payoff under the resulting joint distribution. Its main…
The response derives a closed-form present value for an infinite sequence whose cash flows follow a cosine pattern and are discounted at a constant rate. It notes that odd-indexed terms vanish, rewrites the surviving cosine terms as alternating signs, and…
The document asks how to modify the closed-form Markowitz efficient-portfolio weights so that every asset weight is positive. The supplied formula uses expected returns and the inverse covariance matrix to describe the unconstrained efficient portfolio…
The document addresses which bond data to use when estimating a portfolio variance–covariance matrix. Its central recommendation is to model returns rather than covariance of raw prices. For longer-maturity bonds, historical returns from traded prices may be…
The document addresses an interview puzzle about applying a fixed set of positive and negative returns to an asset and asks which ordering maximizes the ending value. Each return multiplies the current asset value by one plus that return. Since…
The document asks where to learn econometric methods for continuous-time models when observations arrive at discrete times. It explains why the topic is relatively specialized: standard econometrics and time-series texts may give it little attention, and…
The document presents a time-series modeling problem: an ARFIMA(12,0,12) mean with an eGARCH volatility specification produces plausible one-step forecasts on a sample of 2,000 observations, but extreme mean and variance forecasts after fitting the same…
The document identifies research on whether academic publication eliminates stock return predictability and relates it to slow information diffusion. The suggested explanation is that information may take time to become fully reflected in prices, with the…
The discussion clarifies how risk-neutral pricing connects to delta hedging and the Black–Scholes equation. In a standard setup, a self-financing hedged portfolio is locally risk-free, so its return is tied to the financing rate. The stock’s real-world…
This discussion examines why a return calculated from an adjusted share-price series may differ from a reported total shareholder return with dividends reinvested. It explains that a total-return series is a constructed price history: dividends are treated…