strategyStage

This commit is contained in:
Luis Fernando Molina committed 2019-06-04 21:55:27 +02:00
1 parent eb7da33811
commit b962c0954c
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -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;
}
+1 -1
View File
@@ -162,7 +162,7 @@
record.positionRate + "," +
record.lastProfitPercent + "," +
record.strategy + "," +
record.strategyPhase + "," +
"'" + record.strategyStage + "'" + "," +
record.takeProfit + "," +
record.stopLossPhase + "," +
record.takeProfitPhase + "," +
+1 -1
View File
@@ -160,7 +160,7 @@
record.positionRate + "," +
record.lastProfitPercent + "," +
record.strategy + "," +
record.strategyPhase + "," +
"'" + record.strategyStage + "'" + "," +
record.takeProfit + "," +
record.stopLossPhase + "," +
record.takeProfitPhase + "," +