Bug that stopped execution at midnight fixed
This commit is contained in:
1 parent
fab5926309
commit
e9011f05a7
2 files changed
+1
-1
No files matched your search
Binary file not shown.
+1
-1
@@ -253,7 +253,7 @@
|
||||
|
||||
let timePeriod = candle.end - candle.begin + 1; // In miliseconds. (remember each candle spans a period minus one milisecond)
|
||||
|
||||
if (candle.begin >= global.processDatetime.valueOf() - timePeriod * 10 && candle.end <= global.processDatetime.valueOf()) {
|
||||
if (candle.begin >= global.processDatetime.valueOf() - timePeriod * 10 && candle.begin <= global.processDatetime.valueOf()) {
|
||||
|
||||
candlesArray.push(candle);
|
||||
|
||||
|
||||
Reference in new issue
Block a user