From 6f22e438237f911a1e935e7e9c96620666cb764c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 4 Jun 2019 17:13:31 +0200 Subject: [PATCH] Removing Unsuded variables --- Commons.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Commons.js b/Commons.js index 22a662ef5..6a8c92928 100644 --- a/Commons.js +++ b/Commons.js @@ -88,17 +88,13 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { let stopLossPercentage = 50; let previousStopLoss = 0; let stopLoss = 0; - let stopLossDecay = 0; - let stopLossDecayIncrement = 0.06; let stopLossPhase = 0; /* Buy Order Management */ const MIN_BUY_ORDER_VALUE = 1 // We can not let the buy order be zero to avoid division by 0 error or infinity numbers as a result. - let takeProfitPercentage = 1; let previousTakeProfit = 0; let takeProfit = 0; - let takeProfitDecay = 0; let takeProfitPhase = 0; /* Building records */ @@ -763,8 +759,6 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { stopLoss = sellRate + sellRate * stopLossPercentage / 100; previousStopLoss = stopLoss; - stopLossDecay = 0; - checkStopLoss(); checkTakeProfit();