Errors
#1
First off I am very new to crypo and Linux.

I get the following errors using Kraken exchange:
Not sure if this is an error 
getPortfolio
aa { '0': null,
  '1': { error: [], result: { XXBT: '0.0050000000' } } }

But this is definitely an error

(node:22051) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
   at Fetcher.processTrades (/home/drewskie/gekko/core/budfox/marketFetcher.js:94:29)
   at bound (/home/drewskie/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Trader.processResults (/home/drewskie/gekko/exchanges/kraken.js:145:21)
   at bound (/home/drewskie/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at /home/drewskie/gekko/core/util.js:28:7
   at /home/drewskie/gekko/exchanges/kraken.js:137:12
   at response.then.catch.error (/home/drewskie/gekko/node_modules/kraken-api-es5/index.js:132:70)
   at <anonymous>
   at process._tickCallback (internal/process/next_tick.js:160:7)
(node:22051) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:22051) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Any idea what I am doing wrong
  Reply


Forum Jump:


Users browsing this thread: