{"action":"created","issue":{"url":"https://api.github.com/repos/taniman/profit-trailer/issues/1251","repository_url":"https://api.github.com/repos/taniman/profit-trailer","labels_url":"https://api.github.com/repos/taniman/profit-trailer/issues/1251/labels{/name}","comments_url":"https://api.github.com/repos/taniman/profit-trailer/issues/1251/comments","events_url":"https://api.github.com/repos/taniman/profit-trailer/issues/1251/events","html_url":"https://github.com/taniman/profit-trailer/issues/1251","id":299971345,"number":1251,"title":"Implement check for buy strategies for when the actual trigger happened","user":{"login":"ITJusus","id":36611314,"avatar_url":"https://avatars1.githubusercontent.com/u/36611314?v=4","gravatar_id":"","url":"https://api.github.com/users/ITJusus","html_url":"https://github.com/ITJusus","followers_url":"https://api.github.com/users/ITJusus/followers","following_url":"https://api.github.com/users/ITJusus/following{/other_user}","gists_url":"https://api.github.com/users/ITJusus/gists{/gist_id}","starred_url":"https://api.github.com/users/ITJusus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITJusus/subscriptions","organizations_url":"https://api.github.com/users/ITJusus/orgs","repos_url":"https://api.github.com/users/ITJusus/repos","events_url":"https://api.github.com/users/ITJusus/events{/privacy}","received_events_url":"https://api.github.com/users/ITJusus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/taniman/profit-trailer/milestones/24","html_url":"https://github.com/taniman/profit-trailer/milestone/24","labels_url":"https://api.github.com/repos/taniman/profit-trailer/milestones/24/labels","id":2919462,"number":24,"title":"v2.0","description":"","creator":{"login":"taniman","id":6751341,"avatar_url":"https://avatars3.githubusercontent.com/u/6751341?v=4","gravatar_id":"","url":"https://api.github.com/users/taniman","html_url":"https://github.com/taniman","followers_url":"https://api.github.com/users/taniman/followers","following_url":"https://api.github.com/users/taniman/following{/other_user}","gists_url":"https://api.github.com/users/taniman/gists{/gist_id}","starred_url":"https://api.github.com/users/taniman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taniman/subscriptions","organizations_url":"https://api.github.com/users/taniman/orgs","repos_url":"https://api.github.com/users/taniman/repos","events_url":"https://api.github.com/users/taniman/events{/privacy}","received_events_url":"https://api.github.com/users/taniman/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":39,"state":"open","created_at":"2017-11-17T11:03:12Z","updated_at":"2018-03-05T10:39:17Z","due_on":"2018-03-03T08:00:00Z","closed_at":null},"comments":4,"created_at":"2018-02-24T20:45:18Z","updated_at":"2018-03-06T01:03:35Z","closed_at":null,"author_association":"NONE","body":"The Wiki states, for \"Strategy = HIGHBB\", \"Buy **as soon as the current price goes above the HIGHBB** line you specified.\"\r\n\r\nThis is not actually true.  PT will buy \"if\" the current price \"is\" above the HIGHBB...not \"as soon as\" the currently price goes above the HIGHBB.  I've found it will buy even if the price went above the HIGHBB 2 hours ago and is now -150% sky high (150% above HIGHBB line), getting ready to make a massive dip (which I then seem sure to catch a massive loss right when I get in).  I'm exaggerating the % to make the point.\r\n\r\nThe better way would be for PT to actually only buy \"as soon as\" the current price \"goes\" above the HIGHBB, like the Wiki currently inaccurately states.  This way, one can catch such trends only at the beginning (just as the price crosses from 1% below the HIGHBB to 1% above the HIGHBB).  In other words, we need to be able to set a limit (such as the \"BuyValueLimit\") to ensure it does not buy above the HIGHBB any higher than we desire it to.  We just want to catch it when it crosses or very soon thereafter.\r\n\r\nWe don't want to catch the end of a trend or, worse yet, buy-in while the trend is in free fall already (traveling down)...just because the price happens to still be above the HIGHBB line."},"comment":{"url":"https://api.github.com/repos/taniman/profit-trailer/issues/comments/370623621","html_url":"https://github.com/taniman/profit-trailer/issues/1251#issuecomment-370623621","issue_url":"https://api.github.com/repos/taniman/profit-trailer/issues/1251","id":370623621,"user":{"login":"slimgit","id":12411993,"avatar_url":"https://avatars2.githubusercontent.com/u/12411993?v=4","gravatar_id":"","url":"https://api.github.com/users/slimgit","html_url":"https://github.com/slimgit","followers_url":"https://api.github.com/users/slimgit/followers","following_url":"https://api.github.com/users/slimgit/following{/other_user}","gists_url":"https://api.github.com/users/slimgit/gists{/gist_id}","starred_url":"https://api.github.com/users/slimgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimgit/subscriptions","organizations_url":"https://api.github.com/users/slimgit/orgs","repos_url":"https://api.github.com/users/slimgit/repos","events_url":"https://api.github.com/users/slimgit/events{/privacy}","received_events_url":"https://api.github.com/users/slimgit/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T01:03:35Z","updated_at":"2018-03-06T01:03:35Z","author_association":"NONE","body":"ITJusus I see you are using HIGHBB as a buy strategy, how is it working for you?  I have been testing this for a week now, and it works pretty well in catching breakouts, however like you said it might still end up buying a falling coins and end up buying too high.  \r\n\r\nI just want to add it might be a good idea to add buy \"if candle closes price above the set BB line\". Not sure if this is feasible or not.\r\n"}}
{"actor":{"display_login":"slimgit"}}