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

Commit

Permalink
update gb path
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jun 29, 2018
1 parent ca4f4d6 commit d640672
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/markets/leech.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const util = require('../util');
const dirs = util.dirs();
const config = util.getConfig();

const exchangeChecker = require(dirs.core + 'exchangeChecker');
const exchangeChecker = require(dirs.gekko + 'exchange/exchangeChecker');

const adapter = config[config.adapter];
const Reader = require(dirs.gekko + adapter.path + '/reader');
Expand Down Expand Up @@ -74,7 +74,6 @@ Market.prototype.processCandles = function(err, candles) {
return;
}


// TODO:
// verify that the correct amount of candles was passed:
//
Expand All @@ -86,8 +85,6 @@ Market.prototype.processCandles = function(err, candles) {
this.push(c);
}, this);

this.sendStartAt(_.first(candles));

this.latestTs = _.last(candles).start.unix() + 1;
}

Expand Down

0 comments on commit d640672

Please sign in to comment.