Unable to buy or sell
Hello,
Node: v8.6.0 Npm: v5.3.0 Exchange: Kraken Pair: XBT/ EUR (kraken.XXBT-ZEUR) Version of code (Last pull today 30/10/2017)
zenbot sell kraken.XXBT-ZEUR --pct 90 --debug => message: "not enough asset balance to sell!"
or
zenbot buy --pct=40 kraken.XXBT-ZEUR --debug => message: "not enough currency balance to buy!"
or
zenbot trade kraken.XXBT-ZEUR --debug ... => No message but order automatic not working ... And impossible to buy or sell even in manual mode using command "B / b" or "S / s" when bot is in trading mode.
Account balance € : 45.96€ Account balance XBT: 0.02428424
Previously (with another computer) all those commands works fine!
It's nothing :) but i play :)))
please check your system time. Other users where having problems to trade because of the system time being way off.
Thanks! I tried to update ntp but nothing change :/ Do i need to use a particular timezone ? Regards
you can check the date / ntp setting by running the "date" command in the command line. The date displayed should be correct
@JensvdHeydt Date is correct according to my timezone. Did i miss something ? Thx
Does Kraken have a minimal market limit? Gdax has a minimal asset size of 0.01 btc (around 50€) meaning: You can't trade with less than 50 €. Maybe it's the same with kraken?
@JensvdHeydt Oh thanks i've totally ignored this thing. According to Kraken Doc 0.01 in current currency so it could be right for buying method (and BTC recent wave could be the point) BUT even with 100€ doesn't work AND why selling method doesn't work too ? snif :( There must be a issue or something like that
Thanks
Do not forget to update products.json by launching ./update-products.sh on exchange you are trying to trade.
Some of us have found that keeping buy_pct and sell_pct to 99 (which are the defaults), instead of 100, which I see a lot of people change it to, it could resolve some of these issues.
Problem solved for me it works now without modification ... strange! Thanks for your help
@dukye I have the same error. could you tell me the way to fix it.
Hello, i have same / similar issue with buy_pct. Checked on Kraken and Binance exhanges. With 150USBT and mostly LTC, ETC pairs. Many times more than 30. and with different versions of zenbot. (latest unstable; Gdax; greenkeeper 3.0.0 some earlier commits) for me everywhere work the same way. Manual buy in Trade mode working just when buy_pct= 99 and sell_pct = 99. And usually if not have all balance in currency, firs should do sell via S or s, and just after do buy B or b. if buy_pct and sell_pct not 99 maybe more 90, with buy nothing happens just manual market (limit) Buy and that's all. In any settings for Sell not impact. You can set any percent works well. By the way it happens only in live (trade) mode. in --Paper looks everything well. I feel that problem can by somewhere with multiplier for (minimal buy limit) because maybe once have worked when i all had in curency and buy_pct= ~90... And one more bellow example for Buy are not working --debug. By the way it happens only in live (trade) mode. in --Paper looks everything well. Hope that's can help detect issue. on ubuntu 16.04. see bellow example with settings: buy_pct= 10 sell_pct = 30 Press l to list available commands. Web GUI running on http://0.0.0.0:20087/ 2018-02-15 14:24:36 220.740 LTC-USDT +0.02% 45 - 46.19 46 2018-02-15 14:24:36 220.740 LTC-USDT +0.02% 45 - 46.19 46 2018-02-15 14:24:36 220.740 LTC-USDT +0.02% 45 - 46.19 46 2018-02-15 14:24:36 220.740 LTC-USDT +0.02% 45 - 46.19 46 2018-02-15 14:24:36 220.740 LTC-USDT +0.02% 45 - 46.19 46 0.74257400 LTC 3.32835320 USDT +19.67% -15.26% manual market BUY command executed 2018-02-15 14:25:24 220.670 LTC-USDT -0.01% 520 - 45.84 45 2018-02-15 14:25:24 220.670 LTC-USDT -0.01% 520 - 45.84 45 2018-02-15 14:25:24 220.670 LTC-USDT -0.01% 520 - 45.84 45 2018-02-15 14:25:24 220.670 LTC-USDT -0.01% 520 - 45.84 45 2018-02-15 14:25:24 220.670 LTC-USDT -0.01% 520 - 45.84 45 0.74257400 LTC 3.32835320 USDT +19.64% -15.26% manual market SELL command executed 2018-02-15 14:26:00 220.890 LTC-USDT +0.09% 630 - 46.97 46 selling 0.74257400 LTC 3.32835320 USDT +19.75% -15.27% 2018-02-15 14:26:16 221.190 LTC-USDT +0.13% 285 - 48.56 48 selli2018-02-15 14:26:16 221.190 LTC-USDT +0.13% 285 - 48.56 48 selli2018-02-15 14:26:16 221.190 LTC-USDT +0.13% 285 - 48.56 48 selli2018-02-15 14:26:16 221.190 LTC-USDT +0.13% 285 - 48.56 48 selli2018-02-15 14:26:16 221.190 LTC-USDT +0.13% 285 - 48.56 48 selling 0.51980400 LTC 52.60730490 USDT +19.92% -15.27% sell order completed at 2018-02-15 14:26:22:
0.22277220 LTC at 221.230 USDT total 49.2838 USDT 0.0000% slippage (orig. price 221.230 USDT) execution: a few seconds
2018-02-15 14:27:06 223.100 LTC-USDT +1.00% 1172 56.82 ++ 56 so2018-02-15 14:27:06 223.100 LTC-USDT +1.00% 1172 56.82 ++ 56 so2018-02-15 14:27:06 223.100 LTC-USDT +1.00% 1172 56.82 ++ 56 so2018-02-15 14:27:06 223.100 LTC-USDT +1.00% 1172 56.82 ++ 56 so2018-02-15 14:27:06 223.100 LTC-USDT +1.00% 1172 56.82 ++ 56 so2018-02-15 14:27:51 222.740 LTC-USDT +0.83% 1579 55.47 ++ 55 so2018-02-15 14:27:51 222.740 LTC-USDT +0.83% 1579 55.47 ++ 55 so2018-02-15 14:27:51 222.740 LTC-USDT +0.83% 1579 55.47 ++ 55 so2018-02-15 14:27:51 222.740 LTC-USDT +0.83% 1579 55.47 ++ 55 so2018-02-15 14:27:51 222.740 LTC-USDT +0.83% 1579 55.47 ++ 55 sold 0.51980400 LTC 52.60730490 USDT +20.49% -15.45% manual limit BUY command executed 2018-02-15 14:28:00 222.500 LTC-USDT +0.72% 1586 54.52 + 54 sold 0.51980400 LTC 52.60730490 USDT +20.40% -15.42% 2018-02-15 14:28:45 223.300 LTC-USDT +0.35% 452 57.74 ++ 57 -0.92018-02-15 14:28:45 223.300 LTC-USDT +0.35% 452 57.74 ++ 57 -0.92018-02-15 14:28:45 223.300 LTC-USDT +0.35% 452 57.74 ++ 57 -0.92018-02-15 14:28:45 223.300 LTC-USDT +0.35% 452 57.74 ++ 57 -0.92018-02-15 14:28:45 223.300 LTC-USDT +0.35% 452 57.74 ++ 57 -0.92018-02-15 14:29:36 222.840 LTC-USDT +0.15% 856 55.95 ++ 55 -0.72018-02-15 14:29:36 222.840 LTC-USDT +0.15% 856 55.95 ++ 55 -0.72018-02-15 14:29:36 222.840 LTC-USDT +0.15% 856 55.95 ++ 55 -0.72018-02-15 14:29:36 222.840 LTC-USDT +0.15% 856 55.95 ++ 55 -0.72018-02-15 14:29:36 222.840 LTC-USDT +0.15% 856 55.95 ++ 55 -0.73% 0.51980400 LTC 52.60730490 USDT +20.53% -15.46% manual market BUY command executed 2018-02-15 14:30:00 222.650 LTC-USDT +0.06% 1020 55.16 ++ 55 -0.65% 0.51980400 LTC 52.60730490 USDT +20.46% -15.44% 2018-02-15 14:30:26 222.810 LTC-USDT +0.07% 58 55.88 ++ 55 -0.72018-02-15 14:30:26 222.810 LTC-USDT +0.07% 58 55.88 ++ 55 -0.72018-02-15 14:30:26 222.810 LTC-USDT +0.07% 58 55.88 ++ 55 -0.72018-02-15 14:30:26 222.810 LTC-USDT +0.07% 58 55.88 ++ 55 -0.72018-02-15 14:30:26 222.810 LTC-USDT +0.07% 58 55.88 ++ 55 -0.72% 0.51980400 LTC 52.60730490 USDT +20.52% -15.46% manual market BUY command executed 2018-02-15 14:31:13 222.760 LTC-USDT +0.04% 280 55.66 ++ 55 -0.72018-02-15 14:31:13 222.760 LTC-USDT +0.04% 280 55.66 ++ 55 -0.72018-02-15 14:31:13 222.760 LTC-USDT +0.04% 280 55.66 ++ 55 -0.72018-02-15 14:31:13 222.760 LTC-USDT +0.04% 280 55.66 ++ 55 -0.72018-02-15 14:31:13 222.760 LTC-USDT +0.04% 280 55.66 ++ 55 -0.70% 0.51980400 LTC 52.60730490 USDT +20.50% -15.45% manual limit SELL command executed
sell order completed at 2018-02-15 14:31:55:
0.15594120 LTC at 223.560 USDT total 34.8622 USDT 0.0000% slippage (orig. price 223.560 USDT) execution: a few seconds
2018-02-15 14:32:00 223.490 LTC-USDT +0.37% 478 58.68 ++ 58 sold 0.36386400 LTC 87.46925130 USDT +20.78% -15.53% 2018-02-15 14:32:05 223.550 LTC-USDT +0.02% 5 58.92 ++ 58 +0.02018-02-15 14:32:05 223.550 LTC-USDT +0.02% 5 58.92 ++ 58 +0.02018-02-15 14:32:05 223.550 LTC-USDT +0.02% 5 58.92 ++ 58 +0.02018-02-15 14:32:05 223.550 LTC-USDT +0.02% 5 58.92 ++ 58 +0.02018-02-15 14:32:05 223.550 LTC-USDT +0.02% 5 58.92 ++ 58 +0.00% 0.36386400 LTC 87.46925130 USDT +20.79% -15.55% juosma@juosma-HP-EliteBook-2570p:~/git/gdax$
---------------------------------------- STARTING LIVE TRADING ---------------------------------------- Press l to list available commands. Web GUI running on http://0.0.0.0:20082/ 2018-02-15 14:35:04 223.720 LTC-USDT +0.12% 806 58.79 ++ 58 2018-02-15 14:35:04 223.720 LTC-USDT +0.12% 806 58.79 ++ 58 2018-02-15 14:35:04 223.720 LTC-USDT +0.12% 806 58.79 ++ 58 2018-02-15 14:35:04 223.720 LTC-USDT +0.12% 806 58.79 ++ 58 2018-02-15 14:35:04 223.720 LTC-USDT +0.12% 806 58.79 ++ 58 0.36386400 LTC 87.46925130 USDT +20.84% -15.58% manual market BUY command executed 2018-02-15 14:35:51 223.310 LTC-USDT -0.06% 904 56.73 ++ 56 2018-02-15 14:35:51 223.310 LTC-USDT -0.06% 904 56.73 ++ 56 2018-02-15 14:35:51 223.310 LTC-USDT -0.06% 904 56.73 ++ 56 2018-02-15 14:35:51 223.310 LTC-USDT -0.06% 904 56.73 ++ 56 2018-02-15 14:35:51 223.310 LTC-USDT -0.06% 904 56.73 ++ 56 2018-02-15 14:36:00 223.310 LTC-USDT -0.06% 906 56.73 ++ 56 0.36386400 LTC 87.46925130 USDT +20.73% -15.50% 2018-02-15 14:36:44 223.360 LTC-USDT +0.02% 73 56.98 ++ 56 2018-02-15 14:36:44 223.360 LTC-USDT +0.02% 73 56.98 ++ 56 2018-02-15 14:36:44 223.360 LTC-USDT +0.02% 73 56.98 ++ 56 2018-02-15 14:36:44 223.360 LTC-USDT +0.02% 73 56.98 ++ 56 2018-02-15 14:36:44 223.360 LTC-USDT +0.02% 73 56.98 ++ 56 2018-02-15 14:37:34 223.700 LTC-USDT +0.17% 249 58.60 ++ 58 2018-02-15 14:37:34 223.700 LTC-USDT +0.17% 249 58.60 ++ 58 2018-02-15 14:37:34 223.700 LTC-USDT +0.17% 249 58.60 ++ 58 2018-02-15 14:37:34 223.700 LTC-USDT +0.17% 249 58.60 ++ 58 2018-02-15 14:37:34 223.700 LTC-USDT +0.17% 249 58.60 ++ 58 0.36386400 LTC 87.46925130 USDT +20.83% -15.57% manual market SELL command executed
2018-02-15 14:37:57 - placing sell order...
2018-02-15 14:37:58 - sell order placed at 223.470 USDT
2018-02-15 14:38:04 - order status: done
sell order completed at 2018-02-15 14:38:04:
0.10915920 LTC at 223.470 USDT total 24.3938 USDT 0.0000% slippage (orig. price 223.470 USDT) execution: a few seconds
2018-02-15 14:38:00 223.350 LTC-USDT +0.01% 398 56.93 ++ 56 sold 0.25471400 LTC 111.84790380 USDT +20.74% -15.51% 2018-02-15 14:38:23 223.350 LTC-USDT +0.00% 69 56.93 ++ 56 +0.02018-02-15 14:38:23 223.350 LTC-USDT +0.00% 69 56.93 ++ 56 +0.02018-02-15 14:38:23 223.350 LTC-USDT +0.00% 69 56.93 ++ 56 +0.02018-02-15 14:38:23 223.350 LTC-USDT +0.00% 69 56.93 ++ 56 +0.02018-02-15 14:38:23 223.350 LTC-USDT +0.00% 69 56.93 ++ 56 +0.05% 0.25471400 LTC 111.84790380 USDT +20.74% -15.51% manual limit BUY command executed 2018-02-15 14:39:15 224.450 LTC-USDT +0.49% 598 62.11 ++ 62 -0.42018-02-15 14:39:15 224.450 LTC-USDT +0.49% 598 62.11 ++ 62 -0.42018-02-15 14:39:15 224.450 LTC-USDT +0.49% 598 62.11 ++ 62 -0.42018-02-15 14:39:15 224.450 LTC-USDT +0.49% 598 62.11 ++ 62 -0.42018-02-15 14:39:15 224.450 LTC-USDT +0.49% 598 62.11 ++ 62 -0.44% 0.25471400 LTC 111.84790380 USDT +20.94% -15.78% manual limit BUY command executed 2018-02-15 14:40:00 225.130 LTC-USDT +0.79% 1295 64.73 ++ 64 -0.75% 0.25471400 LTC 111.84790380 USDT +21.07% -15.95% 2018-02-15 14:40:04 225.000 LTC-USDT -0.06% 140 63.82 ++ 63 -0.62018-02-15 14:40:04 225.000 LTC-USDT -0.06% 140 63.82 ++ 63 -0.62018-02-15 14:40:04 225.000 LTC-USDT -0.06% 140 63.82 ++ 63 -0.62018-02-15 14:40:04 225.000 LTC-USDT -0.06% 140 63.82 ++ 63 -0.62018-02-15 14:40:04 225.000 LTC-USDT -0.06% 140 63.82 ++ 63 -0.69% 0.25471400 LTC 111.84790380 USDT +21.04% -15.92%