{"action":"created","issue":{"url":"https://api.github.com/repos/askmike/gekko/issues/527","repository_url":"https://api.github.com/repos/askmike/gekko","labels_url":"https://api.github.com/repos/askmike/gekko/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/askmike/gekko/issues/527/comments","events_url":"https://api.github.com/repos/askmike/gekko/issues/527/events","html_url":"https://github.com/askmike/gekko/issues/527","id":197299237,"number":527,"title":"Warmup Period","user":{"login":"KryptoNova","id":18106038,"avatar_url":"https://avatars.githubusercontent.com/u/18106038?v=3","gravatar_id":"","url":"https://api.github.com/users/KryptoNova","html_url":"https://github.com/KryptoNova","followers_url":"https://api.github.com/users/KryptoNova/followers","following_url":"https://api.github.com/users/KryptoNova/following{/other_user}","gists_url":"https://api.github.com/users/KryptoNova/gists{/gist_id}","starred_url":"https://api.github.com/users/KryptoNova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KryptoNova/subscriptions","organizations_url":"https://api.github.com/users/KryptoNova/orgs","repos_url":"https://api.github.com/users/KryptoNova/repos","events_url":"https://api.github.com/users/KryptoNova/events{/privacy}","received_events_url":"https://api.github.com/users/KryptoNova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-23T01:29:04Z","updated_at":"2016-12-26T02:36:35Z","closed_at":null,"body":"Hello @askmike  \r\n\r\nI am really struggling with trying to integrate a method to signal to a plugin when the warm up period is completed.  My plan is to use some sort of indicator to be able to signal the trader that the last catch up candle was processed.  \r\n\r\nI think this may be a good way to handle the problem during startup and initial load.  This way when that first load event is fired, it is a guarantee that all the current history has been loaded and that the recent advice that is processed is applicable to the real-time market conditions.  Perhaps using the \"once\" call so that the listener is removed after it is fired so it doesn't risk listening later.\r\n\r\nI was able to modify how candles are processed a bit to use the update in the methods to determine when the last candle in a batch was processed.  However, this required a way to track the last candle in the batch being processed and individual candles are passed to that method.  I also didn't think it was a good idea to change the candle objects, because it is rudimentary to the gekko system and reused everywhere.\r\nI also made a plugin listen to the tick event, but that may fire while the history is processing (if there is a lot).\r\n\r\nIf possible, could you point me to a place in the code where a \"load done\" event would make sense and could be fired so that listeners could take action based on the current trading advice?\r\n\r\nThank you and keep up the great work!\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/askmike/gekko/issues/comments/269150598","html_url":"https://github.com/askmike/gekko/issues/527#issuecomment-269150598","issue_url":"https://api.github.com/repos/askmike/gekko/issues/527","id":269150598,"user":{"login":"KryptoNova","id":18106038,"avatar_url":"https://avatars.githubusercontent.com/u/18106038?v=3","gravatar_id":"","url":"https://api.github.com/users/KryptoNova","html_url":"https://github.com/KryptoNova","followers_url":"https://api.github.com/users/KryptoNova/followers","following_url":"https://api.github.com/users/KryptoNova/following{/other_user}","gists_url":"https://api.github.com/users/KryptoNova/gists{/gist_id}","starred_url":"https://api.github.com/users/KryptoNova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KryptoNova/subscriptions","organizations_url":"https://api.github.com/users/KryptoNova/orgs","repos_url":"https://api.github.com/users/KryptoNova/repos","events_url":"https://api.github.com/users/KryptoNova/events{/privacy}","received_events_url":"https://api.github.com/users/KryptoNova/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T02:36:35Z","updated_at":"2016-12-26T02:36:35Z","body":"Thanks!\r\nThat may be my problem.  I was using the Stable branch.\r\n\r\nI'll do my testing against develop and see if it behaves better.  Comparing the two different branches, I can definately see that the code is much different.\r\n\r\nThanks again and have a Merry Christmas!"}}
{"actor":{"display_login":"KryptoNova"}}