Este es uno de los errores cuya causa es más fácilmente localizable en Gunbot. Es posible que te salga el siguiente error al ejecutar Gunbot con el Addon de TradingView:
Loading config…
Loading exchange bittrex
{ Error: Invalid credentials (Failure)
at Connection._resTagged (C:\snapshot\Gunbot-master\node_modules\imap\lib\Connection.js:1502:11)
at Parser. (C:\snapshot\Gunbot-master\node_modules\imap\lib\Connection.js:194:10)
at emitOne (events.js:115:13)
at Parser.emit (events.js:210:7)
at Parser._resTagged (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:175:10)
at Parser._parse (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:139:16)
at Parser._tryread (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:82:15)
at TLSSocket.__dirname.Parser.debug._cbReadable (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:53:12)
at emitNone (events.js:105:13)
at TLSSocket.emit (events.js:207:7)
at emitReadable_ (_stream_readable.js:500:10)
at emitReadable (_stream_readable.js:494:7)
at addChunk (_stream_readable.js:261:7)
at readableAddChunk (_stream_readable.js:237:11)
at TLSSocket.Readable.push (_stream_readable.js:195:10)
at TLSWrap.onread (net.js:586:20)
at Socket.ondata (_stream_wrap.js:58:20)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at addChunk (_stream_readable.js:250:12)
at readableAddChunk (_stream_readable.js:237:11)
at Socket.Readable.push (_stream_readable.js:195:10)
at TCP.onread (net.js:586:20)
type: ‘no’,
textCode: ‘AUTHENTICATIONFAILED’,
source: ‘authentication’ }
2017/11/09 22:06:02 Connection ended
Ten en cuenta que al ejecutar Gunbot con el Addon de TradingView, éste necesita logearse en tu email para buscar alertas de compra y venta. Es necesario que pongas los datos correctos en los siguientes parámetros para que Gunbot pueda acceder a tu email:
«user»: «YOUR_EMAIL_HERE»,
«password»: «YOUR_PASSWORD_HERE»,
«host»: «imap.gmail.com»,
Si los datos introducidos no son correctos, verás el mensaje «Invalid credentials – Authentificationfailed».