More bug fixes

This commit is contained in:
Luis Fernando Molina committed 2020-08-18 18:06:22 +02:00
1 parent fdbffef52e
commit dfb86967b8
5 files changed
+23 -20

No files matched your search

@@ -95,7 +95,8 @@ exports.newTradingSimulation = function newTradingSimulation(bot, logger, UTILIT
This will happen when the sessionParameters.timeRange.config.initialDatetime is beyond the last candle available,
meaning that the dataSet needs to be updated with more up-to-date data.
*/
tradingEngine.current.episode.candle.index.value = candles.length - 1
bot.SESSION.stop('Data is not up-to-date enough. Please start the Masters Data Mining Operation.')
return
}
}