Quote:
Spread is only stored for bars, not for ticks.
This is exactly what one expects if he read in the manual:
Quote:
If .t1 data contains both ask and bid quotes, marketVal returns the recent ask-bid spread

I would laugh about if I didn't waste much time searching for errors in my code.