Kraken import error: (getTrades) returned an irrecoverable error
#1
In debug all is fine, candles are imported but in terminal I have error like this:
Code:
2018-04-05 10:16:53 (ERROR):    [kraken.js] (getTrades) returned an irrecoverable error: Cannot read property 'date' of undefined
2018-04-05 10:16:53 (ERROR):    There was an error importing from Kraken [kraken.js] Cannot read property 'date' of undefined

my config
Code:
var config = {};
config.debug = true;
config.watch = {
  exchange: 'kraken',
  currency: 'USD',
  asset: 'DASH',
}
config.tradingAdvisor = {
  enabled: false,
  method: 'BBRSI',
  candleSize: 1,
  historySize: 2,
}
config.paperTrader = {
  enabled: false,
  reportInCurrency: true,
  simulationBalance: {
    asset: 0,
    currency: 4,
  },
  feeMaker: 0.05,
  feeTaker: 0.05,
  feeUsing: 'maker',
  slippage: 0.5,
}
config.performanceAnalyzer = {
  enabled: false,
  riskFreeReturn: 5
}
config.trader = {
  enabled: false,
  key: '',
  secret: '',
  username: '',
  passphrase: '',
  orderUpdateDelay: 1,
}
config.adviceLogger = {
  enabled: false,
  muteSoft: true
}
config.candleWriter = {
  enabled: true
}
config.adviceWriter = {
  enabled: false,
  muteSoft: true,
}
config.adapter = 'sqlite';
config.sqlite = {
  path: 'plugins/sqlite',
  dataDirectory: 'history',
  version: 0.1,
  dependencies: []
}
config.backtest = {
  daterange:  'scan',
  batchSize: 50
}
config.importer = {
  daterange: {
    from: "2018-03-28 00:00",
    to: "2018-04-05 08:16:16"
  }
}

config['I understand that Gekko only automates MY OWN trading strategies'] = true;
module.exports = config;
  Reply


Forum Jump:


Users browsing this thread: