From 520f499543373f0dbe028c9eedb0677dbdcf9bb3 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 17 Apr 2019 20:40:52 +0200 Subject: [PATCH] Variable Name Standarization --- Conditions.js | 2 +- SimulationExecution.js | 4 ++-- TradingSimulation.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Conditions.js b/Conditions.js index cc703ee01..c4c2fd96a 100644 --- a/Conditions.js +++ b/Conditions.js @@ -442,7 +442,7 @@ if (timeLineCoordinateSystem.maxValue > 0) { return; } // Already calculated. let minValue = { - x: EARLIEST_DATE.valueOf(), + x: MIN_PLOTABLE_DATE.valueOf(), y: 0 }; diff --git a/SimulationExecution.js b/SimulationExecution.js index 701d65563..cc06fb980 100644 --- a/SimulationExecution.js +++ b/SimulationExecution.js @@ -220,7 +220,7 @@ const ONE_MIN_IN_MILISECONDS = 60 * 1000; let step = timePeriod / ONE_MIN_IN_MILISECONDS; - let step = 1; // For now we dont discard records depending on the zoom level. + step = 1; // For now we dont discard records depending on the zoom level. let i = 0; let lastRecordPushed = 0; @@ -440,7 +440,7 @@ if (timeLineCoordinateSystem.maxValue > 0) { return; } // Already calculated. let minValue = { - x: EARLIEST_DATE.valueOf(), + x: MIN_PLOTABLE_DATE.valueOf(), y: 0 }; diff --git a/TradingSimulation.js b/TradingSimulation.js index 284937281..b37c0e8ae 100644 --- a/TradingSimulation.js +++ b/TradingSimulation.js @@ -573,7 +573,7 @@ if (timeLineCoordinateSystem.maxValue > 0) { return; } // Already calculated. let minValue = { - x: EARLIEST_DATE.valueOf(), + x: MIN_PLOTABLE_DATE.valueOf(), y: 0 };