Empty time period
This commit is contained in:
1 parent
2ea04cf671
commit
ae52568fd9
1 file changed
+6
-4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user