Question: Problem in Expected Value

Hi everyone,

Here is the code:

Ralpha:=sqrt(d)*IdentityMatrix(2):

alpha:=Array([WienerProcess(Ralpha),WienerProcess(Ralpha),WienerProcess(Ralpha),WienerProcess(Ralpha)]):

alpha1:=k->Vector[column]([[alpha[1](k)[1]],[alpha[1](k)[2]],[alpha[2](k)[1]],[alpha[2](k)[2]],[alpha[3](k)[1]],[alpha[3](k)[2]],[alpha[4](k)[1]],[alpha[4](k)[2]]]):

Finance[ExpectedValue](alpha1(0)[1]*alpha1(0)[1],timesteps=100,replications=10^4);

----> 

Error, (in Finance:-ExpectedValue) unexpected parameters: 0., 100
does annyone have an idea about what is causing this error?
my goal is to define:
sigma5:=k->Matrix(12,12,(i,j)->2*nu*(rhs(ExpectedValue(alpha1(k)[i]*alpha1(k)[j],timesteps=100,replications=10^4)[1])-rhs(ExpectedValue(alpha1(k)[i],timesteps=100,replications=10^4)[1])*rhs(ExpectedValue(alpha1(k)[j],timesteps=100,replications=10^4)[1]))):
and calculate its determinant at each time k.
 
Thanks for your help.
Please Wait...