diff --git a/Multi-Period-Market/User.Bot.js b/Multi-Period-Market/User.Bot.js index 1faeca81d..c0a887fe2 100644 --- a/Multi-Period-Market/User.Bot.js +++ b/Multi-Period-Market/User.Bot.js @@ -71,7 +71,7 @@ let simulationLogic = {}; let interExecutionMemory = {}; - let currentDay; + let currentDay = bot.processDatetime; commons.initializeData(); @@ -165,7 +165,7 @@ record.stopLossPhase + "," + record.buyOrderPhase + "," + JSON.stringify(record.orderRecord) + "]"; - + if (separator === "") { separator = ","; } fileRecordCounter++;