{"action":"created","issue":{"url":"https://api.github.com/repos/gcarq/freqtrade/issues/533","repository_url":"https://api.github.com/repos/gcarq/freqtrade","labels_url":"https://api.github.com/repos/gcarq/freqtrade/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/gcarq/freqtrade/issues/533/comments","events_url":"https://api.github.com/repos/gcarq/freqtrade/issues/533/events","html_url":"https://github.com/gcarq/freqtrade/issues/533","id":301988331,"number":533,"title":"Picking wrong buy signals (custom strategy)","user":{"login":"suraj-miha","id":5413380,"avatar_url":"https://avatars3.githubusercontent.com/u/5413380?v=4","gravatar_id":"","url":"https://api.github.com/users/suraj-miha","html_url":"https://github.com/suraj-miha","followers_url":"https://api.github.com/users/suraj-miha/followers","following_url":"https://api.github.com/users/suraj-miha/following{/other_user}","gists_url":"https://api.github.com/users/suraj-miha/gists{/gist_id}","starred_url":"https://api.github.com/users/suraj-miha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suraj-miha/subscriptions","organizations_url":"https://api.github.com/users/suraj-miha/orgs","repos_url":"https://api.github.com/users/suraj-miha/repos","events_url":"https://api.github.com/users/suraj-miha/events{/privacy}","received_events_url":"https://api.github.com/users/suraj-miha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-03T10:44:47Z","updated_at":"2018-03-22T06:51:12Z","closed_at":null,"author_association":"NONE","body":"## Environment :\r\n\r\n  * Branch: Develop\r\n \r\n## Step 3: Describe the problem:\r\n*Not picking the buy signal (from strategy) precisely*\r\n  \r\n### Observed Results:\r\n\r\n  * What happened? \r\nSometimes when the bot buys a coin, it does not quite match with the strategy given.\r\nI have observed this several times with bollinger bands and RSI and few other indicators.\r\n  * What did you expect to happen?\r\nBot should follow the strategy and take the buy signal only when it matches with all the parameters.\r\n\r\n### Relevant code exceptions or logs:\r\n\r\n  ```\r\n dataframe.loc[\r\n            (\r\n                (dataframe['rsi'] < 30) &\r\n                (dataframe['fastd'] < 25) &\r\n                (dataframe['adx'] > 35) &\r\n                (dataframe['bb_lowerband'] > dataframe['close'])\r\n            ) ,\r\n            'buy'] = 1\r\n  ```\r\n\r\nIn above case bot should buy only if all the conditions are true whereas sometimes it buys when RSI is way higher than 30 and candle's 'close' value is greater than bollinger's lower band. I have also noticed this behavior with other indicators. Am I missing something here?\r\n"},"comment":{"url":"https://api.github.com/repos/gcarq/freqtrade/issues/comments/375197198","html_url":"https://github.com/gcarq/freqtrade/issues/533#issuecomment-375197198","issue_url":"https://api.github.com/repos/gcarq/freqtrade/issues/533","id":375197198,"user":{"login":"dpblnt","id":13944122,"avatar_url":"https://avatars1.githubusercontent.com/u/13944122?v=4","gravatar_id":"","url":"https://api.github.com/users/dpblnt","html_url":"https://github.com/dpblnt","followers_url":"https://api.github.com/users/dpblnt/followers","following_url":"https://api.github.com/users/dpblnt/following{/other_user}","gists_url":"https://api.github.com/users/dpblnt/gists{/gist_id}","starred_url":"https://api.github.com/users/dpblnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpblnt/subscriptions","organizations_url":"https://api.github.com/users/dpblnt/orgs","repos_url":"https://api.github.com/users/dpblnt/repos","events_url":"https://api.github.com/users/dpblnt/events{/privacy}","received_events_url":"https://api.github.com/users/dpblnt/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T06:51:12Z","updated_at":"2018-03-22T06:51:12Z","author_association":"NONE","body":"Yes, that would be very nice. I don't know how to do that. \r\nI could'n find that debug mode, so I'm printing the dataframe values in from the strategy into a log file and analyse it by hand."}}
{"actor":{"display_login":"dpblnt"}}