{"action":"created","issue":{"url":"https://api.github.com/repos/askmike/gekko/issues/608","repository_url":"https://api.github.com/repos/askmike/gekko","labels_url":"https://api.github.com/repos/askmike/gekko/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/askmike/gekko/issues/608/comments","events_url":"https://api.github.com/repos/askmike/gekko/issues/608/events","html_url":"https://github.com/askmike/gekko/issues/608","id":211887798,"number":608,"title":"Segmentation fault on start","user":{"login":"Jorman","id":5203988,"avatar_url":"https://avatars3.githubusercontent.com/u/5203988?v=3","gravatar_id":"","url":"https://api.github.com/users/Jorman","html_url":"https://github.com/Jorman","followers_url":"https://api.github.com/users/Jorman/followers","following_url":"https://api.github.com/users/Jorman/following{/other_user}","gists_url":"https://api.github.com/users/Jorman/gists{/gist_id}","starred_url":"https://api.github.com/users/Jorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jorman/subscriptions","organizations_url":"https://api.github.com/users/Jorman/orgs","repos_url":"https://api.github.com/users/Jorman/repos","events_url":"https://api.github.com/users/Jorman/events{/privacy}","received_events_url":"https://api.github.com/users/Jorman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-04T15:55:19Z","updated_at":"2017-03-04T17:55:50Z","closed_at":null,"body":"Hi, I cloned the git, switched to the develop branch and installed, all ok the installation (I think) but when I try to start gekko, I got this error. I also tried with the stable, but same error.\r\n\r\nAny idea or any way to find the problem?\r\n\r\n```\r\n        Gekko v0.4.4\r\n        I'm gonna make you rich, Bud Fox.\r\n\r\n\r\n2017-03-04 16:52:09 (INFO):     Setting up Gekko in realtime mode\r\n2017-03-04 16:52:09 (INFO):\r\n2017-03-04 16:52:09 (INFO):     Setting up:\r\n2017-03-04 16:52:09 (INFO):              Candle writer\r\n2017-03-04 16:52:09 (INFO):              Store candles in a database\r\n2017-03-04 16:52:09 (INFO):\r\n\r\n2017-03-04 16:52:09 (INFO):     Setting up:\r\n2017-03-04 16:52:09 (INFO):              Trading Advisor\r\n2017-03-04 16:52:09 (INFO):              Calculate trading advice\r\n2017-03-04 16:52:09 (INFO):              Using the trading method: CCI\r\n2017-03-04 16:52:09 (WARN):     Warning, trading method has no name\r\n2017-03-04 16:52:09 (INFO):             The trading method requests 100 minutes of historic data. Checking availablity..\r\n2017-03-04 16:52:10 (INFO):\r\n\r\n2017-03-04 16:52:10 (INFO):             No usable local data available, trying to get as much as possible from the exchange..\r\n2017-03-04 16:52:10 (DEBUG):            Fetching exchange data since 100 minutes ago\r\nSegmentation fault\r\n```"},"comment":{"url":"https://api.github.com/repos/askmike/gekko/issues/comments/284168569","html_url":"https://github.com/askmike/gekko/issues/608#issuecomment-284168569","issue_url":"https://api.github.com/repos/askmike/gekko/issues/608","id":284168569,"user":{"login":"Jorman","id":5203988,"avatar_url":"https://avatars3.githubusercontent.com/u/5203988?v=3","gravatar_id":"","url":"https://api.github.com/users/Jorman","html_url":"https://github.com/Jorman","followers_url":"https://api.github.com/users/Jorman/followers","following_url":"https://api.github.com/users/Jorman/following{/other_user}","gists_url":"https://api.github.com/users/Jorman/gists{/gist_id}","starred_url":"https://api.github.com/users/Jorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jorman/subscriptions","organizations_url":"https://api.github.com/users/Jorman/orgs","repos_url":"https://api.github.com/users/Jorman/repos","events_url":"https://api.github.com/users/Jorman/events{/privacy}","received_events_url":"https://api.github.com/users/Jorman/received_events","type":"User","site_admin":false},"created_at":"2017-03-04T17:55:50Z","updated_at":"2017-03-04T17:55:50Z","body":"Nope, here my configuration\r\n\r\n`// Everything is explained here:\r\n// @link https://github.com/askmike/gekko/blob/stable/docs/Configuring_gekko.md\r\n\r\nvar config = {};\r\n\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n//                          GENERAL SETTINGS\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nconfig.debug = true; // for additional logging / debugging\r\n\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n//                         WATCHING A MARKET\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n// Monitor the live market\r\nconfig.watch = {\r\n\r\n  // see https://github.com/askmike/gekko#supported-exchanges\r\n  exchange: 'Poloniex',\r\n  currency: 'BTC',\r\n  asset: 'DASH'\r\n}\r\n\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n//                       CONFIGURING TRADING ADVICE\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nconfig.tradingAdvisor = {\r\n  enabled: true,\r\n  method: 'CCI',\r\n  candleSize: 10,\r\n  historySize: 10,\r\n  adapter: 'sqlite',\r\n  talib: {\r\n    enabled: false,\r\n    version: '1.0.2'\r\n  }\r\n}\r\n\r\n// do you want Gekko to calculate the profit of its own advice?\r\nconfig.profitSimulator = {\r\n  enabled: false,\r\n  // report the profit in the currency or the asset?\r\n  reportInCurrency: true,\r\n  // start balance, on what the current balance is compared with\r\n  simulationBalance: {\r\n    // these are in the unit types configured in the watcher.\r\n    asset: 1,\r\n    currency: 100,\r\n  },\r\n  // how much fee in % does each trade cost?\r\n  fee: 0.25,\r\n  // how much slippage/spread should Gekko assume per trade?\r\n  slippage: 0.05\r\n}\r\n\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n//                       CONFIGURING PLUGINS\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n// Want Gekko to perform real trades on buy or sell advice?\r\n// Enabling this will activate trades for the market being\r\n// watched by `config.watch`.\r\nconfig.trader = {\r\n  enabled: true,\r\n  key: '***',\r\n  secret: '***',\r\n  username: '' // your username, only required for specific exchanges.\r\n}\r\n\r\nconfig.adviceLogger = {\r\n  enabled: false,\r\n  muteSoft: false // disable advice printout if it's soft\r\n}\r\n\r\nconfig.pushover = {\r\n  enabled: false,\r\n  sendPushoverOnStart: true,\r\n  muteSoft: true, // disable advice printout if it's soft\r\n  tag: '[GEKKO]',\r\n  key: '',\r\n  user: ''\r\n}\r\n\r\n// want Gekko to send a mail on buy or sell advice?\r\nconfig.mailer = {\r\n  enabled: false,       // Send Emails if true, false to turn off\r\n  sendMailOnStart: true,    // Send 'Gekko starting' message if true, not if false\r\n\r\n  email: '',    // Your Gmail address\r\n  muteSoft: true, // disable advice printout if it's soft\r\n\r\n  // You don't have to set your password here, if you leave it blank we will ask it\r\n  // when Gekko's starts.\r\n  //\r\n  // NOTE: Gekko is an open source project < https://github.com/askmike/gekko >,\r\n  // make sure you looked at the code or trust the maintainer of this bot when you\r\n  // fill in your email and password.\r\n  //\r\n  // WARNING: If you have NOT downloaded Gekko from the github page above we CANNOT\r\n  // guarantuee that your email address & password are safe!\r\n\r\n  password: '',       // Your Gmail Password - if not supplied Gekko will prompt on startup.\r\n\r\n  tag: '[GEKKO] ',      // Prefix all email subject lines with this\r\n\r\n            //       ADVANCED MAIL SETTINGS\r\n            // you can leave those as is if you\r\n            // just want to use Gmail\r\n\r\n  server: 'smtp.gmail.com',   // The name of YOUR outbound (SMTP) mail server.\r\n  smtpauth: true,     // Does SMTP server require authentication (true for Gmail)\r\n          // The following 3 values default to the Email (above) if left blank\r\n  user: '',       // Your Email server user name - usually your full Email address 'me@mydomain.com'\r\n  from: '',       // 'me@mydomain.com'\r\n  to: '',       // 'me@somedomain.com, me@someotherdomain.com'\r\n  ssl: true,        // Use SSL (true for Gmail)\r\n  port: '',       // Set if you don't want to use the default port\r\n}\r\n\r\nconfig.pushbullet = {\r\n    // sends pushbullets if true\r\n  enabled: false,\r\n    // Send 'Gekko starting' message if true\r\n  sendMessageOnStart: true,\r\n    // disable advice printout if it's soft\r\n  muteSoft: true,\r\n    // your pushbullet API key\r\n  key: 'xxx',\r\n    // your email, change it unless you are Azor Ahai\r\n  email: 'jon_snow@westeros.org',\r\n    // will make Gekko messages start mit [GEKKO]\r\n  tag: '[GEKKO]'\r\n};\r\n\r\nconfig.ircbot = {\r\n  enabled: false,\r\n  emitUpdates: false,\r\n  muteSoft: true,\r\n  channel: '#your-channel',\r\n  server: 'irc.freenode.net',\r\n  botName: 'gekkobot'\r\n}\r\n\r\nconfig.telegrambot = {\r\n  enabled: false,\r\n  emitUpdates: true,\r\n  token: '',\r\n  botName: 'gekkobot'\r\n}\r\n\r\nconfig.xmppbot = {\r\n  enabled: false,\r\n  emitUpdates: false,\r\n  client_id: 'jabber_id',\r\n  client_pwd: 'jabber_pw',\r\n  client_host: 'jabber_server',\r\n  client_port: 5222,\r\n  status_msg: 'I\\'m online',\r\n  receiver: 'jabber_id_for_updates'\r\n}\r\n\r\nconfig.campfire = {\r\n  enabled: false,\r\n  emitUpdates: false,\r\n  nickname: 'Gordon',\r\n  roomId: null,\r\n  apiKey: '',\r\n  account: ''\r\n}\r\n\r\nconfig.redisBeacon = {\r\n  enabled: false,\r\n  port: 6379, // redis default\r\n  host: '127.0.0.1', // localhost\r\n    // On default Gekko broadcasts\r\n    // events in the channel with\r\n    // the name of the event, set\r\n    // an optional prefix to the\r\n    // channel name.\r\n  channelPrefix: '',\r\n  broadcast: [\r\n    'candle'\r\n  ]\r\n}\r\n\r\nconfig.candleWriter = {\r\n  adapter: 'sqlite',\r\n  enabled: false\r\n}\r\n\r\nconfig.adviceWriter = {\r\n  adapter: 'mongodb',\r\n  enabled: false,\r\n  muteSoft: true,\r\n}\r\n\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n//                       CONFIGURING ADAPTER\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n\r\n\r\n\r\n\r\n\r\nconfig.adapters = {\r\n  sqlite: {\r\n    path: 'plugins/sqlite',\r\n\r\n    dataDirectory: 'history',\r\n    version: 0.1,\r\n\r\n    dependencies: [{\r\n      module: 'sqlite3',\r\n      version: '3.1.4'\r\n    }]\r\n  },\r\n  // Postgres adapter example config (please note: requires postgres >= 9.5):\r\n  postgresql: {\r\n    path: 'plugins/postgresql',\r\n    version: 0.1,\r\n    connectionString: 'postgres://user:pass@localhost:5432', // if default port\r\n    dependencies: [{\r\n      module: 'pg',\r\n      version: '6.1.0'\r\n    }]\r\n  },\r\n  // Mongodb adapter, requires mongodb >= 3.3 (no version earlier tested)\r\n  mongodb: {\r\n    path: 'plugins/mongodb',\r\n    version: 0.1,\r\n    connectionString: 'mongodb://mongodb/gekko', // connection to mongodb server\r\n    dependencies: [{\r\n      module: 'mongojs',\r\n      version: '2.4.0'\r\n    }]\r\n  }\r\n}\r\n\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n//                       CONFIGURING BACKTESTING\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n// Note that these settings are only used in backtesting mode, see here:\r\n// @link: https://github.com/askmike/gekko/blob/stable/docs/Backtesting.md\r\n\r\nconfig.backtest = {\r\n  adapter: 'sqlite',\r\n  daterange: 'scan',\r\n  batchSize: 50\r\n}\r\n\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n//                       CONFIGURING IMPORTING\r\n// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nconfig.importer = {\r\n  daterange: {\r\n    // NOTE: these dates are in UTC\r\n    from: \"2016-04-12 09:49:00\"\r\n  }\r\n}\r\n\r\n// set this to true if you understand that Gekko will\r\n// invest according to how you configured the indicators.\r\n// None of the advice in the output is Gekko telling you\r\n// to take a certain position. Instead it is the result\r\n// of running the indicators you configured automatically.\r\n//\r\n// In other words: Gekko automates your trading strategies,\r\n// it doesn't advice on itself, only set to true if you truly\r\n// understand this.\r\n//\r\n// Not sure? Read this first: https://github.com/askmike/gekko/issues/201\r\nconfig['I understand that Gekko only automates MY OWN trading strategies'] = true;\r\n\r\nmodule.exports = config;`"}}
{"actor":{"display_login":"Jorman"}}