diff --git a/Commons.js b/Commons.js index 5ae6b1cac..736a2c286 100644 --- a/Commons.js +++ b/Commons.js @@ -503,7 +503,7 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { marketRate = stopLoss; type = '"Buy@StopLoss"'; - strategyStage = 4; + strategyStage = 'Close Stage'; currentTrade.end = candle.end; currentTrade.status = 1; currentTrade.exitType = 1; @@ -532,7 +532,7 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { marketRate = takeProfit; type = '"Buy@TakeProfit"'; - strategyStage = 4; + strategyStage = 'Close Stage'; currentTrade.end = candle.end; currentTrade.status = 1; currentTrade.exitType = 2; @@ -693,7 +693,7 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { addRecord(); - strategyStage = 3; + strategyStage = 'Manage Stage'; continue; } diff --git a/Multi-Period-Daily/User.Bot.js b/Multi-Period-Daily/User.Bot.js index a1d16199b..44991c675 100644 --- a/Multi-Period-Daily/User.Bot.js +++ b/Multi-Period-Daily/User.Bot.js @@ -162,7 +162,7 @@ record.positionRate + "," + record.lastProfitPercent + "," + record.strategy + "," + - record.strategyPhase + "," + + "'" + record.strategyStage + "'" + "," + record.takeProfit + "," + record.stopLossPhase + "," + record.takeProfitPhase + "," + diff --git a/Multi-Period-Market/User.Bot.js b/Multi-Period-Market/User.Bot.js index 6ac39ba67..28c80827a 100644 --- a/Multi-Period-Market/User.Bot.js +++ b/Multi-Period-Market/User.Bot.js @@ -160,7 +160,7 @@ record.positionRate + "," + record.lastProfitPercent + "," + record.strategy + "," + - record.strategyPhase + "," + + "'" + record.strategyStage + "'" + "," + record.takeProfit + "," + record.stopLossPhase + "," + record.takeProfitPhase + "," +