{"action":"closed","issue":{"url":"https://api.github.com/repos/askmike/gekko/issues/1956","repository_url":"https://api.github.com/repos/askmike/gekko","labels_url":"https://api.github.com/repos/askmike/gekko/issues/1956/labels{/name}","comments_url":"https://api.github.com/repos/askmike/gekko/issues/1956/comments","events_url":"https://api.github.com/repos/askmike/gekko/issues/1956/events","html_url":"https://github.com/askmike/gekko/issues/1956","id":299053942,"number":1956,"title":"NaN result using StochRSI and 5 min candel size","user":{"login":"Shrike998","id":36707412,"avatar_url":"https://avatars1.githubusercontent.com/u/36707412?v=4","gravatar_id":"","url":"https://api.github.com/users/Shrike998","html_url":"https://github.com/Shrike998","followers_url":"https://api.github.com/users/Shrike998/followers","following_url":"https://api.github.com/users/Shrike998/following{/other_user}","gists_url":"https://api.github.com/users/Shrike998/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrike998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrike998/subscriptions","organizations_url":"https://api.github.com/users/Shrike998/orgs","repos_url":"https://api.github.com/users/Shrike998/repos","events_url":"https://api.github.com/users/Shrike998/events{/privacy}","received_events_url":"https://api.github.com/users/Shrike998/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-21T17:11:04Z","updated_at":"2018-02-22T04:17:20Z","closed_at":"2018-02-22T04:17:20Z","author_association":"NONE","body":"**Note: for support questions, please join our [Discord server](https://discord.gg/26wMygt)**\r\n\r\n* **I'm submitting a ...**\r\n[ ] bug report\r\n\r\n* **Action taken**\r\nSetup config.js to run a livetrading bot on binance ETH/FUEL with a 5 min candel size using the StochRSI strat\r\n\r\n* **Expected result** (what you hoped would happen)\r\n\r\nThe tradebotlog file would show a result when calculating the RSI similar to this:\r\n\r\n> \r\n> 2018-02-21 14:52:41 (DEBUG):\tcalculated StochRSI properties for candle:\r\n> 2018-02-21 14:52:41 (DEBUG):\t\t rsi: 72.72727273\r\n> 2018-02-21 14:52:41 (DEBUG):\tStochRSI min:\t\t0.00000000\r\n> 2018-02-21 14:52:41 (DEBUG):\tStochRSI max:\t\t72.72727273\r\n> 2018-02-21 14:52:41 (DEBUG):\tStochRSI Value:\t\t100.00\r\n> 2018-02-21 14:52:41 (DEBUG):\tIn high since 1 candle(s)\r\n> \r\n\r\n* **Actual result** (unexpected outcome)\r\n\r\n> \r\n> 2018-02-21 16:24:02 (DEBUG):\tcalculated StochRSI properties for candle:\r\n> 2018-02-21 16:24:02 (DEBUG):\t\t rsi: 0.00000000\r\n> 2018-02-21 16:24:02 (DEBUG):\tStochRSI min:\t\t0.00000000\r\n> 2018-02-21 16:24:02 (DEBUG):\tStochRSI max:\t\t0.00000000\r\n> 2018-02-21 16:24:02 (DEBUG):\tStochRSI Value:\t\tNaN\r\n> 2018-02-21 16:24:02 (DEBUG):\tIn no trend\r\n\r\nThe issue only seems to happen when I change the candel size in config.js to 5, on 1 it is fine.\r\n\r\n* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)\r\n\r\nIs this normal or have I edited a file wrong?\r\n"}}
{"actor":{"display_login":"askmike"}}