apaPriceSim.BB(InitialPrice, TerminalPrice, nSims, nPaths, dt, mu, sigma)
Excel
=apaPriceSim.BB(InitialPrice, TerminalPrice, nSims, nPaths, dt, mu, sigma)Result
Simulates prices which follow a Brownian bridge, i.e. a geometric Brownian motion with a deterministic ending value. Each row contains an observation, each column a price path.
Syntax
InitialPrice: beginning price, e.g. 100.
TerminalPrice: ending price, e.g. 125.
nSims: number of observations to simulate
nPaths: number of price paths to simulate
dt: time step between two observations, e.g. 1/12 for monthly, 1 for annual and 1/250 for daily prices
mu: expected mean of the noise term, e.g. zero for no drift.
sigma: volatility of noise term
