Several Bug Fixes

This commit is contained in:
Luis Fernando Molina committed 2019-11-22 19:36:16 +01:00
1 parent f13e136135
commit bb68148d24
5 files changed
+51 -15

No files matched your search

+2 -1
View File
@@ -265,6 +265,7 @@
dataBuildingProcedure,
variableName,
timePeriod,
timePeriodLabel,
resultsWithIrregularPeriods,
interExecutionMemory,
processingDailyFiles,
@@ -384,7 +385,7 @@
To do that, the condition to be met is that this execution must include all candles of the current day.
*/
if (processingDailyFiles) {
if (lastRecord.current.end === lastInstantOfTheDay) {
if (lastRecord.current.end === lastInstantOfTheDay && yesterday.variable !== undefined) {
interExecutionMemory.variable = JSON.parse(JSON.stringify(yesterday.variable))
}
}