Merge pull request #746 from Luis-Fernando-Molina/develop

Contribution: BUG FIX: uid not defined after change for Bitstamp
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-03-30 15:18:42 -04:00
commit 335cdcf585
1 file changed
+3 -2
@@ -27,19 +27,20 @@
let key
let secret
let uid
if (TS.projects.superalgos.globals.taskConstants.TASK_NODE.keyReference !== undefined) {
if (TS.projects.superalgos.globals.taskConstants.TASK_NODE.keyReference.referenceParent !== undefined) {
key = TS.projects.superalgos.globals.taskConstants.TASK_NODE.keyReference.referenceParent.config.codeName
secret = TS.projects.superalgos.globals.taskConstants.TASK_NODE.keyReference.referenceParent.config.secret
uid = TS.projects.superalgos.globals.taskConstants.TASK_NODE.keyReference.referenceParent.config.uid
uid = TS.projects.superalgos.globals.taskConstants.TASK_NODE.keyReference.referenceParent.config.uid
}
}
const exchangeClass = ccxt[exchangeId]
const exchangeConstructorParams = {
'apiKey': key,
'secret': secret,
'uid' : uid,
'uid': uid,
'timeout': 30000,
'enableRateLimit': true,
verbose: false,