I have asset (Asset C) with negative price. I tried to shift them upwards so that all the price history is positive.
while(asset(loop("Asset A", "Asset B", "Asset C")))
{
if(Asset == "Asset C") PriceOffset = 700;
.....
}
However, when I check the price printed in log, Zorro doesn't seem to shift the price upwards, since it only prints the first positive price.
Not sure if the offset usage is wrong.