This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
x is undefined - crash in numbro.js #472
Comments
Actually - think this might be the same as #457 |
Yes, it's a dupe. As it's not adding any new information I will be closing this ticket in lieu of the other. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Got this crash and error message while running for bittrex.btc-eth:
undefined
undefined
/zenbot/node_modules/numbro/numbro.js:1111
var parts = x.toString().split('.');
^
TypeError: Cannot read property 'toString' of undefined
at multiplier (/zenbot/node_modules/numbro/numbro.js:1111:22)
at /zenbot/node_modules/numbro/numbro.js:1127:22
at Array.reduce (native)
at correctionFactor (/modules/numbro/numbro.js:1197:47)
at /zenbot/commands/trade.js:236:78
at /zenbot/lib/engine.js:191:14
at /zenbot/extensions/exchanges/bittrex/exchange.js:113:18
at Request._callback (/zenbot/node_modules/node.bittrex.api/node.bittrex.api.js:112:25)
at self.callback (/zenbot/node_modules/node.bittrex.api/node_modules/request/request.js:188:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/zenbot/node_modules/node.bittrex.api/node_modules/request/request.js:884:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at connectErrorNT (net.js:1021:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
The text was updated successfully, but these errors were encountered: