diff --git a/.vs/AAMariam-Trading-Bot/v15/.suo b/.vs/AAMariam-Trading-Bot/v15/.suo index e07d34111..ddcf62c61 100644 Binary files a/.vs/AAMariam-Trading-Bot/v15/.suo and b/.vs/AAMariam-Trading-Bot/v15/.suo differ diff --git a/Trading-Process/User.Bot.js b/Trading-Process/User.Bot.js index 8e6d36a0b..29da82e44 100644 --- a/Trading-Process/User.Bot.js +++ b/Trading-Process/User.Bot.js @@ -118,6 +118,11 @@ assistant.putPosition("sell", rate, amountA, amountB, callBack); + if (LOG_INFO === true) { logger.write("[INFO] start -> businessLogic -> We start placing the first SELL order."); } + if (LOG_INFO === true) { logger.write("[INFO] start -> businessLogic -> amountA = " + amountA); } + if (LOG_INFO === true) { logger.write("[INFO] start -> businessLogic -> amountB = " + amountB); } + if (LOG_INFO === true) { logger.write("[INFO] start -> businessLogic -> rate = " + rate); } + } } catch (err) { logger.write("[ERROR] start -> businessLogic -> err = " + err.message); diff --git a/this.bot.config.json b/this.bot.config.json index 85028ac0f..0045c22c5 100644 --- a/this.bot.config.json +++ b/this.bot.config.json @@ -15,29 +15,20 @@ "name": "Trading-Process", "description": "Simple trading strategy to be used as a template.", "startMode": { - "allMonths": { + "live": { "run": "false", - "minYear": "", - "maxYear": "" - }, - "oneMonth": { - "run": "false", - "year": "", - "month": "" - }, - "noTime": { - "run": "true", "resumeExecution": "false" }, - "fixedInterval": { + "backtest": { "run": "false", - "interval": 0 + "beginDatetime": "2018-03-12T16:01:23.485Z", + "endDatetime": "2018-03-12T16:15:23.485Z", + "waitTime": 1000 }, - "timePeriod": { - "run": "false", - "beginDatetime": "2018-02-11T16:01:23.485Z", - "endDatetime": "2018-02-11T16:15:23.485Z", - "waitTime": 1000, + "competition": { + "run": "true", + "beginDatetime": "2018-04-27T16:00:00.000Z", + "endDatetime": "2018-04-28T16:05:00.000Z", "resumeExecution": "false" } },