{"action":"created","issue":{"url":"https://api.github.com/repos/sammchardy/python-binance/issues/278","repository_url":"https://api.github.com/repos/sammchardy/python-binance","labels_url":"https://api.github.com/repos/sammchardy/python-binance/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/sammchardy/python-binance/issues/278/comments","events_url":"https://api.github.com/repos/sammchardy/python-binance/issues/278/events","html_url":"https://github.com/sammchardy/python-binance/issues/278","id":321980874,"node_id":"MDU6SXNzdWUzMjE5ODA4NzQ=","number":278,"title":"Local Orderbook stream not filtered","user":{"login":"snapo","id":6347922,"node_id":"MDQ6VXNlcjYzNDc5MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6347922?v=4","gravatar_id":"","url":"https://api.github.com/users/snapo","html_url":"https://github.com/snapo","followers_url":"https://api.github.com/users/snapo/followers","following_url":"https://api.github.com/users/snapo/following{/other_user}","gists_url":"https://api.github.com/users/snapo/gists{/gist_id}","starred_url":"https://api.github.com/users/snapo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapo/subscriptions","organizations_url":"https://api.github.com/users/snapo/orgs","repos_url":"https://api.github.com/users/snapo/repos","events_url":"https://api.github.com/users/snapo/events{/privacy}","received_events_url":"https://api.github.com/users/snapo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-10T15:46:51Z","updated_at":"2018-06-27T00:43:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\ni have a issue with the orderbook depth manager....\r\nSometimes the websocket sends back strange information (looks to me like a issue of the binance api).\r\n\r\n```\r\n\t'BTCUSDT': {\r\n\t\t'asks': [\r\n\t\t\t[9352.79, 0.078355],\r\n\t\t\t[9366.53, 1.5],\r\n\t\t\t[9381.74, 0.249005],\r\n\t\t\t[9381.77, 5.039961],\r\n\t\t\t[9381.78, 0.631389],\r\n\t\t\t[9382.0, 3.443503],\r\n\t\t\t[9382.42, 0.345733],\r\n\t\t\t[9382.99, 0.026],\r\n\t\t\t[9383.0, 0.009923],\r\n\t\t\t[9383.99, 3.0],\r\n\t\t\t[9384.0, 0.075032],\r\n\t\t\t[9384.04, 0.002],\r\n\t\t\t[9384.89, 0.008],\r\n\t\t\t[9385.0, 0.446053],\r\n\t\t\t[9385.75, 0.006716],\r\n\t\t\t[9385.87, 0.00516],\r\n\t\t\t[9386.73, 0.480158],\r\n\t\t\t[9387.43, 0.063918], w�� w��\u0003񂈠񂈠 鸾\u0002\b w�� w�� 0.0213\r\n\t\t],\r\n\t\t[9389.86, 0.819201],\r\n\t\t[9389.94, 0.040172],\r\n\t\t[9389.99, 0.019026],\r\n\t\t[9390.0, 2.820718],\r\n\t\t[9390.07, 0.049134],\r\n\t\t[9390.25, 0.002699],\r\n```\r\n\r\nas you can see this destroys the orderbook completly. I can ensure its not a fault of my side as this message comes from binance. Is it / would it be possible to filter out messages contain this information before parsing it in the local orderbook manager?\r\n\r\nif yes where would i have to do that?\r\n\r\nI am not yet sure where the error comes exactly from but a first guess is btcusdt@depth , i also only see this error on the ask side, it never did appear on the sell side.\r\n\r\nThanks already for a input how i should solve this issue."},"comment":{"url":"https://api.github.com/repos/sammchardy/python-binance/issues/comments/400507128","html_url":"https://github.com/sammchardy/python-binance/issues/278#issuecomment-400507128","issue_url":"https://api.github.com/repos/sammchardy/python-binance/issues/278","id":400507128,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDUwNzEyOA==","user":{"login":"jmcnab57","id":15741311,"node_id":"MDQ6VXNlcjE1NzQxMzEx","avatar_url":"https://avatars2.githubusercontent.com/u/15741311?v=4","gravatar_id":"","url":"https://api.github.com/users/jmcnab57","html_url":"https://github.com/jmcnab57","followers_url":"https://api.github.com/users/jmcnab57/followers","following_url":"https://api.github.com/users/jmcnab57/following{/other_user}","gists_url":"https://api.github.com/users/jmcnab57/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcnab57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcnab57/subscriptions","organizations_url":"https://api.github.com/users/jmcnab57/orgs","repos_url":"https://api.github.com/users/jmcnab57/repos","events_url":"https://api.github.com/users/jmcnab57/events{/privacy}","received_events_url":"https://api.github.com/users/jmcnab57/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T00:43:15Z","updated_at":"2018-06-27T00:43:15Z","author_association":"NONE","body":"Hey @snapo just check if you're still experiencing this issue? I'd like to help as much as possible."}}
{"actor":{"display_login":"jmcnab57"}}