askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.06k stars 3.95k forks source link

Too long Insufficient data available. Age: N of 90 #2885

Closed yuis-ice closed 4 years ago

yuis-ice commented 4 years ago

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.

I'm submitting a ... [x] bug report [ ] question about the decisions made in the repository

Action taken (what you did) node gekko --config config.js

Expected result (what you hoped would happen) I read another similar issue to me on Github and that is here: No trades made in binance · Issue #1849 · askmike/gekko I'm taking look to the log files on the issue, the time span of Insufficient data available. Age: N of 90 is 10 minutes as expected. The time span of each Insufficient data available. Age log should be 10 or a little more of minutes.

Actual result (unexpected outcome) I'm running Gekko as real trading with CCI for hours. The time span should be almost 10 minutes, but the time span is almost 20 minutes, as following log. The one is not only one, other logs is almost same span as this one.

In short:

2020-01-19 13:37:12 (DEBUG):    Insufficient data available. Age:  14  of  90
2020-01-19 13:54:12 (DEBUG):    Insufficient data available. Age:  15  of  90

In long:

2020-01-19 13:37:12 (DEBUG):    Insufficient data available. Age:  14  of  90
2020-01-19 13:37:12 (DEBUG):    Trend:  undefined  for  0
2020-01-19 13:37:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:37:31 (DEBUG):    Processing 61 new trades. From 2020-01-19 04:37:12 UTC to 2020-01-19 04:37:31 UTC. (a few seconds)
2020-01-19 13:37:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:37:51 (DEBUG):    Processing 62 new trades. From 2020-01-19 04:37:32 UTC to 2020-01-19 04:37:51 UTC. (a few seconds)
2020-01-19 13:38:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:38:12 (DEBUG):    Processing 65 new trades. From 2020-01-19 04:37:52 UTC to 2020-01-19 04:38:11 UTC. (a few seconds)
2020-01-19 13:38:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:38:32 (DEBUG):    Processing 69 new trades. From 2020-01-19 04:38:12 UTC to 2020-01-19 04:38:31 UTC. (a few seconds)
2020-01-19 13:38:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:38:51 (DEBUG):    Processing 77 new trades. From 2020-01-19 04:38:32 UTC to 2020-01-19 04:38:51 UTC. (a few seconds)
2020-01-19 13:39:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:39:12 (DEBUG):    Processing 29 new trades. From 2020-01-19 04:38:51 UTC to 2020-01-19 04:39:11 UTC. (a few seconds)
2020-01-19 13:39:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:39:32 (DEBUG):    Processing 25 new trades. From 2020-01-19 04:39:12 UTC to 2020-01-19 04:39:30 UTC. (a few seconds)
2020-01-19 13:39:46 (DEBUG):    syncing private data
2020-01-19 13:39:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:39:51 (DEBUG):    Processing 46 new trades. From 2020-01-19 04:39:32 UTC to 2020-01-19 04:39:51 UTC. (a few seconds)
2020-01-19 13:40:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:40:11 (DEBUG):    Processing 49 new trades. From 2020-01-19 04:39:53 UTC to 2020-01-19 04:40:10 UTC. (a few seconds)
2020-01-19 13:40:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:40:32 (DEBUG):    Processing 86 new trades. From 2020-01-19 04:40:11 UTC to 2020-01-19 04:40:31 UTC. (a few seconds)
2020-01-19 13:40:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:40:51 (DEBUG):    Processing 46 new trades. From 2020-01-19 04:40:32 UTC to 2020-01-19 04:40:49 UTC. (a few seconds)
2020-01-19 13:41:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:41:11 (DEBUG):    Processing 73 new trades. From 2020-01-19 04:40:52 UTC to 2020-01-19 04:41:11 UTC. (a few seconds)
2020-01-19 13:41:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:41:31 (DEBUG):    Processing 93 new trades. From 2020-01-19 04:41:11 UTC to 2020-01-19 04:41:31 UTC. (a few seconds)
2020-01-19 13:41:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:41:51 (DEBUG):    Processing 48 new trades. From 2020-01-19 04:41:32 UTC to 2020-01-19 04:41:51 UTC. (a few seconds)
2020-01-19 13:42:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:42:12 (DEBUG):    Processing 63 new trades. From 2020-01-19 04:41:52 UTC to 2020-01-19 04:42:11 UTC. (a few seconds)
2020-01-19 13:42:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:42:31 (DEBUG):    Processing 55 new trades. From 2020-01-19 04:42:12 UTC to 2020-01-19 04:42:31 UTC. (a few seconds)
2020-01-19 13:42:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:42:51 (DEBUG):    Processing 85 new trades. From 2020-01-19 04:42:33 UTC to 2020-01-19 04:42:51 UTC. (a few seconds)
2020-01-19 13:43:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:43:11 (DEBUG):    Processing 70 new trades. From 2020-01-19 04:42:52 UTC to 2020-01-19 04:43:11 UTC. (a few seconds)
2020-01-19 13:43:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:43:31 (DEBUG):    Processing 98 new trades. From 2020-01-19 04:43:11 UTC to 2020-01-19 04:43:31 UTC. (a few seconds)
2020-01-19 13:43:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:43:52 (DEBUG):    Processing 122 new trades. From 2020-01-19 04:43:31 UTC to 2020-01-19 04:43:51 UTC. (a few seconds)
2020-01-19 13:44:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:44:12 (DEBUG):    Processing 64 new trades. From 2020-01-19 04:43:52 UTC to 2020-01-19 04:44:11 UTC. (a few seconds)
2020-01-19 13:44:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:44:32 (DEBUG):    Processing 101 new trades. From 2020-01-19 04:44:12 UTC to 2020-01-19 04:44:30 UTC. (a few seconds)
2020-01-19 13:44:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:44:52 (DEBUG):    Processing 78 new trades. From 2020-01-19 04:44:31 UTC to 2020-01-19 04:44:51 UTC. (a few seconds)
2020-01-19 13:45:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:45:12 (DEBUG):    Processing 92 new trades. From 2020-01-19 04:44:51 UTC to 2020-01-19 04:45:11 UTC. (a few seconds)
2020-01-19 13:45:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:45:32 (DEBUG):    Processing 84 new trades. From 2020-01-19 04:45:12 UTC to 2020-01-19 04:45:31 UTC. (a few seconds)
2020-01-19 13:45:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:45:52 (DEBUG):    Processing 148 new trades. From 2020-01-19 04:45:32 UTC to 2020-01-19 04:45:50 UTC. (a few seconds)
2020-01-19 13:46:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:46:12 (DEBUG):    Processing 46 new trades. From 2020-01-19 04:45:52 UTC to 2020-01-19 04:46:11 UTC. (a few seconds)
2020-01-19 13:46:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:46:32 (DEBUG):    Processing 89 new trades. From 2020-01-19 04:46:12 UTC to 2020-01-19 04:46:31 UTC. (a few seconds)
2020-01-19 13:46:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:46:52 (DEBUG):    Processing 61 new trades. From 2020-01-19 04:46:32 UTC to 2020-01-19 04:46:51 UTC. (a few seconds)
2020-01-19 13:47:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:47:12 (DEBUG):    Processing 91 new trades. From 2020-01-19 04:46:52 UTC to 2020-01-19 04:47:09 UTC. (a few seconds)
2020-01-19 13:47:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:47:31 (DEBUG):    Processing 44 new trades. From 2020-01-19 04:47:12 UTC to 2020-01-19 04:47:31 UTC. (a few seconds)
2020-01-19 13:47:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:47:52 (DEBUG):    Processing 90 new trades. From 2020-01-19 04:47:31 UTC to 2020-01-19 04:47:51 UTC. (a few seconds)
2020-01-19 13:48:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:48:12 (DEBUG):    Processing 96 new trades. From 2020-01-19 04:47:52 UTC to 2020-01-19 04:48:11 UTC. (a few seconds)
2020-01-19 13:48:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:48:32 (DEBUG):    Processing 39 new trades. From 2020-01-19 04:48:12 UTC to 2020-01-19 04:48:31 UTC. (a few seconds)
2020-01-19 13:48:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:48:52 (DEBUG):    Processing 62 new trades. From 2020-01-19 04:48:32 UTC to 2020-01-19 04:48:51 UTC. (a few seconds)
2020-01-19 13:49:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:49:12 (DEBUG):    Processing 135 new trades. From 2020-01-19 04:48:52 UTC to 2020-01-19 04:49:11 UTC. (a few seconds)
2020-01-19 13:49:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:49:32 (DEBUG):    Processing 86 new trades. From 2020-01-19 04:49:13 UTC to 2020-01-19 04:49:31 UTC. (a few seconds)
2020-01-19 13:49:46 (DEBUG):    syncing private data
2020-01-19 13:49:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:49:52 (DEBUG):    Processing 165 new trades. From 2020-01-19 04:49:32 UTC to 2020-01-19 04:49:51 UTC. (a few seconds)
2020-01-19 13:50:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:50:12 (DEBUG):    Processing 155 new trades. From 2020-01-19 04:49:52 UTC to 2020-01-19 04:50:11 UTC. (a few seconds)
2020-01-19 13:50:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:50:32 (DEBUG):    Processing 164 new trades. From 2020-01-19 04:50:12 UTC to 2020-01-19 04:50:32 UTC. (a few seconds)
2020-01-19 13:50:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:50:52 (DEBUG):    Processing 162 new trades. From 2020-01-19 04:50:32 UTC to 2020-01-19 04:50:52 UTC. (a few seconds)
2020-01-19 13:51:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:51:12 (DEBUG):    Processing 229 new trades. From 2020-01-19 04:50:52 UTC to 2020-01-19 04:51:11 UTC. (a few seconds)
2020-01-19 13:51:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:51:32 (DEBUG):    Processing 159 new trades. From 2020-01-19 04:51:12 UTC to 2020-01-19 04:51:31 UTC. (a few seconds)
2020-01-19 13:51:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:51:52 (DEBUG):    Processing 141 new trades. From 2020-01-19 04:51:32 UTC to 2020-01-19 04:51:51 UTC. (a few seconds)
2020-01-19 13:52:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:52:12 (DEBUG):    Processing 197 new trades. From 2020-01-19 04:51:52 UTC to 2020-01-19 04:52:12 UTC. (a few seconds)
2020-01-19 13:52:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:52:32 (DEBUG):    Processing 197 new trades. From 2020-01-19 04:52:12 UTC to 2020-01-19 04:52:31 UTC. (a few seconds)
2020-01-19 13:52:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:52:52 (DEBUG):    Processing 112 new trades. From 2020-01-19 04:52:32 UTC to 2020-01-19 04:52:51 UTC. (a few seconds)
2020-01-19 13:53:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:53:12 (DEBUG):    Processing 199 new trades. From 2020-01-19 04:52:52 UTC to 2020-01-19 04:53:12 UTC. (a few seconds)
2020-01-19 13:53:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:53:32 (DEBUG):    Processing 164 new trades. From 2020-01-19 04:53:12 UTC to 2020-01-19 04:53:32 UTC. (a few seconds)
2020-01-19 13:53:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:53:52 (DEBUG):    Processing 146 new trades. From 2020-01-19 04:53:32 UTC to 2020-01-19 04:53:51 UTC. (a few seconds)
2020-01-19 13:54:11 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:54:12 (DEBUG):    Processing 76 new trades. From 2020-01-19 04:53:52 UTC to 2020-01-19 04:54:12 UTC. (a few seconds)
2020-01-19 13:54:12 (DEBUG):    Insufficient data available. Age:  15  of  90
2020-01-19 13:54:12 (DEBUG):    Trend:  undefined  for  0
2020-01-19 13:54:31 (DEBUG):    Requested BTC/USDT trade data from Binance ...
2020-01-19 13:54:32 (DEBUG):    Processing 87 new trades. From 2020-01-19 04:54:12 UTC to 2020-01-19 04:54:31 UTC. (a few seconds)
2020-01-19 13:54:51 (DEBUG):    Requested BTC/USDT trade data from Binance ...

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

askmike commented 4 years ago

I am unfortunately not maintaining this project anymore. I'm making the whole repo as read only.

Read more here: https://medium.com/@gekkoplus/archiving-open-source-gekko-dba02e6efc7