Gunthy

GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: d2842088 on November 30, 2020, 12:01:29 AM

Title: GB fails to create sell order for USD-MRK on GDAX
Post by: d2842088 on November 30, 2020, 12:01:29 AM
Hi folks,

I'm running into an error where GB won't create a sell order.
It looks kind of similar to https://forum.gunthy.org/index.php?topic=4222.msg16222#msg16222, but that thread makes it seem like the issue has been fixed.

Thanks for the help.

Code: [Select]
GB_20.4.6 USD-MKR@gdax Round #451 2020/11/29 16:51:08
[1B blob data]
2020/11/29 16:51:09: Entering sell cycle
[1B blob data]
l5694
************************************************************************************************
0.37869 undefined NaN
************************************************************************************************
[ precision: { amount: 6, price: 4 }, minSize: undefined ]
Original price: 544.6388
Original volume: NaN
Error: NaN: invalid number (contains an illegal character 'N')
    at decimalToPrecision (/snapshot/test/Desktop/dsg/node_modules/ccxt.pro/node_modules/ccxt/js/base/functions/number.js:179:19)
    at coinbasepro.amountToPrecision (/snapshot/test/Desktop/dsg/node_modules/ccxt.pro/node_modules/ccxt/js/base/Exchange.js:1235:16)
    at coinbasepro.createOrder (/snapshot/test/Desktop/dsg/node_modules/ccxt.pro/node_modules/ccxt/js/coinbasepro.js:670:26)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
Error: Issue creating sell order:{}
    at errorHandler (/snapshot/test/Desktop/dsg/ctx/js/gdax.js:0:0)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
[1B blob data]
2249
Title: Re: GB fails to create sell order for USD-MRK on GDAX
Post by: Aitor on December 02, 2020, 01:21:44 AM
Hi folks,

I'm running into an error where GB won't create a sell order.
It looks kind of similar to https://forum.gunthy.org/index.php?topic=4222.msg16222#msg16222, but that thread makes it seem like the issue has been fixed.

Thanks for the help.

Code: [Select]
GB_20.4.6 USD-MKR@gdax Round #451 2020/11/29 16:51:08
[1B blob data]
2020/11/29 16:51:09: Entering sell cycle
[1B blob data]
l5694
************************************************************************************************
0.37869 undefined NaN
************************************************************************************************
[ precision: { amount: 6, price: 4 }, minSize: undefined ]
Original price: 544.6388
Original volume: NaN
Error: NaN: invalid number (contains an illegal character 'N')
    at decimalToPrecision (/snapshot/test/Desktop/dsg/node_modules/ccxt.pro/node_modules/ccxt/js/base/functions/number.js:179:19)
    at coinbasepro.amountToPrecision (/snapshot/test/Desktop/dsg/node_modules/ccxt.pro/node_modules/ccxt/js/base/Exchange.js:1235:16)
    at coinbasepro.createOrder (/snapshot/test/Desktop/dsg/node_modules/ccxt.pro/node_modules/ccxt/js/coinbasepro.js:670:26)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
Error: Issue creating sell order:{}
    at errorHandler (/snapshot/test/Desktop/dsg/ctx/js/gdax.js:0:0)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
[1B blob data]
2249

Hi, sometimes this error can be fixed just buy doing a manual purchase of MKR using USD and then sell it back to USD. Also note that this pair is not available for several regions, so maybe your region doesn't allow to trade with that pair. This to do a manual purchase and check if it allows you to do it.