{"action":"created","issue":{"url":"https://api.github.com/repos/CCob/bittrex4j/issues/20","repository_url":"https://api.github.com/repos/CCob/bittrex4j","labels_url":"https://api.github.com/repos/CCob/bittrex4j/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/CCob/bittrex4j/issues/20/comments","events_url":"https://api.github.com/repos/CCob/bittrex4j/issues/20/events","html_url":"https://github.com/CCob/bittrex4j/issues/20","id":316951955,"number":20,"title":"Real time fills","user":{"login":"szd116","id":36382338,"avatar_url":"https://avatars3.githubusercontent.com/u/36382338?v=4","gravatar_id":"","url":"https://api.github.com/users/szd116","html_url":"https://github.com/szd116","followers_url":"https://api.github.com/users/szd116/followers","following_url":"https://api.github.com/users/szd116/following{/other_user}","gists_url":"https://api.github.com/users/szd116/gists{/gist_id}","starred_url":"https://api.github.com/users/szd116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szd116/subscriptions","organizations_url":"https://api.github.com/users/szd116/orgs","repos_url":"https://api.github.com/users/szd116/repos","events_url":"https://api.github.com/users/szd116/events{/privacy}","received_events_url":"https://api.github.com/users/szd116/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-23T19:28:54Z","updated_at":"2018-04-24T08:03:39Z","closed_at":"2018-04-24T08:03:39Z","author_association":"NONE","body":"First of all, thank you for the great project, it makes our life much easier and please keep up the good work!\r\nquick question, Is there a good way to get real time fills for my account ? the example provided on the first page listen to fills across the entire market by the symbol, and then I may have to loop through all the fills to find my order, so is there a good way to listen for fills just for my account ? Thanks. \r\n\r\n\tbittrexExchange.connectToWebSocket(() -> {\r\n\t\t\tbittrexExchange.subscribeToExchangeDeltas(\"BTC-ETH\", null);\r\n\t\t\tbittrexExchange.subscribeToExchangeDeltas(\"BTC-BCC\", null);\r\n\t\t\tbittrexExchange.subscribeToMarketSummaries(null);\r\n\t\t});\r\n\r\n\r\nbittrexExchange.onUpdateExchangeState(updateExchangeState -> {\r\n\t\t\tdouble volume = Arrays.stream(updateExchangeState.getFills()).mapToDouble(Fill::getQuantity).sum();\r\n\t\t\t\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\tString.format(\"N: %d, %02f volume across %d fill(s) for %s\", updateExchangeState.getNounce(),\r\n\t\t\t\t\t\t\tvolume, updateExchangeState.getFills().length, updateExchangeState.getMarketName()));\r\n\t\t});\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CCob/bittrex4j/issues/comments/383840976","html_url":"https://github.com/CCob/bittrex4j/issues/20#issuecomment-383840976","issue_url":"https://api.github.com/repos/CCob/bittrex4j/issues/20","id":383840976,"user":{"login":"CCob","id":3064210,"avatar_url":"https://avatars2.githubusercontent.com/u/3064210?v=4","gravatar_id":"","url":"https://api.github.com/users/CCob","html_url":"https://github.com/CCob","followers_url":"https://api.github.com/users/CCob/followers","following_url":"https://api.github.com/users/CCob/following{/other_user}","gists_url":"https://api.github.com/users/CCob/gists{/gist_id}","starred_url":"https://api.github.com/users/CCob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCob/subscriptions","organizations_url":"https://api.github.com/users/CCob/orgs","repos_url":"https://api.github.com/users/CCob/repos","events_url":"https://api.github.com/users/CCob/events{/privacy}","received_events_url":"https://api.github.com/users/CCob/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T08:03:39Z","updated_at":"2018-04-24T08:03:39Z","author_association":"OWNER","body":"No problem.  I'll close this issue for now.  Aiming to get 1.0.9 released within the next week which will include the new onOrderStateChange and onBalanceStateChange events on the websocket"}}
{"actor":{"display_login":"CCob"}}