Repository: askmike/gekko

Issue #2524: CLI Live Interal Drift for candle.start times.
Created: 2018-09-13T00:14:03Z
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 ...
[xxxxxxxxx ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Expected result (what you hoped would happen)
Start strat at 00:00.
It actually starts at 00:00
Actual result (unexpected outcome)
Has anyone noticed the internal drift via real UTC time?
In CLI Live trading?(edited)
Every start varies between 2-24 minutes.
Its a bit fucking scary to be honest.
The candlebatcher is basically pushing whatever it wants whenever it wants :/
tested live on binance with historysize = 0
console.log(candle.start) in strat.update()
2018-09-13 00:02:10 (INFO):     Pushbullet Message Sent
------------------START-----------------
START: moment.utc("2018-09-12T23:41:00.000+00:00")
2018-09-13 00:02:14 (INFO):     Pushbullet Message Sent
------------------START-----------------
START: moment.utc("2018-09-12T23:35:00.000+00:00")
I tried starting on 00:00 for a candle.start of 00:00
but it was like 23:10
Apparently if you want a candle.start of 00:00
You have to wait ill 00:30~~ to start your strat?
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

Duplicate issue #2532: CandleBatcher Drift.
Created: 2018-09-16T00:18:33Z
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)
Added this to candleBatcher.js for debug.
console.log('CHECK START', moment(start).format('mm'))
if(_.size(this.smallCandles) % this.candleSize !== 0)
return;
console.log('EMITTED START', moment(start).format('mm'))
Added this to my strat for debug.
console.log('\t', 'CANDLE:',candle);
Expected result (what you hoped would happen)
The candle emitted from candleBatcher.js should be the one going into strat.update()
Actual result (unexpected outcome)
Small internal delay that drifts randomly.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
Here are some proper logs.
~~
2018-09-15 18:09:40 (DEBUG):		Available local data:
2018-09-15 18:09:40 (DEBUG):			from: 5 minutes ago
2018-09-15 18:09:40 (DEBUG):			to: 1 minutes ago
2018-09-15 18:09:40 (INFO):		Usable local data available, trying to match with exchange data..
2018-09-15 18:09:40 (INFO):		Preventing Gekko from requesting 16 minutes of history.
2018-09-15 18:09:40 (DEBUG):		Fetching exchange data since 0 minutes ago
2018-09-15 18:09:41 (DEBUG):		Available exchange data:
2018-09-15 18:09:41 (DEBUG):			from: 0 minutes ago
2018-09-15 18:09:41 (DEBUG):			to: 0 minutes ago
2018-09-15 18:09:41 (DEBUG):		Unable to stitch datasets.
2018-09-15 18:09:41 (INFO):		Not seeding locally available data to the trading method.
2018-09-15 18:09:41 (INFO):		The exchange does not return enough data. 0 minutes are still missing.
2018-09-15 18:09:41 (INFO):	Setting up:
2018-09-15 18:09:41 (INFO):		 Paper Trader
2018-09-15 18:09:41 (INFO):		 Paper trader that simulates fake trades.
2018-09-15 18:09:41 (INFO):
2018-09-15 18:09:41 (INFO):	Setting up:
2018-09-15 18:09:41 (INFO):		 Performance Analyzer
2018-09-15 18:09:41 (INFO):		 Analyzes performances of trades
2018-09-15 18:09:41 (INFO):
2018-09-15 18:09:41 (INFO):	Starting to watch the market: Binance BTC/USDT
2018-09-15 18:09:41 (DEBUG):	scheduling ticks
2018-09-15 18:09:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:09:41 (DEBUG):	Processing 1292 new trades. From 2018-09-15 23:53:00 UTC to 2018-09-16 00:09:40 UTC. (17 minutes)
CHECK START 53
CHECK START 54
CHECK START 55
EMITTED 55
------------------START-----------------
CANDLE: { start: moment.utc("2018-09-15T23:53:00.000+00:00"),
open: 6525.26,
high: 6526,
low: 6523.74,
close: 6524.6,
vwp: 6524.863745047512,
volume: 12.214315000000001,
trades: 120 }
START: moment.utc("2018-09-15T23:53:00.000+00:00")
HAPRICE: 6524.9
BBUPPER 6524.6
BBMIDDLE 6524.6
BBLOWER 6524.6
TRADES: 120
TRADESMEAN: 120
TRADEBBMID 120
RSI: 0
WVFresult: undefined
STC: 0
LASTBUY: 0
TSL:
ENTRYFIB: NaN
MAXENTRY: NaN
MINENTRY: NaN
IN_RANGE: false
OUT_RANGE: false
IS_BOTTOM: false
PROFIT_RANGE: false
BIGCANDLE: null
------------------END-----------------
CHECK START 56
CHECK START 57
CHECK START 58
CHECK START 59
CHECK START 00
EMITTED 00
------------------START-----------------
CANDLE: { start: moment.utc("2018-09-15T23:56:00.000+00:00"),
open: 6524.6,
high: 6525.83,
low: 6513.42,
close: 6515.25,
vwp: 6520.6798603968955,
volume: 52.504993,
trades: 468 }
START: moment.utc("2018-09-15T23:56:00.000+00:00")
HAPRICE: 6519.775
BBUPPER 6529.8421726061415
BBMIDDLE 6519.925
BBLOWER 6514.9664136969295
TRADES: 468
TRADESMEAN: 294
TRADEBBMID 294
RSI: 0
WVFresult: undefined
STC: 100
LASTBUY: 0
TSL:
ENTRYFIB: NaN
MAXENTRY: NaN
MINENTRY: NaN
IN_RANGE: false
OUT_RANGE: false
IS_BOTTOM: false
PROFIT_RANGE: false
BIGCANDLE: null
------------------END-----------------
CHECK START 01
CHECK START 02
CHECK START 03
CHECK START 04
CHECK START 05
EMITTED 05
------------------START-----------------
CANDLE: { start: moment.utc("2018-09-16T00:01:00.000+00:00"),
open: 6515.25,
high: 6524.62,
low: 6513.44,
close: 6514.8,
vwp: 6518.44263468299,
volume: 161.95480500000002,
trades: 360 }
START: moment.utc("2018-09-16T00:01:00.000+00:00")
HAPRICE: 6517.027499999999
BBUPPER 6528.246009034607
BBMIDDLE 6518.216666666667
BBLOWER 6513.201995482697
TRADES: 360
TRADESMEAN: 316
TRADEBBMID 316
RSI: 0
WVFresult: undefined
STC: 100
LASTBUY: 0
TSL:
ENTRYFIB: NaN
MAXENTRY: NaN
MINENTRY: NaN
IN_RANGE: false
OUT_RANGE: false
IS_BOTTOM: false
PROFIT_RANGE: false
BIGCANDLE: null
------------------END-----------------
CHECK START 06
CHECK START 07
CHECK START 08
2018-09-15 18:09:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:09:46 (DEBUG):	Processing 50 new trades. From 2018-09-16 00:09:41 UTC to 2018-09-16 00:09:53 UTC. (a few seconds)
2018-09-15 18:09:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:09:51 (DEBUG):	Processing 10 new trades. From 2018-09-16 00:09:53 UTC to 2018-09-16 00:09:57 UTC. (a few seconds)
2018-09-15 18:09:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:09:56 (DEBUG):	Processing 7 new trades. From 2018-09-16 00:09:58 UTC to 2018-09-16 00:10:02 UTC. (a few seconds)
CHECK START 09
2018-09-15 18:10:01 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:01 (DEBUG):	Processing 7 new trades. From 2018-09-16 00:10:04 UTC to 2018-09-16 00:10:07 UTC. (a few seconds)
2018-09-15 18:10:06 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:06 (DEBUG):	Processing 12 new trades. From 2018-09-16 00:10:09 UTC to 2018-09-16 00:10:12 UTC. (a few seconds)
2018-09-15 18:10:11 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:11 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:10:14 UTC to 2018-09-16 00:10:16 UTC. (a few seconds)
2018-09-15 18:10:16 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:16 (DEBUG):	Processing 9 new trades. From 2018-09-16 00:10:19 UTC to 2018-09-16 00:10:22 UTC. (a few seconds)
2018-09-15 18:10:21 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:21 (DEBUG):	Processing 13 new trades. From 2018-09-16 00:10:24 UTC to 2018-09-16 00:10:28 UTC. (a few seconds)
2018-09-15 18:10:26 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:26 (DEBUG):	Processing 16 new trades. From 2018-09-16 00:10:29 UTC to 2018-09-16 00:10:33 UTC. (a few seconds)
2018-09-15 18:10:31 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:31 (DEBUG):	Processing 2 new trades. From 2018-09-16 00:10:34 UTC to 2018-09-16 00:10:35 UTC. (a few seconds)
2018-09-15 18:10:36 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:36 (DEBUG):	Processing 9 new trades. From 2018-09-16 00:10:38 UTC to 2018-09-16 00:10:43 UTC. (a few seconds)
2018-09-15 18:10:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:41 (DEBUG):	Processing 6 new trades. From 2018-09-16 00:10:46 UTC to 2018-09-16 00:10:47 UTC. (a few seconds)
2018-09-15 18:10:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:46 (DEBUG):	Processing 6 new trades. From 2018-09-16 00:10:53 UTC to 2018-09-16 00:10:53 UTC. (a few seconds)
2018-09-15 18:10:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:51 (DEBUG):	Processing 7 new trades. From 2018-09-16 00:10:53 UTC to 2018-09-16 00:10:56 UTC. (a few seconds)
2018-09-15 18:10:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:10:56 (DEBUG):	Processing 10 new trades. From 2018-09-16 00:10:58 UTC to 2018-09-16 00:11:01 UTC. (a few seconds)
CHECK START 10
EMITTED 10
------------------START-----------------
CANDLE: { start: moment.utc("2018-09-16T00:06:00.000+00:00"),
open: 6514.86,
high: 6516,
low: 6503.45,
close: 6508,
vwp: 6511.697881713365,
volume: 122.464215,
trades: 510 }
START: moment.utc("2018-09-16T00:06:00.000+00:00")
HAPRICE: 6510.5775
BBUPPER 6530.068994032641
BBMIDDLE 6515.6625
BBLOWER 6508.45925298368
TRADES: 510
TRADESMEAN: 364.5
TRADEBBMID 364.5
RSI: 0
WVFresult: undefined
STC: 100
LASTBUY: 0
TSL:
ENTRYFIB: NaN
MAXENTRY: NaN
MINENTRY: NaN
IN_RANGE: false
OUT_RANGE: false
IS_BOTTOM: false
PROFIT_RANGE: false
BIGCANDLE: null
------------------END-----------------
2018-09-15 18:11:01 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:01 (DEBUG):	Processing 7 new trades. From 2018-09-16 00:11:03 UTC to 2018-09-16 00:11:07 UTC. (a few seconds)
2018-09-15 18:11:06 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:06 (DEBUG):	Processing 2 new trades. From 2018-09-16 00:11:09 UTC to 2018-09-16 00:11:09 UTC. (a few seconds)
2018-09-15 18:11:11 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:11 (DEBUG):	Processing 17 new trades. From 2018-09-16 00:11:14 UTC to 2018-09-16 00:11:17 UTC. (a few seconds)
2018-09-15 18:11:16 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:16 (DEBUG):	Processing 3 new trades. From 2018-09-16 00:11:20 UTC to 2018-09-16 00:11:22 UTC. (a few seconds)
2018-09-15 18:11:21 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:21 (DEBUG):	Processing 2 new trades. From 2018-09-16 00:11:24 UTC to 2018-09-16 00:11:24 UTC. (a few seconds)
2018-09-15 18:11:26 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:26 (DEBUG):	Processing 12 new trades. From 2018-09-16 00:11:28 UTC to 2018-09-16 00:11:32 UTC. (a few seconds)
2018-09-15 18:11:31 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:31 (DEBUG):	Processing 8 new trades. From 2018-09-16 00:11:33 UTC to 2018-09-16 00:11:38 UTC. (a few seconds)
2018-09-15 18:11:36 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:36 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:11:39 UTC to 2018-09-16 00:11:43 UTC. (a few seconds)
2018-09-15 18:11:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:41 (DEBUG):	Processing 7 new trades. From 2018-09-16 00:11:46 UTC to 2018-09-16 00:11:48 UTC. (a few seconds)
2018-09-15 18:11:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:46 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:11:48 UTC to 2018-09-16 00:11:50 UTC. (a few seconds)
2018-09-15 18:11:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:51 (DEBUG):	Processing 6 new trades. From 2018-09-16 00:11:54 UTC to 2018-09-16 00:11:57 UTC. (a few seconds)
2018-09-15 18:11:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:11:56 (DEBUG):	Processing 9 new trades. From 2018-09-16 00:11:59 UTC to 2018-09-16 00:12:02 UTC. (a few seconds)
CHECK START 11
2018-09-15 18:12:01 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:01 (DEBUG):	Processing 2 new trades. From 2018-09-16 00:12:04 UTC to 2018-09-16 00:12:05 UTC. (a few seconds)
2018-09-15 18:12:06 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:07 (DEBUG):	Processing 2 new trades. From 2018-09-16 00:12:09 UTC to 2018-09-16 00:12:13 UTC. (a few seconds)
2018-09-15 18:12:11 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:11 (DEBUG):	Processing 3 new trades. From 2018-09-16 00:12:17 UTC to 2018-09-16 00:12:17 UTC. (a few seconds)
2018-09-15 18:12:16 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:17 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:12:18 UTC to 2018-09-16 00:12:23 UTC. (a few seconds)
2018-09-15 18:12:21 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:21 (DEBUG):	Processing 11 new trades. From 2018-09-16 00:12:24 UTC to 2018-09-16 00:12:28 UTC. (a few seconds)
2018-09-15 18:12:26 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:26 (DEBUG):	Processing 28 new trades. From 2018-09-16 00:12:28 UTC to 2018-09-16 00:12:33 UTC. (a few seconds)
2018-09-15 18:12:31 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:32 (DEBUG):	Processing 3 new trades. From 2018-09-16 00:12:34 UTC to 2018-09-16 00:12:35 UTC. (a few seconds)
2018-09-15 18:12:36 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:36 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:12:42 UTC to 2018-09-16 00:12:42 UTC. (a few seconds)
2018-09-15 18:12:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:41 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:12:47 UTC to 2018-09-16 00:12:48 UTC. (a few seconds)
2018-09-15 18:12:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:46 (DEBUG):	Processing 19 new trades. From 2018-09-16 00:12:48 UTC to 2018-09-16 00:12:53 UTC. (a few seconds)
2018-09-15 18:12:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:51 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:12:58 UTC to 2018-09-16 00:12:58 UTC. (a few seconds)
2018-09-15 18:12:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:12:57 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:12:59 UTC to 2018-09-16 00:13:02 UTC. (a few seconds)
CHECK START 12
2018-09-15 18:13:01 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:01 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:13:06 UTC to 2018-09-16 00:13:06 UTC. (a few seconds)
2018-09-15 18:13:06 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:06 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:13:10 UTC to 2018-09-16 00:13:12 UTC. (a few seconds)
2018-09-15 18:13:11 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:11 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:13:14 UTC to 2018-09-16 00:13:14 UTC. (a few seconds)
2018-09-15 18:13:16 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:16 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:13:21 UTC to 2018-09-16 00:13:22 UTC. (a few seconds)
2018-09-15 18:13:21 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:21 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:13:28 UTC to 2018-09-16 00:13:28 UTC. (a few seconds)
2018-09-15 18:13:26 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:26 (DEBUG):	Processing 3 new trades. From 2018-09-16 00:13:28 UTC to 2018-09-16 00:13:29 UTC. (a few seconds)
2018-09-15 18:13:31 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:32 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:13:35 UTC to 2018-09-16 00:13:37 UTC. (a few seconds)
2018-09-15 18:13:36 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:36 (DEBUG):	Processing 14 new trades. From 2018-09-16 00:13:39 UTC to 2018-09-16 00:13:43 UTC. (a few seconds)
2018-09-15 18:13:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:41 (DEBUG):	Processing 8 new trades. From 2018-09-16 00:13:44 UTC to 2018-09-16 00:13:46 UTC. (a few seconds)
2018-09-15 18:13:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:46 (DEBUG):	Processing 13 new trades. From 2018-09-16 00:13:48 UTC to 2018-09-16 00:13:51 UTC. (a few seconds)
2018-09-15 18:13:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:51 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:13:54 UTC to 2018-09-16 00:13:58 UTC. (a few seconds)
2018-09-15 18:13:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:13:56 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:14:01 UTC to 2018-09-16 00:14:02 UTC. (a few seconds)
CHECK START 13
2018-09-15 18:14:01 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:01 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:14:05 UTC to 2018-09-16 00:14:08 UTC. (a few seconds)
2018-09-15 18:14:06 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:06 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:14:12 UTC to 2018-09-16 00:14:12 UTC. (a few seconds)
2018-09-15 18:14:11 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:11 (DEBUG):	Processing 8 new trades. From 2018-09-16 00:14:14 UTC to 2018-09-16 00:14:18 UTC. (a few seconds)
2018-09-15 18:14:16 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:16 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:14:19 UTC to 2018-09-16 00:14:23 UTC. (a few seconds)
2018-09-15 18:14:21 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:21 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:14:24 UTC to 2018-09-16 00:14:28 UTC. (a few seconds)
2018-09-15 18:14:26 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:26 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:14:28 UTC to 2018-09-16 00:14:28 UTC. (a few seconds)
2018-09-15 18:14:31 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:32 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:14:36 UTC to 2018-09-16 00:14:36 UTC. (a few seconds)
2018-09-15 18:14:36 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:36 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:14:38 UTC to 2018-09-16 00:14:41 UTC. (a few seconds)
2018-09-15 18:14:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:41 (DEBUG):	No new trades.
2018-09-15 18:14:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:47 (DEBUG):	Processing 1 new trades. From 2018-09-16 00:14:48 UTC to 2018-09-16 00:14:48 UTC. (a few seconds)
2018-09-15 18:14:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:51 (DEBUG):	Processing 2 new trades. From 2018-09-16 00:14:56 UTC to 2018-09-16 00:14:57 UTC. (a few seconds)
2018-09-15 18:14:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:14:57 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:14:59 UTC to 2018-09-16 00:15:03 UTC. (a few seconds)
CHECK START 14
2018-09-15 18:15:01 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:01 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:15:04 UTC to 2018-09-16 00:15:07 UTC. (a few seconds)
2018-09-15 18:15:06 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:06 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:15:08 UTC to 2018-09-16 00:15:13 UTC. (a few seconds)
2018-09-15 18:15:11 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:11 (DEBUG):	Processing 11 new trades. From 2018-09-16 00:15:14 UTC to 2018-09-16 00:15:18 UTC. (a few seconds)
2018-09-15 18:15:16 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:17 (DEBUG):	Processing 16 new trades. From 2018-09-16 00:15:18 UTC to 2018-09-16 00:15:22 UTC. (a few seconds)
2018-09-15 18:15:21 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:21 (DEBUG):	Processing 6 new trades. From 2018-09-16 00:15:25 UTC to 2018-09-16 00:15:28 UTC. (a few seconds)
2018-09-15 18:15:26 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:26 (DEBUG):	Processing 6 new trades. From 2018-09-16 00:15:29 UTC to 2018-09-16 00:15:33 UTC. (a few seconds)
2018-09-15 18:15:31 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:31 (DEBUG):	Processing 8 new trades. From 2018-09-16 00:15:34 UTC to 2018-09-16 00:15:37 UTC. (a few seconds)
2018-09-15 18:15:36 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:36 (DEBUG):	Processing 7 new trades. From 2018-09-16 00:15:39 UTC to 2018-09-16 00:15:42 UTC. (a few seconds)
2018-09-15 18:15:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:41 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:15:44 UTC to 2018-09-16 00:15:47 UTC. (a few seconds)
2018-09-15 18:15:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:47 (DEBUG):	Processing 10 new trades. From 2018-09-16 00:15:48 UTC to 2018-09-16 00:15:53 UTC. (a few seconds)
2018-09-15 18:15:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:51 (DEBUG):	Processing 8 new trades. From 2018-09-16 00:15:54 UTC to 2018-09-16 00:15:58 UTC. (a few seconds)
2018-09-15 18:15:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:15:57 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:15:58 UTC to 2018-09-16 00:16:02 UTC. (a few seconds)
CHECK START 15
EMITTED 15
------------------START-----------------
CANDLE: { start: moment.utc("2018-09-16T00:11:00.000+00:00"),
open: 6508.01,
high: 6520,
low: 6508.01,
close: 6517,
vwp: 6515.275832063781,
volume: 103.24378000000003,
trades: 355 }
START: moment.utc("2018-09-16T00:11:00.000+00:00")
HAPRICE: 6513.255
BBUPPER 6528.895279644112
BBMIDDLE 6515.93
BBLOWER 6509.447360177945
TRADES: 355
TRADESMEAN: 362.6
TRADEBBMID 362.6
RSI: 0
WVFresult: undefined
STC: 53.58287309088037
LASTBUY: 0
TSL:
ENTRYFIB: NaN
MAXENTRY: NaN
MINENTRY: NaN
IN_RANGE: false
OUT_RANGE: false
IS_BOTTOM: false
PROFIT_RANGE: false
BIGCANDLE: null
------------------END-----------------
2018-09-15 18:16:01 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:01 (DEBUG):	Processing 3 new trades. From 2018-09-16 00:16:07 UTC to 2018-09-16 00:16:07 UTC. (a few seconds)
2018-09-15 18:16:06 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:07 (DEBUG):	Processing 11 new trades. From 2018-09-16 00:16:08 UTC to 2018-09-16 00:16:12 UTC. (a few seconds)
2018-09-15 18:16:11 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:11 (DEBUG):	Processing 7 new trades. From 2018-09-16 00:16:14 UTC to 2018-09-16 00:16:18 UTC. (a few seconds)
2018-09-15 18:16:16 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:16 (DEBUG):	Processing 8 new trades. From 2018-09-16 00:16:19 UTC to 2018-09-16 00:16:23 UTC. (a few seconds)
2018-09-15 18:16:21 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:21 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:16:25 UTC to 2018-09-16 00:16:27 UTC. (a few seconds)
2018-09-15 18:16:26 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:26 (DEBUG):	Processing 6 new trades. From 2018-09-16 00:16:30 UTC to 2018-09-16 00:16:31 UTC. (a few seconds)
2018-09-15 18:16:31 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:31 (DEBUG):	Processing 2 new trades. From 2018-09-16 00:16:37 UTC to 2018-09-16 00:16:37 UTC. (a few seconds)
2018-09-15 18:16:36 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:36 (DEBUG):	No new trades.
2018-09-15 18:16:41 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:41 (DEBUG):	Processing 4 new trades. From 2018-09-16 00:16:44 UTC to 2018-09-16 00:16:48 UTC. (a few seconds)
2018-09-15 18:16:46 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:46 (DEBUG):	Processing 5 new trades. From 2018-09-16 00:16:50 UTC to 2018-09-16 00:16:52 UTC. (a few seconds)
2018-09-15 18:16:51 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:51 (DEBUG):	Processing 3 new trades. From 2018-09-16 00:16:53 UTC to 2018-09-16 00:16:57 UTC. (a few seconds)
2018-09-15 18:16:56 (DEBUG):	Requested BTC/USDT trade data from Binance ...
2018-09-15 18:16:56 (DEBUG):	Processing 9 new trades. From 2018-09-16 00:16:59 UTC to 2018-09-16 00:17:03 UTC. (a few seconds)
CHECK START 16
~~

Closing comment (2018-09-16T10:36:28Z): Let's keep everything in #2524. I see you posted similar logs but not exactly the same. Would you mind posting the gists in #2524 so that the whole discussion is in one place? Thanks.
As such closing this as dup of #2524.