strategyStage
This commit is contained in:
1 parent
eb7da33811
commit
b962c0954c
3 files changed
+5
-5
No files matched your search
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
record.positionRate + "," +
|
||||
record.lastProfitPercent + "," +
|
||||
record.strategy + "," +
|
||||
record.strategyPhase + "," +
|
||||
"'" + record.strategyStage + "'" + "," +
|
||||
record.takeProfit + "," +
|
||||
record.stopLossPhase + "," +
|
||||
record.takeProfitPhase + "," +
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
record.positionRate + "," +
|
||||
record.lastProfitPercent + "," +
|
||||
record.strategy + "," +
|
||||
record.strategyPhase + "," +
|
||||
"'" + record.strategyStage + "'" + "," +
|
||||
record.takeProfit + "," +
|
||||
record.stopLossPhase + "," +
|
||||
record.takeProfitPhase + "," +
|
||||
|
||||
Reference in new issue
Block a user