I can't seem to make the -a flag work when running Zorro from the command line. I thought this was fixed in version 1.28? This simple Unix script executes on whatever asset was last selected from the scrollbox, rather than looping through each asset as expected:
for i in AUD/CHF AUD/JPY AUD/NZD AUD/USD
do
cd "C:/Path/Zorro_1_28"
./Zorro -run ExportToCSV -a $i
read outfile < <(echo $i | tr '/' '_')
cd "C:/Path/Zorro_1_28/Data"
mv export.csv C:/Users/Kris/Documents/MATLAB/SingleAssetHistoryDaily/"$outfile".csv
done
Even without the loop (that is, specifying a single asset instead of using the $i placeholder), Zorro still executes on the last-selected asset from the scrollbox.
Is this still a bug? Or am I doing something wrong?
Cheers