{"action":"created","issue":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/56","repository_url":"https://api.github.com/repos/ccxt/ccxt","labels_url":"https://api.github.com/repos/ccxt/ccxt/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/ccxt/ccxt/issues/56/comments","events_url":"https://api.github.com/repos/ccxt/ccxt/issues/56/events","html_url":"https://github.com/ccxt/ccxt/issues/56","id":245602729,"node_id":"MDU6SXNzdWUyNDU2MDI3Mjk=","number":56,"title":"Streaming: Balances (WS, Websocket support)","user":{"login":"cklester","id":3771635,"node_id":"MDQ6VXNlcjM3NzE2MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/3771635?v=4","gravatar_id":"","url":"https://api.github.com/users/cklester","html_url":"https://github.com/cklester","followers_url":"https://api.github.com/users/cklester/followers","following_url":"https://api.github.com/users/cklester/following{/other_user}","gists_url":"https://api.github.com/users/cklester/gists{/gist_id}","starred_url":"https://api.github.com/users/cklester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklester/subscriptions","organizations_url":"https://api.github.com/users/cklester/orgs","repos_url":"https://api.github.com/users/cklester/repos","events_url":"https://api.github.com/users/cklester/events{/privacy}","received_events_url":"https://api.github.com/users/cklester/received_events","type":"User","site_admin":false},"labels":[{"id":604886966,"node_id":"MDU6TGFiZWw2MDQ4ODY5NjY=","url":"https://api.github.com/repos/ccxt/ccxt/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"kroitor","id":1294454,"node_id":"MDQ6VXNlcjEyOTQ0NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1294454?v=4","gravatar_id":"","url":"https://api.github.com/users/kroitor","html_url":"https://github.com/kroitor","followers_url":"https://api.github.com/users/kroitor/followers","following_url":"https://api.github.com/users/kroitor/following{/other_user}","gists_url":"https://api.github.com/users/kroitor/gists{/gist_id}","starred_url":"https://api.github.com/users/kroitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroitor/subscriptions","organizations_url":"https://api.github.com/users/kroitor/orgs","repos_url":"https://api.github.com/users/kroitor/repos","events_url":"https://api.github.com/users/kroitor/events{/privacy}","received_events_url":"https://api.github.com/users/kroitor/received_events","type":"User","site_admin":false},"assignees":[{"login":"kroitor","id":1294454,"node_id":"MDQ6VXNlcjEyOTQ0NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1294454?v=4","gravatar_id":"","url":"https://api.github.com/users/kroitor","html_url":"https://github.com/kroitor","followers_url":"https://api.github.com/users/kroitor/followers","following_url":"https://api.github.com/users/kroitor/following{/other_user}","gists_url":"https://api.github.com/users/kroitor/gists{/gist_id}","starred_url":"https://api.github.com/users/kroitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroitor/subscriptions","organizations_url":"https://api.github.com/users/kroitor/orgs","repos_url":"https://api.github.com/users/kroitor/repos","events_url":"https://api.github.com/users/kroitor/events{/privacy}","received_events_url":"https://api.github.com/users/kroitor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":92,"created_at":"2017-07-26T04:25:30Z","updated_at":"2018-06-27T09:14:49Z","closed_at":null,"author_association":"NONE","body":"I would like to see a new market property called balances, that would function the same way as symbols. When you call fetchBalances(), then the balances property would get filled with an associative array of currencies with balances (free, used, total, available, etc.).\r\n\r\nBalances would also be updated via websocket (when available) or by repeated calls to the API, depending on rate limits.\r\n\r\nUltimately, we could do something like:\r\n\r\n```\r\nkraken.fetchBalances();\r\nlet myAvailableBTC = kraken.balance.available['BTC'];\r\nlet myTotalBTC = kraken.balance.total['BTC'];\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/comments/400602150","html_url":"https://github.com/ccxt/ccxt/issues/56#issuecomment-400602150","issue_url":"https://api.github.com/repos/ccxt/ccxt/issues/56","id":400602150,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDYwMjE1MA==","user":{"login":"imhazige","id":4122902,"node_id":"MDQ6VXNlcjQxMjI5MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/4122902?v=4","gravatar_id":"","url":"https://api.github.com/users/imhazige","html_url":"https://github.com/imhazige","followers_url":"https://api.github.com/users/imhazige/followers","following_url":"https://api.github.com/users/imhazige/following{/other_user}","gists_url":"https://api.github.com/users/imhazige/gists{/gist_id}","starred_url":"https://api.github.com/users/imhazige/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imhazige/subscriptions","organizations_url":"https://api.github.com/users/imhazige/orgs","repos_url":"https://api.github.com/users/imhazige/repos","events_url":"https://api.github.com/users/imhazige/events{/privacy}","received_events_url":"https://api.github.com/users/imhazige/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T09:14:49Z","updated_at":"2018-06-27T09:14:49Z","author_association":"NONE","body":"@lfern \r\n\r\nI want to add the okex websocket feature, is there any develop guide for the implementation?"}}
{"actor":{"display_login":"imhazige"}}