Quote:
The bid price is negative, so:

Code:
void tick()
...



I stored .t1 that way and my .t1 in ZHistoryEditor look like
Code:
2018.01.27 00:28:34.000	177,18
2018.01.27 00:28:34.000	-175,23
2018.01.27 00:28:31.000	177,2
2018.01.27 00:28:31.000	-175,23



Then I modified the code of the BrokerArb example with
Code:
asset("Asset_A");
Spread = marketVal(); // From Manual: For backtesting with variable spread, set Spread = marketVal() in the script.
var SpreadA = Spread, PriceA = priceClose(), CommissionA = ...

asset("Asset_B");
Spread = marketVal();
var SpreadB = Spread, PriceB = priceClose(), CommissionB = ...


But both SpreadA and SpreadB remain always 0.0000. Did I miss something?