Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Zenbot stuck with the "buying" message #326

Closed
tuxitor opened this issue Jun 24, 2017 · 6 comments
Closed

Zenbot stuck with the "buying" message #326

tuxitor opened this issue Jun 24, 2017 · 6 comments
Labels

Comments

@tuxitor
Copy link
Contributor

tuxitor commented Jun 24, 2017

Zenbot stuck with the "buying" message even many hours after the buy, even it is not enough funds left for a new buy. The buy took place 4:20:28. Now it is 8:30

From the exchange log:

198.09900000	4:20:28 	0.30075
206.93100033	0:02:39 	0.29014
206.91000000	0:01:39 	0.29140
209.01003288	0:00:39	0.28981
208.99241379	23:43:08	0.29123
185.75432216	23:26:40	0.28992
25.00000000	23:26:38	0.29044
210.73344828	22:57:46	0.29090
212.82083617	22:54:47	0.28963
212.78172414	22:17:45	0.29100
216.69292748	21:48:15	0.28774
216.57103448	21:22:15	0.29157
228.76033467	1:49:08	0.27762
228.76071429	1:38:37	0.28170
228.72275212	23:19:20	0.27105
228.76333333	22:52:02	0.27266
224.70521204	19:05:39 	0.27790
79.53120340	22.6.2017	0.27161
145.16212993	22.6.2017	0.27150
211.57036644	22.6.2017	0.27046
14.31083856	22.6.2017	0.27047
225.83000000	22.6.2017	0.27049
230.95050000	22.6.2017	0.26732
232.28333333	22.6.2017	0.27199

From Zenbot:

2017-06-24 02:40:00  0.29 XRP-USD   +0.1%  359.82k      ++      0.0564   0.1500           2.09 XRP  60.03 USD    +0.0%   -0.8%
2017-06-24 02:50:00  0.29 XRP-USD   -0.5%    4.87m      +       0.0226   0.1500           2.09 XRP  60.03 USD    +0.0%   -0.3%
2017-06-24 03:00:00  0.29 XRP-USD   -0.1%  579.25k      +       0.0153   0.1500           2.09 XRP  60.03 USD    +0.0%   -0.2%
2017-06-24 03:10:00  0.29 XRP-USD   +0.0%    31718      +       0.0146   0.1500           2.09 XRP  60.03 USD    +0.0%   -0.2%
2017-06-24 03:30:00  0.29 XRP-USD   -0.2%  694.25k     -       -0.0019   0.1500           2.09 XRP  60.03 USD     0.0%   +0.0%
2017-06-24 03:40:00  0.29 XRP-USD   +1.2%  628.34k      ++      0.0724   0.1500           2.09 XRP  60.03 USD    +0.0%   -1.1%
2017-06-24 03:50:00  0.29 XRP-USD   -0.1%     1.1m      ++      0.0600   0.1500           2.09 XRP  60.03 USD    +0.0%   -1.0%
2017-06-24 04:00:00  0.30 XRP-USD   +0.6%    1.78m      +++     0.0972   0.1500           2.09 XRP  60.03 USD    +0.0%   -1.6%
2017-06-24 04:10:00  0.30 XRP-USD   +1.0%     1.4m      +++     0.1578   0.1500      buy  2.09 XRP  60.03 USD    +0.0%   -2.6%
2017-06-24 04:20:00  0.30 XRP-USD   +0.3%    2.49m      +++     0.1652   0.1500      buy  2.09 XRP  60.03 USD    +0.0%   -2.9%
2017-06-24 04:30:00  0.30 XRP-USD    0.0%  748.52k      +++     0.1521   0.1500   buying  200.19 XRP   0.30 USD    -0.5%   -3.3%
2017-06-24 04:40:00  0.30 XRP-USD   +1.1%    1.83m      ++++    0.2146   0.1500   buying  200.19 XRP   0.30 USD    +0.6%   -3.4%
2017-06-24 04:50:00  0.30 XRP-USD   -1.0%    1.71m      +++     0.1352   0.1500   buying  200.19 XRP   0.30 USD    -0.4%   -3.3%
2017-06-24 05:00:00  0.30 XRP-USD   -0.1%    1.46m      +++     0.1213   0.1500   buying  200.19 XRP   0.30 USD    -0.5%   -3.3%
2017-06-24 05:10:00  0.30 XRP-USD   +0.2%    2.64m      +++     0.1231   0.1500   buying  200.19 XRP   0.30 USD    -0.3%   -3.3%
2017-06-24 05:20:00  0.30 XRP-USD   +0.3%  236.67k      +++     0.1380   0.1500   buying  200.19 XRP   0.30 USD    +0.0%   -3.4%
2017-06-24 05:30:00  0.30 XRP-USD    0.0%  492.07k      +++     0.1287   0.1500   buying  200.19 XRP   0.30 USD    +0.0%   -3.4%
2017-06-24 05:40:00  0.30 XRP-USD   -0.5%    3.01m      ++      0.0891   0.1500   buying  200.19 XRP   0.30 USD    -0.4%   -3.3%
2017-06-24 05:50:00  0.30 XRP-USD   +0.0%   158.6k      ++      0.0841   0.1500   buying  200.19 XRP   0.30 USD    -0.4%   -3.3%
2017-06-24 06:00:00  0.30 XRP-USD   +1.3%  721.13k      +++     0.1631   0.1500   buying  200.19 XRP   0.30 USD    +0.8%   -3.4%
2017-06-24 06:10:00  0.30 XRP-USD   -1.0%  342.54k      ++      0.0876   0.1500   buying  200.19 XRP   0.30 USD    -0.1%   -3.4%
2017-06-24 06:20:00  0.30 XRP-USD   -0.3%     9689      ++      0.0601   0.1500   buying  200.19 XRP   0.30 USD    -0.5%   -3.3%
2017-06-24 06:30:00  0.30 XRP-USD   -0.4%  526.24k      +       0.0319   0.1500   buying  200.19 XRP   0.30 USD    -0.8%   -3.3%
2017-06-24 06:40:00  0.30 XRP-USD   -1.1%    13343    --       -0.0395   0.1500   buying  200.19 XRP   0.30 USD    -1.9%   -3.3%
2017-06-24 06:50:00  0.30 XRP-USD   -0.1%   398.9k    --       -0.0444   0.1500   buying  200.19 XRP   0.30 USD    -2.0%   -3.3%
2017-06-24 07:00:00  0.30 XRP-USD   +0.5%    4.57m     -       -0.0120   0.1500   buying  200.19 XRP   0.30 USD    -1.6%   -3.3%
2017-06-24 07:10:00  0.30 XRP-USD   +0.9%  245.72k      +       0.0448   0.1500   buying  200.19 XRP   0.30 USD    -0.7%   -3.3%
2017-06-24 07:20:00  0.30 XRP-USD   +0.3%    2.97m      ++      0.0618   0.1500   buying  200.19 XRP   0.30 USD    -0.4%   -3.3%
2017-06-24 07:30:00  0.30 XRP-USD   -0.4%  217.63k      +       0.0311   0.1500   buying  200.19 XRP   0.30 USD    -0.8%   -3.3%
2017-06-24 07:40:00  0.30 XRP-USD   +0.0%    30069      +       0.0298   0.1500   buying  200.19 XRP   0.30 USD    -0.8%   -3.3%
2017-06-24 07:50:00  0.30 XRP-USD   +0.0%  690.19k      +       0.0280   0.1500   buying  200.19 XRP   0.30 USD    -0.8%   -3.3%
´´´
@arpheno
Copy link

arpheno commented Jun 24, 2017

possibly related: Mine is stuck with the "sold" message even though nothing was sold:

2017-06-24 05:26:00  0.12165000 ETH-BTC   +0.0%        5      ++   +00.0001      55     sold  6.90 ETH  0.00054 BTC    +0.9%    0.0%
2017-06-24 05:40:00  0.12080000 ETH-BTC   -0.7%       40    --     +00.0003      43     sold  6.90 ETH  0.00054 BTC    +0.2%    0.0%
2017-06-24 05:54:00  0.12040000 ETH-BTC   -0.3%       41    --     +00.0006      39      buy  6.90 ETH  0.00054 BTC    -0.1%   +0.0%
2017-06-24 06:08:00  0.12042000 ETH-BTC   +0.0%       61    --     +00.0006      40           6.90 ETH  0.00054 BTC    -0.1%   +0.0%
2017-06-24 06:22:00  0.12075000 ETH-BTC   +0.3%       31    --     +00.0005      44           6.90 ETH  0.00054 BTC    +0.2%    0.0%
2017-06-24 06:36:00  0.12123000 ETH-BTC   +0.4%       24      +    +00.0003      50     sold  6.90 ETH  0.00054 BTC    +0.6%    0.0%
2017-06-24 06:50:00  0.12136000 ETH-BTC   +0.1%       52      +    +00.0001      52     sold  6.90 ETH  0.00054 BTC    +0.7%    0.0%
2017-06-24 07:18:00  0.12161000 ETH-BTC   +0.2%       14      ++   +00.0000      55     sold  6.90 ETH  0.00054 BTC    +0.9%    0.0%
2017-06-24 07:32:00  0.12150000 ETH-BTC   -0.1%       18      +    -00.0001      53     sold  6.90 ETH  0.00054 BTC    +0.8%    0.0%

@marco4444
Copy link

marco4444 commented Jun 24, 2017

Assume this is not zenbot but the option --order_type=maker. If using --order_type=taker the fees are higher but the execution is faster.

@typicalaimster
Copy link

typicalaimster commented Jul 4, 2017

I'm seeing the same thing with GDAX. It happened recently. It's also seems c.order_poll_time and c.order_adjust_time is now being ignored.

2017-07-04 15:59:30 53.19 LTC-USD +0.0% 155 +++ -0.36% buying 0.00 LTC 37.68 USD -0.9% -2.2%
2017-07-04 16:00:00 53.19 LTC-USD +0.0% 201 +++ -0.29% buying 0.32 LTC 20.72 USD -0.9% -2.2%
2017-07-04 16:00:20 53.20 LTC-USD +0.0% 34 +++ -0.31% buying 0.32 LTC 20.72 USD -0.9% -2.2%

Usually I'd get statistics back saying that it bought. The sim works fine.

Repository owner deleted a comment Jul 10, 2017
@itsdicer
Copy link

@typicalaimster Have you found a solution?

@typicalaimster
Copy link

Yes. If I recall, in my case, I found that I had two zenbot containers launched. They were both trading the same currency. One that I launched, then another one that auto launched. I edited the docker-compose.yml and removed restart:always.. Then I quickly outgrew the docker container. I've since deployed Zenbot and Mongo onto its own stand alone EC2 instance in the same region as GDAX.

@DeviaVir
Copy link
Owner

Is this still an active issue @tuxitor @arpheno?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants