Merge pull request #90 from AAVikings/master

Empty time period
This commit is contained in:
benme authored and GitHub committed 2019-05-14 08:17:45 -03:00
commit b63bf566a3
1 file changed
+6 -4
+6 -4
View File
@@ -113,10 +113,12 @@ const createClone = async (clone) => {
'value': clone.exchangeName
})
env.push({
'name': 'TIME_PERIOD',
'value': clone.timePeriod.toString()
})
if (isDefined(clone.timePeriod)) {
env.push({
'name': 'TIME_PERIOD',
'value': clone.timePeriod.toString()
})
}
logger.debug('createClone Trading Configuration.')
if (clone.botType === Trading) {