Gekko 0.6 released
#21
(06-27-2018, 05:21 PM)askmike Wrote: @mark.sch very strange, is this also happening with the sqlite adapter?

@henry that issue was fixed yesterday here, please pull the branch again!


Yes, both on postgres and sqlite unfortunately. What I figured out so far, it seems to be an GMT+2 and UTC issue. When you run an --import, then 2 hours of data are missing, e.g. we have 16:30h local time, then data is only written until 14:40h. The realtime run is unable to write the gap on kraken.

var from = moment.utc(daterange.from);

if(daterange.to) {
  var to = moment.utc(daterange.to);
} else {
  var to = moment().utc();
  log.debug(
    'No end date specified for importing, setting to',
    to.format('YYYY-MM-DD HH:mmConfuseds')
  );
}

This code is from import.js. When I change to:

var from = moment(daterange.from);

if(daterange.to) {
  var to = moment(daterange.to);
} else {
  var to = moment();
  log.debug(
    'No end date specified for importing, setting to',
    to.format('YYYY-MM-DD HH:mmConfuseds')
  );
}

and the config this way:

config.importer = {
  daterange: {
    // NOTE: these dates are in UTC
    from: "2018-06-27T00:00:00Z"
    //from: "2018-06-27 00:00:00"
    }
}

I get all import data until 16:30h local time, except a couple of minutes missing. However the next real run is not adding any data to the db anymore. With blank db it is adding data.
  Reply


Messages In This Thread
Gekko 0.6 released - by askmike - 06-24-2018, 10:31 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-24-2018, 01:42 PM
RE: Gekko 0.6 pre release - by askmike - 06-25-2018, 03:41 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-25-2018, 09:24 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-25-2018, 10:29 AM
RE: Gekko 0.6 pre release - by crypto49er - 06-25-2018, 03:43 AM
RE: Gekko 0.6 pre release - by askmike - 06-25-2018, 08:17 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 05:48 AM
RE: Gekko 0.6 pre release - by Henry151 - 06-26-2018, 05:56 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 06:16 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 06:44 AM
RE: Gekko 0.6 pre release - by Henry151 - 06-26-2018, 07:36 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 06:55 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 10:46 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 08:04 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 02:01 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 05:06 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 06:55 PM
RE: Gekko 0.6 pre release - by Henry151 - 06-27-2018, 05:16 PM
RE: Gekko 0.6 pre release - by askmike - 06-27-2018, 05:21 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-27-2018, 05:56 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-28-2018, 02:36 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-28-2018, 09:03 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-30-2018, 02:42 PM
RE: Gekko 0.6 pre release - by Kris191 - 07-04-2018, 04:11 AM
RE: Gekko 0.6.0 released - by askmike - 07-04-2018, 10:53 AM
RE: Gekko 0.6.0 released - by Kris191 - 07-04-2018, 07:02 PM
RE: Gekko 0.6.0 released - by ankasem - 07-05-2018, 03:09 AM
RE: Gekko 0.6.0 released - by donkykong017 - 07-05-2018, 04:41 AM
RE: Gekko 0.6.0 released - by askmike - 07-05-2018, 08:41 AM
RE: Gekko 0.6.0 released - by Kris191 - 07-06-2018, 04:29 AM
RE: Gekko 0.6 released - by ankasem - 07-06-2018, 01:12 AM
RE: Gekko 0.6 released - by ankasem - 07-08-2018, 06:25 AM
RE: Gekko 0.6 released - by askmike - 07-06-2018, 05:17 AM
RE: Gekko 0.6 released - by Kris191 - 07-06-2018, 08:05 AM
RE: Gekko 0.6 released - by ankasem - 07-06-2018, 11:31 AM
RE: Gekko 0.6 released - by Kris191 - 07-06-2018, 12:42 PM
RE: Gekko 0.6 released - by Kris191 - 07-07-2018, 05:41 PM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 07:24 AM
RE: Gekko 0.6 released - by thegamecat - 07-07-2018, 11:22 AM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 02:54 PM
RE: Gekko 0.6 released - by askmike - 07-08-2018, 03:13 PM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 07:04 PM
RE: Gekko 0.6 released - by ankasem - 07-08-2018, 08:42 PM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 03:51 AM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 03:52 AM
RE: Gekko 0.6 released - by Kris191 - 07-09-2018, 10:30 AM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 01:31 PM
RE: Gekko 0.6 released - by Kris191 - 07-20-2018, 08:06 AM
RE: Gekko 0.6 released - by Kris191 - 07-09-2018, 01:39 PM
RE: Gekko 0.6 released - by ankasem - 07-09-2018, 05:55 PM
RE: Gekko 0.6 released - by mark.sch - 07-09-2018, 07:11 PM
RE: Gekko 0.6 released - by crypt0r - 07-11-2018, 05:58 PM
RE: Gekko 0.6 released - by crypt0r - 07-11-2018, 09:19 PM
RE: Gekko 0.6 released - by Kris191 - 07-12-2018, 05:38 AM
RE: Gekko 0.6 released - by mark.sch - 07-15-2018, 08:29 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 10:57 AM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 11:44 AM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 12:18 PM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 12:22 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 12:36 PM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 01:19 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 01:24 PM
RE: Gekko 0.6 released - by Kris191 - 07-19-2018, 05:56 AM
RE: Gekko 0.6 released - by dugu-dugu - 07-20-2018, 09:32 AM
RE: Gekko 0.6 released - by ankasem - 07-21-2018, 10:24 PM
RE: Gekko 0.6 released - by wewantmoore - 07-22-2018, 12:00 AM
RE: Gekko 0.6 released - by askmike - 07-22-2018, 12:19 AM
RE: Gekko 0.6 released - by wewantmoore - 07-22-2018, 12:25 AM
RE: Gekko 0.6 released - by wewantmoore - 09-05-2018, 10:17 AM
RE: Gekko 0.6 released - by mark.sch - 08-17-2018, 10:48 PM
RE: Gekko 0.6 released - by askmike - 08-20-2018, 04:07 AM
RE: Gekko 0.6 released - by mark.sch - 08-20-2018, 07:21 AM
RE: Gekko 0.6 released - by askmike - 08-20-2018, 09:42 AM
RE: Gekko 0.6 released - by askmike - 09-06-2018, 04:22 AM
RE: Gekko 0.6 released - by wewantmoore - 09-06-2018, 12:27 PM

Forum Jump:


Users browsing this thread: