Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Bittrex RSI Strategy error after running about 10 hours #446

Closed
azrulhaifan opened this issue Aug 6, 2017 · 1 comment
Closed

Bittrex RSI Strategy error after running about 10 hours #446

azrulhaifan opened this issue Aug 6, 2017 · 1 comment

Comments

@azrulhaifan
Copy link

I was using zenbot for 10 hours to trade on Bittrex using RSI Strategy. The bot error with ouput like this :

`undefined
/root/zenbot/node_modules/numbro/numbro.js:1111
var parts = x.toString().split('.');
^

TypeError: Cannot read property 'toString' of undefined
at multiplier (/root/zenbot/node_modules/numbro/numbro.js:1111:22)
at /root/zenbot/node_modules/numbro/numbro.js:1127:22
at Array.reduce (native)
at correctionFactor (/root/zenbot/node_modules/numbro/numbro.js:1125:21)
at Numbro.add (/root/zenbot/node_modules/numbro/numbro.js:1197:47)
at /root/zenbot/commands/trade.js:234:78
at /root/zenbot/lib/engine.js:191:14
at /root/zenbot/extensions/exchanges/bittrex/exchange.js:113:18
at Request._callback (/root/zenbot/node_modules/node.bittrex.api/node.bittrex.api.js:112:25)
at Request.self.callback (/root/zenbot/node_modules/request/request.js:188:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request. (/root/zenbot/node_modules/request/request.js:1171:10)
at emitOne (events.js:115:13)
at Request.emit (events.js:210:7)
at IncomingMessage. (/root/zenbot/node_modules/request/request.js:1091:12)
at Object.onceWrapper (events.js:314:30)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1045:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
`

Is this bug ? i start the bot again and now, the bot is normal.

@KryptoNova
Copy link
Contributor

KryptoNova commented Nov 16, 2017

There appears to be a fix for this, but it is something that needs to be done after each time an npm install happens.
See #457.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants