Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the idea is to simulate price returns thus to be normally distributed i 'am trying to use subordinated arithmetic brownian motion subordinated to time activity (volume) stock prices are following GBM then you can say $$ dS_t=μS_tdt+σS_tdW_t $$ where the time considered is not the calendar time but activity time (Ané & Geman 2000). I faced problems while implementing it in matlab so any help would be appreciated.

share|improve this question
Can you say what these problems were that you faced in Matlab? Can you post your Matlab code here? – chrisaycock Sep 23 '13 at 16:10

Here it is. Returns here are normally distributed by construction. It doesn't involve time scale, you can use time, volume, or any other "activity".

>> sigma = 0.001;
>> mu = 0;
>> returns = mu + sigma * randn(1000,1);
>> price = cumprod(1 + returns);
>> plot(price)

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.