Time Frames from global framework

This commit is contained in:
Luis Fernando Molina committed 2020-11-27 12:53:21 +01:00
1 parent 4b5c2abf3e
commit 2ded6a45b1
12 files changed
+69 -96

No files matched your search

@@ -30,7 +30,7 @@ exports.newTradingOutput = function newTradingOutput(bot, logger, tradingEngineM
async function start(chart, timeFrame, timeFrameLabel, tradingProcessDate) {
try {
if (timeFrame > global.dailyFilePeriods[0][0]) {
if (timeFrame > TS.projects.superalgos.globals.timeFrames.dailyFilePeriods()[0][0]) {
bot.processingDailyFiles = false
} else {
bot.processingDailyFiles = true