Question: Multi-Dimensional Geometric Brownian Motion

Trying to create multi-dimensional geometric brownian motion by using:

W := GeometricBrownianMotion(Vector(N, 1), Vector(N), B.B^%T);

but receive the following error message:

Error, (in Finance:-GeometricBrownianMotion) invalid input: ProcessOptions expects its 1st argument, x0, to be of type realcons, but received Vector(2, {(1) = 1, (2) = 1})

The vectors and B.B' matrix are fine, because

W := BrownianMotion(Vector(N, 1), Vector(N), B.B^%T);

works as expected and yields an N dimensional brownian motion process W.

Is this a bug or am I doing something wrong here?


Please Wait...