BUG FIX: uid not defined after change for Bitstamp

This commit is contained in:
Luis Fernando Molina committed 2021-03-30 21:18:16 +02:00
1 parent 2478de7a16
commit a8e3c399bb
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,