fix bug tthat every second tick was dropped

Every other tick used to be dropped before this fix, because of incrementing the counter twice in a loop
This commit is contained in:
Gunther Schulz
2020-11-22 13:24:09 +01:00
parent 1a0ce7af3a
commit 1c47fc12d1
-1
View File
@@ -1099,7 +1099,6 @@ void HistoryInfo(CJAVal &dataObject)
data[i][0]=(long) tickArray[i].time_msc;
data[i][1]=(double) tickArray[i].bid;
data[i][2]=(double) tickArray[i].ask;
i++;
}
d["data"].Set(data);
}