From 3bbafb05d5f3f6543b9a6ede1e6ff000f1dcbe05 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 2 Jun 2018 00:06:04 +0200 Subject: [PATCH] Breakpoint at the begining of the loop --- TradingBotProcessMainLoop.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/TradingBotProcessMainLoop.js b/TradingBotProcessMainLoop.js index 7373451bd..2bfc4f37e 100644 --- a/TradingBotProcessMainLoop.js +++ b/TradingBotProcessMainLoop.js @@ -287,7 +287,13 @@ } if (FULL_LOG === true) { logger.write("[INFO] run -> loop -> bot.processDatetime = " + bot.processDatetime); } - + + if (AT_BREAKPOINT === true) { + + if (FULL_LOG === true) { logger.write("[INFO] run -> loop -> Plot Breakpoint Hit."); } + + } + /* We will prepare first the infraestructure needed for the bot to run. There are 3 modules we need to sucessfullly initialize first. */ let context;