{"action":"created","issue":{"url":"https://api.github.com/repos/carlos8f/zenbot/issues/2","repository_url":"https://api.github.com/repos/carlos8f/zenbot","labels_url":"https://api.github.com/repos/carlos8f/zenbot/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/carlos8f/zenbot/issues/2/comments","events_url":"https://api.github.com/repos/carlos8f/zenbot/issues/2/events","html_url":"https://github.com/carlos8f/zenbot/issues/2","id":164715310,"number":2,"title":"Support for Bitfinex API","user":{"login":"MaxXor","id":7271470,"avatar_url":"https://avatars2.githubusercontent.com/u/7271470?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxXor","html_url":"https://github.com/MaxXor","followers_url":"https://api.github.com/users/MaxXor/followers","following_url":"https://api.github.com/users/MaxXor/following{/other_user}","gists_url":"https://api.github.com/users/MaxXor/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxXor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxXor/subscriptions","organizations_url":"https://api.github.com/users/MaxXor/orgs","repos_url":"https://api.github.com/users/MaxXor/repos","events_url":"https://api.github.com/users/MaxXor/events{/privacy}","received_events_url":"https://api.github.com/users/MaxXor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-07-10T13:18:23Z","updated_at":"2017-03-14T04:59:38Z","closed_at":null,"body":"It would be really useful to add support for bitfinex trading API.\n\nI've never used NodeJS before, but I'll see if I can help.\n"},"comment":{"url":"https://api.github.com/repos/carlos8f/zenbot/issues/comments/286322613","html_url":"https://github.com/carlos8f/zenbot/issues/2#issuecomment-286322613","issue_url":"https://api.github.com/repos/carlos8f/zenbot/issues/2","id":286322613,"user":{"login":"nedievas","id":6176288,"avatar_url":"https://avatars2.githubusercontent.com/u/6176288?v=3","gravatar_id":"","url":"https://api.github.com/users/nedievas","html_url":"https://github.com/nedievas","followers_url":"https://api.github.com/users/nedievas/followers","following_url":"https://api.github.com/users/nedievas/following{/other_user}","gists_url":"https://api.github.com/users/nedievas/gists{/gist_id}","starred_url":"https://api.github.com/users/nedievas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nedievas/subscriptions","organizations_url":"https://api.github.com/users/nedievas/orgs","repos_url":"https://api.github.com/users/nedievas/repos","events_url":"https://api.github.com/users/nedievas/events{/privacy}","received_events_url":"https://api.github.com/users/nedievas/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T04:59:38Z","updated_at":"2017-03-14T04:59:38Z","body":"Don't know if it matters. I try to reproduce your error again:\r\n```\r\n[bfxbot@gene ~]$ git clone https://github.com/nedievas/zenbot\r\nCloning into 'zenbot'...\r\nremote: Counting objects: 6657, done.\r\nremote: Compressing objects: 100% (94/94), done.\r\nremote: Total 6657 (delta 55), reused 0 (delta 0), pack-reused 6563\r\nReceiving objects: 100% (6657/6657), 5.70 MiB | 3.18 MiB/s, done.\r\nResolving deltas: 100% (4266/4266), done.\r\nChecking connectivity... done.\r\n[bfxbot@gene ~]$ cd zenbot/\r\n[bfxbot@gene zenbot]$ cp config_sample.js config.js\r\n[bfxbot@gene zenbot]$ npm install\r\nnpm WARN deprecated node-uuid@1.4.7: use uuid module instead\r\n\r\n> microtime@2.1.1 install /home/bfxbot/zenbot/node_modules/microtime\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/home/bfxbot/zenbot/node_modules/microtime/build'\r\n  CXX(target) Release/obj.target/microtime/src/microtime.o\r\n  SOLINK_MODULE(target) Release/obj.target/microtime.node\r\n  COPY Release/microtime.node\r\nmake: Leaving directory '/home/bfxbot/zenbot/node_modules/microtime/build'\r\n\r\n> bufferutil@1.2.1 install /home/bfxbot/zenbot/node_modules/bufferutil\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/home/bfxbot/zenbot/node_modules/bufferutil/build'\r\n  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o\r\n  SOLINK_MODULE(target) Release/obj.target/bufferutil.node\r\n  COPY Release/bufferutil.node\r\nmake: Leaving directory '/home/bfxbot/zenbot/node_modules/bufferutil/build'\r\n\r\n> utf-8-validate@1.2.2 install /home/bfxbot/zenbot/node_modules/utf-8-validate\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/home/bfxbot/zenbot/node_modules/utf-8-validate/build'\r\n  CXX(target) Release/obj.target/validation/src/validation.o\r\n  SOLINK_MODULE(target) Release/obj.target/validation.node\r\n  COPY Release/validation.node\r\nmake: Leaving directory '/home/bfxbot/zenbot/node_modules/utf-8-validate/build'\r\nzenbot_trader@3.5.16 /home/bfxbot/zenbot\r\n├── ansi_up@1.3.0\r\n├─┬ axios@0.13.1\r\n│ └─┬ follow-redirects@0.0.7\r\n│   └── stream-consume@0.1.0\r\n├─┬ bitfinex-api-node@0.2.9\r\n│ ├─┬ debug@2.6.3\r\n│ │ └── ms@0.7.2\r\n│ ├─┬ request@2.81.0\r\n│ │ ├── aws-sign2@0.6.0\r\n│ │ ├── aws4@1.6.0\r\n│ │ ├── caseless@0.12.0\r\n│ │ ├─┬ combined-stream@1.0.5\r\n│ │ │ └── delayed-stream@1.0.0\r\n│ │ ├── extend@3.0.0\r\n│ │ ├── forever-agent@0.6.1\r\n│ │ ├─┬ form-data@2.1.2\r\n│ │ │ └── asynckit@0.4.0\r\n│ │ ├─┬ har-validator@4.2.1\r\n│ │ │ ├─┬ ajv@4.11.5\r\n│ │ │ │ ├── co@4.6.0\r\n│ │ │ │ └── json-stable-stringify@1.0.1\r\n│ │ │ └── har-schema@1.0.5\r\n│ │ ├─┬ hawk@3.1.3\r\n│ │ │ ├── boom@2.10.1\r\n│ │ │ ├── cryptiles@2.0.5\r\n│ │ │ ├── hoek@2.16.3\r\n│ │ │ └── sntp@1.0.9\r\n│ │ ├─┬ http-signature@1.1.1\r\n│ │ │ ├── assert-plus@0.2.0\r\n│ │ │ ├─┬ jsprim@1.4.0\r\n│ │ │ │ ├── assert-plus@1.0.0\r\n│ │ │ │ ├── extsprintf@1.0.2\r\n│ │ │ │ ├── json-schema@0.2.3\r\n│ │ │ │ └── verror@1.3.6\r\n│ │ │ └─┬ sshpk@1.11.0\r\n│ │ │   ├── asn1@0.2.3\r\n│ │ │   ├── assert-plus@1.0.0\r\n│ │ │   ├── bcrypt-pbkdf@1.0.1\r\n│ │ │   ├─┬ dashdash@1.14.1\r\n│ │ │   │ └── assert-plus@1.0.0\r\n│ │ │   ├── ecc-jsbn@0.1.1\r\n│ │ │   ├─┬ getpass@0.1.6\r\n│ │ │   │ └── assert-plus@1.0.0\r\n│ │ │   ├── jodid25519@1.0.2\r\n│ │ │   ├── jsbn@0.1.1\r\n│ │ │   └── tweetnacl@0.14.5\r\n│ │ ├── is-typedarray@1.0.0\r\n│ │ ├── isstream@0.1.2\r\n│ │ ├── json-stringify-safe@5.0.1\r\n│ │ ├─┬ mime-types@2.1.14\r\n│ │ │ └── mime-db@1.26.0\r\n│ │ ├── oauth-sign@0.8.2\r\n│ │ ├── performance-now@0.2.0\r\n│ │ ├── safe-buffer@5.0.1\r\n│ │ ├── stringstream@0.0.5\r\n│ │ ├─┬ tough-cookie@2.3.2\r\n│ │ │ └── punycode@1.4.1\r\n│ │ ├── tunnel-agent@0.6.0\r\n│ │ └── uuid@3.0.1\r\n│ └─┬ ws@0.8.1\r\n│   ├─┬ bufferutil@1.2.1\r\n│   │ └── nan@2.5.1\r\n│   ├── options@0.0.6\r\n│   ├── ultron@1.0.2\r\n│   └─┬ utf-8-validate@1.2.2\r\n│     └── nan@2.4.0\r\n├─┬ coinbase-exchange@0.2.1  (git+https://github.com/carlos8f/coinbase-exchange-node.git#e6133d9a9e4ee3c5f911ba533529167e16e99324)\r\n│ ├── async@1.5.0\r\n│ ├── bintrees@1.0.0\r\n│ ├─┬ lodash.assign@3.0.0\r\n│ │ ├─┬ lodash._baseassign@3.2.0\r\n│ │ │ ├── lodash._basecopy@3.0.1\r\n│ │ │ └─┬ lodash.keys@3.1.2\r\n│ │ │   ├── lodash._getnative@3.9.1\r\n│ │ │   └── lodash.isarguments@3.1.0\r\n│ │ └─┬ lodash._createassigner@3.1.1\r\n│ │   ├── lodash._isiterateecall@3.0.9\r\n│ │   └── lodash.restparam@3.6.1\r\n│ ├─┬ lodash.foreach@3.0.0\r\n│ │ ├── lodash._arrayeach@3.0.0\r\n│ │ ├── lodash._baseeach@3.0.4\r\n│ │ ├── lodash._bindcallback@3.0.1\r\n│ │ └── lodash.isarray@3.0.4\r\n│ ├─┬ lodash.partial@3.0.0\r\n│ │ ├── lodash._baseslice@3.0.3\r\n│ │ ├─┬ lodash._createwrapper@3.2.0\r\n│ │ │ └── lodash._root@3.0.1\r\n│ │ └── lodash._replaceholders@3.0.0\r\n│ ├─┬ nock@3.6.0\r\n│ │ ├─┬ chai@3.5.0\r\n│ │ │ ├── assertion-error@1.0.2\r\n│ │ │ ├─┬ deep-eql@0.1.3\r\n│ │ │ │ └── type-detect@0.1.1\r\n│ │ │ └── type-detect@1.0.0\r\n│ │ ├── deep-equal@1.0.1\r\n│ │ ├── lodash@2.4.1\r\n│ │ ├─┬ mkdirp@0.5.1\r\n│ │ │ └── minimist@0.0.8\r\n│ │ └── propagate@0.3.1\r\n│ ├─┬ num@0.2.1\r\n│ │ └── int@0.1.1\r\n│ ├─┬ request@2.51.0\r\n│ │ ├── aws-sign2@0.5.0\r\n│ │ ├─┬ bl@0.9.5\r\n│ │ │ └─┬ readable-stream@1.0.34\r\n│ │ │   └── isarray@0.0.1\r\n│ │ ├── caseless@0.8.0\r\n│ │ ├─┬ combined-stream@0.0.7\r\n│ │ │ └── delayed-stream@0.0.5\r\n│ │ ├── forever-agent@0.5.2\r\n│ │ ├─┬ form-data@0.2.0\r\n│ │ │ ├── async@0.9.2\r\n│ │ │ └─┬ mime-types@2.0.14\r\n│ │ │   └── mime-db@1.12.0\r\n│ │ ├─┬ hawk@1.1.1\r\n│ │ │ ├── boom@0.4.2\r\n│ │ │ ├── cryptiles@0.2.2\r\n│ │ │ ├── hoek@0.9.1\r\n│ │ │ └── sntp@0.2.4\r\n│ │ ├─┬ http-signature@0.10.1\r\n│ │ │ ├── asn1@0.1.11\r\n│ │ │ ├── assert-plus@0.1.5\r\n│ │ │ └── ctype@0.5.3\r\n│ │ ├── mime-types@1.0.2\r\n│ │ ├── node-uuid@1.4.7\r\n│ │ ├── oauth-sign@0.5.0\r\n│ │ ├── qs@2.3.3\r\n│ │ └── tunnel-agent@0.4.3\r\n│ └── ws@1.1.0  (git+https://github.com/carlos8f/ws.git#d2f503883a96d3354ef582d4526857c84a81ba02)\r\n├── colors@1.1.2\r\n├─┬ commander@2.9.0\r\n│ └── graceful-readlink@1.0.1\r\n├── formatmicro@1.0.6\r\n├─┬ kraken-api@0.1.7\r\n│ └── querystring@0.2.0\r\n├── micro-request@666.0.8\r\n├── moment@2.17.1\r\n├── moment-timezone@0.5.11\r\n├─┬ motley@2.2.8\r\n│ ├── addr@1.0.1\r\n│ ├── codemap@1.3.1\r\n│ ├── expres@0.0.5\r\n│ ├── formidable@1.1.1\r\n│ ├── href@0.1.1\r\n│ ├─┬ middler@0.8.2\r\n│ │ └─┬ bladerunner@0.1.3\r\n│ │   ├── methods@1.1.2\r\n│ │   ├─┬ minimatch@3.0.3\r\n│ │   │ └─┬ brace-expansion@1.1.6\r\n│ │   │   ├── balanced-match@0.4.2\r\n│ │   │   └── concat-map@0.0.1\r\n│ │   └── path-to-regexp@1.7.0\r\n│ ├── pause@0.1.0\r\n│ ├── qs@6.4.0\r\n│ ├── run-series@1.1.4\r\n│ ├─┬ sosa_mem@1.0.1\r\n│ │ └── sosa@1.1.3\r\n│ └─┬ sosa_session@1.0.0\r\n│   ├── cookie@0.2.4\r\n│   └── idgen@2.0.2\r\n├─┬ motley-buffet@2.0.2\r\n│ └─┬ buffet@1.0.10\r\n│   ├─┬ accesslog@0.0.2\r\n│   │ └── dateable@0.1.3\r\n│   ├─┬ dish@1.0.7\r\n│   │ ├── from@0.1.7\r\n│   │ └─┬ lru-cache@4.0.2\r\n│   │   ├── pseudomap@1.0.2\r\n│   │   └── yallist@2.1.2\r\n│   └─┬ mayonnaise@0.3.3\r\n│     └─┬ dollop@0.4.5\r\n│       ├─┬ glob@7.1.1\r\n│       │ ├── fs.realpath@1.0.0\r\n│       │ ├─┬ inflight@1.0.6\r\n│       │ │ └── wrappy@1.0.2\r\n│       │ ├── once@1.4.0\r\n│       │ └── path-is-absolute@1.0.1\r\n│       ├── rimraf@2.6.1\r\n│       └─┬ sinon@1.17.7\r\n│         ├── formatio@1.1.1\r\n│         ├── lolex@1.3.2\r\n│         ├── samsam@1.1.2\r\n│         └─┬ util@0.10.3\r\n│           └── inherits@2.0.1\r\n├─┬ motley-mongo@2.0.5\r\n│ ├─┬ mongodb@2.2.24\r\n│ │ ├── es6-promise@3.2.1\r\n│ │ ├─┬ mongodb-core@2.1.8\r\n│ │ │ ├── bson@1.0.4\r\n│ │ │ └─┬ require_optional@1.0.0\r\n│ │ │   ├── resolve-from@2.0.0\r\n│ │ │   └── semver@5.3.0\r\n│ │ └─┬ readable-stream@2.1.5\r\n│ │   └── isarray@1.0.0\r\n│ └── sosa_mongo@1.0.3\r\n├─┬ motley-templ@2.0.4\r\n│ ├─┬ handlebars@4.0.6\r\n│ │ ├─┬ optimist@0.6.1\r\n│ │ │ └── wordwrap@0.0.3\r\n│ │ ├─┬ source-map@0.4.4\r\n│ │ │ └── amdefine@1.0.1\r\n│ │ └─┬ uglify-js@2.8.12\r\n│ │   ├── source-map@0.5.6\r\n│ │   ├── uglify-to-browserify@1.0.2\r\n│ │   └─┬ yargs@3.10.0\r\n│ │     ├── camelcase@1.2.1\r\n│ │     ├─┬ cliui@2.1.0\r\n│ │     │ ├─┬ center-align@0.1.3\r\n│ │     │ │ ├─┬ align-text@0.1.4\r\n│ │     │ │ │ ├─┬ kind-of@3.1.0\r\n│ │     │ │ │ │ └── is-buffer@1.1.5\r\n│ │     │ │ │ ├── longest@1.0.1\r\n│ │     │ │ │ └── repeat-string@1.6.1\r\n│ │     │ │ └── lazy-cache@1.0.4\r\n│ │     │ ├── right-align@0.1.3\r\n│ │     │ └── wordwrap@0.0.2\r\n│ │     ├── decamelize@1.2.0\r\n│ │     └── window-size@0.1.0\r\n│ └── templ@1.4.3\r\n├─┬ multi-progress@2.0.0\r\n│ └── progress@1.1.8\r\n├── numbro@1.8.1  (git+https://github.com/carlos8f/numbro.git#11a9605bbd8a0bc8dc27c778cd7b4f467aebe2fa)\r\n├── object-get@2.1.0\r\n├─┬ os-monitor@1.0.5\r\n│ ├─┬ readable-stream@2.1.5\r\n│ │ ├── buffer-shims@1.0.0\r\n│ │ ├── core-util-is@1.0.2\r\n│ │ ├── inherits@2.0.3\r\n│ │ ├── isarray@1.0.0\r\n│ │ ├── process-nextick-args@1.0.7\r\n│ │ ├── string_decoder@0.10.31\r\n│ │ └── util-deprecate@1.0.2\r\n│ └── underscore@1.8.3\r\n├── run-parallel@1.1.6\r\n├── run-parallel-limit@1.0.3\r\n├─┬ sig@1.0.0\r\n│ └─┬ json-stable-stringify@0.0.1\r\n│   └── jsonify@0.0.0\r\n├─┬ timebucket@0.3.4\r\n│ └─┬ microtime@2.1.1\r\n│   ├── bindings@1.2.1\r\n│   └── nan@2.3.5\r\n├─┬ twit@2.2.5\r\n│ ├── bluebird@3.5.0\r\n│ └── mime@1.3.4\r\n├─┬ zenbrain@1.0.0-alpha  (git+https://github.com/carlos8f/zenbrain.git#bbda526bb833d9b258d8e6d187c1d5789c4cead0)\r\n│ └── numbro@1.8.1  (git+https://github.com/carlos8f/numbro.git#e6e9a0d5f4c32939a7c19cf1546c7766b38cd31f)\r\n└── zero-fill@2.2.3\r\n\r\nnpm WARN zenbot_trader@3.5.16 No repository field.\r\nnpm WARN zenbot_trader@3.5.16 No license field.\r\n[bfxbot@gene zenbot]$ ./run.sh\r\n03/14/2017 06:21:49 AM EET [    launcher] cmd `launch` booting\r\n03/14/2017 06:21:52 AM EET [    launcher] cmd `map` booting\r\n03/14/2017 06:21:52 AM EET [    launcher] cmd `reduce` booting\r\n03/14/2017 06:21:52 AM EET [    launcher] cmd `run` booting\r\n03/14/2017 06:21:52 AM EET [      runner] starting\r\n03/14/2017 06:21:52 AM EET [    launcher] cmd `server` booting\r\n03/14/2017 06:21:52 AM EET [      server] zenbot/3.5.16 booted!\r\n03/14/2017 06:21:52 AM EET [      server] open http://192.168.0.200:3013/?secret=4ae27adaec740b04 to see a live graph.\r\n03/14/2017 06:21:53 AM EET [    bitfinex]    m24824455    1000 trades. 03/14/2017 06:55:34 AM EET  BUY       562.855 at     $1,233.91 BTC/USD\r\n03/14/2017 06:22:14 AM EET [    bitfinex]    m24824456       2 trades. 03/14/2017 06:56:57 AM EET  BUY         1.021 at     $1,231.40 BTC/USD\r\n```\r\nPlease check if everything matches.\r\n"}}
{"actor":{"display_login":"nedievas"}}