From 1b53c950f21c324dfb11f601ff769f90e40017d4 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 20 Jan 2020 15:30:13 +0100 Subject: [PATCH] refactoring --- Conditions.js | 2 +- SimulationExecution.js | 2 +- Strategies.js | 2 +- Trades.js | 2 +- TradingSimulation.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Conditions.js b/Conditions.js index 13e948b87..01ae2ca3a 100644 --- a/Conditions.js +++ b/Conditions.js @@ -458,7 +458,7 @@ let maxValue = { x: MAX_PLOTABLE_DATE.valueOf(), - y: nextPorwerOf10(USDT_BTC_HTH) / 4 // TODO: This 4 is temporary + y: nextPorwerOf10(MAX_DEFAULT_RATE_SCALE_VALUE) / 4 // TODO: This 4 is temporary }; diff --git a/SimulationExecution.js b/SimulationExecution.js index a25259876..d6d2c82e4 100644 --- a/SimulationExecution.js +++ b/SimulationExecution.js @@ -319,7 +319,7 @@ let maxValue = { x: MAX_PLOTABLE_DATE.valueOf(), - y: nextPorwerOf10(USDT_BTC_HTH) / 4 // TODO: This 4 is temporary + y: nextPorwerOf10(MAX_DEFAULT_RATE_SCALE_VALUE) / 4 // TODO: This 4 is temporary }; coordinateSystem.initialize( diff --git a/Strategies.js b/Strategies.js index 45d5e69bb..bda368538 100644 --- a/Strategies.js +++ b/Strategies.js @@ -461,7 +461,7 @@ let maxValue = { x: MAX_PLOTABLE_DATE.valueOf(), - y: nextPorwerOf10(USDT_BTC_HTH) / 4 // TODO: This 4 is temporary + y: nextPorwerOf10(MAX_DEFAULT_RATE_SCALE_VALUE) / 4 // TODO: This 4 is temporary }; diff --git a/Trades.js b/Trades.js index bf16c8a18..b7ac90273 100644 --- a/Trades.js +++ b/Trades.js @@ -442,7 +442,7 @@ let maxValue = { x: MAX_PLOTABLE_DATE.valueOf(), - y: nextPorwerOf10(USDT_BTC_HTH) / 4 // TODO: This 4 is temporary + y: nextPorwerOf10(MAX_DEFAULT_RATE_SCALE_VALUE) / 4 // TODO: This 4 is temporary }; diff --git a/TradingSimulation.js b/TradingSimulation.js index 3ecf81ffa..8353cf7aa 100644 --- a/TradingSimulation.js +++ b/TradingSimulation.js @@ -482,7 +482,7 @@ let maxValue = { x: MAX_PLOTABLE_DATE.valueOf(), - y: nextPorwerOf10(USDT_BTC_HTH) / 4 // TODO: This 4 is temporary + y: nextPorwerOf10(MAX_DEFAULT_RATE_SCALE_VALUE) / 4 // TODO: This 4 is temporary }; coordinateSystem.initialize(