Hi again,
I've found something weird and I don't know the reason. According to the documentation, one can create artificial series variables of different assets or of different series variables just by doing something like

vars spread = series(asset1[0] + asset2[0]);

Being asset1 and asset2 series of closing prices of 2 different assets.
So far so good. But what I was trying to do was

vars pairsRatio = series(asset1[0] / asset2[0]);

And that operation always gives 1 as a result.
It is not a big problem, as I have seen that

vars pairsRatio = series(asset1[0] * asset2[0]);

works correctly, so with this operation I can get what I was looking for. Just wanted to ask if this behavior with the / operation is normal or not...

Thanks again jcl!

Last edited by Joaquin; 01/03/17 09:11.