From a63e268192c752df93f1136f4ff4f7f98c4eb324 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sun, 5 Jan 2020 14:27:36 +0100 Subject: [PATCH] market from UI --- Hole-Fixing/User.Bot.js | 2 +- Live-Trades/User.Bot.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Hole-Fixing/User.Bot.js b/Hole-Fixing/User.Bot.js index 9644dbc9a..f0352b276 100644 --- a/Hole-Fixing/User.Bot.js +++ b/Hole-Fixing/User.Bot.js @@ -139,7 +139,7 @@ let currentDate; // This will hold the current datetime of each execution. - let market = global.MARKET; + let market = bot.market; let dateForPath; let filePath; diff --git a/Live-Trades/User.Bot.js b/Live-Trades/User.Bot.js index cac0872a6..17f9b5988 100644 --- a/Live-Trades/User.Bot.js +++ b/Live-Trades/User.Bot.js @@ -71,7 +71,7 @@ if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> Entering function."); } - let market = global.MARKET; + let market = bot.market; let currentDate; // This will hold the current datetime of each execution. let previousMinute; // This hold the current time minus 60 seconds.