GDAX Trade Class Error
#1
I pulled the new update through yesterday which included the trade class update and now my Gdax bot crashes with the following error...

/root/gekko/plugins/trader/trade.js:312
      return minimum = this.minimalOrder.amount;
                     ^

ReferenceError: minimum is not defined
    at Trade.getMinimum (/root/gekko/plugins/trader/trade.js:312:22)
    at Trade.sell (/root/gekko/plugins/trader/trade.js:185:22)
    at act (/root/gekko/plugins/trader/trade.js:89:18)
    at /root/gekko/node_modules/async/dist/async.js:3853:9
    at /root/gekko/node_modules/async/dist/async.js:484:16
    at replenish (/root/gekko/node_modules/async/dist/async.js:1025:25)
    at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
    at /root/gekko/node_modules/async/dist/async.js:988:16
    at /root/gekko/node_modules/async/dist/async.js:3850:13
    at apply (/root/gekko/node_modules/async/dist/async.js:41:25)
    at /root/gekko/node_modules/async/dist/async.js:76:12
    at set (/root/gekko/plugins/trader/portfolio.js:89:9)
    at Trader.getFee (/root/gekko/exchanges/gdax.js:140:3)
    at Trader.bound [as getFee] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
    at Portfolio.setFee (/root/gekko/plugins/trader/portfolio.js:91:19)
    at /root/gekko/node_modules/async/dist/async.js:3845:9
    at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
    at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
    at /root/gekko/node_modules/async/dist/async.js:988:16
    at /root/gekko/node_modules/async/dist/async.js:3850:13
    at apply (/root/gekko/node_modules/async/dist/async.js:41:25)
    at /root/gekko/node_modules/async/dist/async.js:76:12
    at set (/root/gekko/plugins/trader/portfolio.js:74:9)
    at Trader.result (/root/gekko/exchanges/gdax.js:115:5)
    at bound (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
    at /root/gekko/core/util.js:28:7
    at /root/gekko/exchanges/gdax.js:101:12
    at Request._callback (/root/gekko/node_modules/gdax/lib/clients/public.js:45:7)


Help please
  Reply


Forum Jump:


Users browsing this thread: