{"action":"created","issue":{"url":"https://api.github.com/repos/DeviaVir/zenbot/issues/1299","repository_url":"https://api.github.com/repos/DeviaVir/zenbot","labels_url":"https://api.github.com/repos/DeviaVir/zenbot/issues/1299/labels{/name}","comments_url":"https://api.github.com/repos/DeviaVir/zenbot/issues/1299/comments","events_url":"https://api.github.com/repos/DeviaVir/zenbot/issues/1299/events","html_url":"https://github.com/DeviaVir/zenbot/issues/1299","id":295143945,"number":1299,"title":"'RangeError: Maximum call stack size exceeded' when I try to run Zenbot on Binance.","user":{"login":"reynard80","id":32482953,"avatar_url":"https://avatars2.githubusercontent.com/u/32482953?v=4","gravatar_id":"","url":"https://api.github.com/users/reynard80","html_url":"https://github.com/reynard80","followers_url":"https://api.github.com/users/reynard80/followers","following_url":"https://api.github.com/users/reynard80/following{/other_user}","gists_url":"https://api.github.com/users/reynard80/gists{/gist_id}","starred_url":"https://api.github.com/users/reynard80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reynard80/subscriptions","organizations_url":"https://api.github.com/users/reynard80/orgs","repos_url":"https://api.github.com/users/reynard80/repos","events_url":"https://api.github.com/users/reynard80/events{/privacy}","received_events_url":"https://api.github.com/users/reynard80/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-07T13:48:51Z","updated_at":"2018-02-08T02:25:51Z","closed_at":null,"author_association":"NONE","body":"### System information\r\n- **Have I written custom code (as opposed to using zenbot vanilla)**: No\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Ubuntu 17.04\r\n- **Zenbot version**: v4.10\r\n- **NodeJS version**: v8.9.4\r\n- **Python version**: v2.7.14\r\n- **Exact command to reproduce**:  ./zenbot.sh trade --paper\r\n\r\n### Describe the problem\r\nI'm getting a `RangeError: Maximum call stack size exceeded` when I try to run Zenbot on Binance.\r\nAfter a fresh install I try to run Zenbot on Binance, with one of their pairs, for example BTC-USDT. The only thing I changed in the conf.js. was `c.selector = 'binance.BTC-USDT'`\r\n\r\n### Source code / logs\r\nI keep getting the following errors, after the bot runs for a bit:\r\n\r\n```\r\n2018-02-07 10:14:00  7788.19 BTC-USDT                95                               0.00000 BTC  1000.00000000 USDT   +0.00%   -1.67%\r\n2018-02-07 10:16:00  7804.00 BTC-USDT   +0.20%       56                               0.00000 BTC  1000.00000000 USDT   +0.00%   -1.87%\r\n2018-02-07 10:18:00  7847.98 BTC-USDT   +0.56%      125                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.42%\r\n2018-02-07 10:20:00  7871.51 BTC-USDT   +0.29%      102                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.71%\r\n2018-02-07 10:22:00  7848.02 BTC-USDT   -0.30%      116                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.42%\r\n2018-02-07 10:24:00  7835.99 BTC-USDT   -0.16%       68                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.27%\r\n2018-02-07 10:26:00  7871.41 BTC-USDT   +0.45%      131                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.71%\r\n2018-02-07 10:28:00  7890.00 BTC-USDT   +0.23%       66                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.94%\r\n2018-02-07 10:30:00  7935.13 BTC-USDT   +0.57%      172                               0.00000 BTC  1000.00000000 USDT   +0.00%   -3.49%\r\n2018-02-07 10:32:00  7867.74 BTC-USDT   -0.85%      104                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.66%\r\n2018-02-07 10:34:00  7864.15 BTC-USDT   -0.05%       99                               0.00000 BTC  1000.00000000 USDT   +0.00%   -2.62%\r\n2018-02-07 10:36:00  7920.11 BTC-USDT   +0.71%       90                               0.00000 BTC  1000.00000000 USDT   +0.00%   -3.30%\r\n2018-02-07 10:38:00  7941.98 BTC-USDT   +0.27%       62                               0.00000 BTC  1000.00000000 USDT   +0.00%   -3.57%\r\n2018-02-07 10:40:00  7968.92 BTC-USDT   +0.33%      147                               0.00000 BTC  1000.00000000 USDT   +0.00%   -3.90%\r\n2018-02-07 10:42:00  7929.66 BTC-USDT   -0.50%       93   --- 27.05                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.42%\r\n2018-02-07 10:44:00  7880.00 BTC-USDT   -0.63%      110  ---- 23.81                      0.00000 BTC  1000.00000000 USDT   +0.00%   -2.81%\r\n2018-02-07 10:46:00  7853.94 BTC-USDT   -0.34%      116  ---- 22.31                      0.00000 BTC  1000.00000000 USDT   +0.00%   -2.49%\r\n2018-02-07 10:48:00  7900.20 BTC-USDT   +0.58%       70   --- 30.69                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.06%\r\n2018-02-07 10:50:00  7905.17 BTC-USDT   +0.06%       50   --- 31.55                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.12%\r\n2018-02-07 10:52:00  7892.20 BTC-USDT   -0.17%       62   --- 30.49                      0.00000 BTC  1000.00000000 USDT   +0.00%   -2.96%\r\n2018-02-07 10:54:00  7965.31 BTC-USDT   +0.92%      118    -- 42.24                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.85%\r\n2018-02-07 10:56:00  7977.47 BTC-USDT   +0.15%       68    -- 43.94                      0.00000 BTC  1000.00000000 USDT   +0.00%   -4.00%\r\n2018-02-07 10:58:00  7956.87 BTC-USDT   -0.26%       79    -- 41.70                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.75%\r\n2018-02-07 11:00:00  7962.89 BTC-USDT   +0.07%       61    -- 42.62                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.82%\r\n2018-02-07 11:02:00  7955.03 BTC-USDT   -0.10%       30    -- 41.70                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.73%\r\n2018-02-07 11:04:00  7919.91 BTC-USDT   -0.45%       91    -- 37.76                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.30%\r\n2018-02-07 11:06:00  7922.00 BTC-USDT   +0.02%       82    -- 38.13                      0.00000 BTC  1000.00000000 USDT   +0.00%   -3.33%\r\n2018-02-07 11:08:00  7911.21 BTC-USDT   -0.14%       45    -- 36.90     0.0105      buy  0.00000 BTC  1000.00000000 USDT   +0.00%   -3.20%\r\n2018-02-07 11:10:00  7919.00 BTC-USDT   +0.09%       56    -- 38.45     0.0170   0.0023           0.00000 BTC  1000.00000000 USDT   +0.00%   -3.29%\r\n2018-02-07 11:11:59  7923.03 BTC-USDT   +0.05%       24    -- 39.28     0.0195   0.0030           0.00000 BTC  1000.00000000 USDT   +0.00%   -3.34%\r\nAn error occurred RangeError: Maximum call stack size exceeded\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:14:17)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\nAn error occurred RangeError: Maximum call stack size exceeded\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:14:17)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n    at each (/home/user/zenbot/node_modules/run-series/index.js:17:24)\r\n    at Array.<anonymous> (/home/user/zenbot/lib/engine.js:858:20)\r\n...\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/DeviaVir/zenbot/issues/comments/363981818","html_url":"https://github.com/DeviaVir/zenbot/issues/1299#issuecomment-363981818","issue_url":"https://api.github.com/repos/DeviaVir/zenbot/issues/1299","id":363981818,"user":{"login":"brucetus","id":31704711,"avatar_url":"https://avatars0.githubusercontent.com/u/31704711?v=4","gravatar_id":"","url":"https://api.github.com/users/brucetus","html_url":"https://github.com/brucetus","followers_url":"https://api.github.com/users/brucetus/followers","following_url":"https://api.github.com/users/brucetus/following{/other_user}","gists_url":"https://api.github.com/users/brucetus/gists{/gist_id}","starred_url":"https://api.github.com/users/brucetus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brucetus/subscriptions","organizations_url":"https://api.github.com/users/brucetus/orgs","repos_url":"https://api.github.com/users/brucetus/repos","events_url":"https://api.github.com/users/brucetus/events{/privacy}","received_events_url":"https://api.github.com/users/brucetus/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T02:25:51Z","updated_at":"2018-02-08T02:25:51Z","author_association":"CONTRIBUTOR","body":"I found these changes between a working exchange.js and the latest updated exchange.js.\r\n\r\n<img width=\"1028\" alt=\"screen shot 2018-02-07 at 6 10 15 pm\" src=\"https://user-images.githubusercontent.com/31704711/35952302-368afe0c-0c34-11e8-815f-d77a6906e245.png\">\r\n<img width=\"1033\" alt=\"screen shot 2018-02-07 at 6 10 08 pm\" src=\"https://user-images.githubusercontent.com/31704711/35952283-27ac5b06-0c34-11e8-9c33-4ea8634127f1.png\">\r\n"}}
{"actor":{"display_login":"brucetus"}}