Open oliver-zehentleitner opened 3 years ago
Request: User's Position
<listenKey>@position
Hi, any updates?
any updates?
No :/
What's the exact problem here @oliver-zehentleitner with the listenkey handling?
Its not a problem, its just not the same as the other private channels.
Now there are 3 types, the handling has to get extended.
I tested a little and by just changing the futures websocket baseurl to dstream
and the enpoint to dapi
I can receive the update events just like with USDT margined futures. The new streams are just optional. For me personally, this would be enough for now and should only be small effort. I could open a PR for that if you agree.
One can then receive all market data streams and update events via user data stream and extend with support for user data requests later.
@M3tz3l yes that would be great! could you please also provide an example file with tests what is working and what not?
Docs: https://binance-docs.github.io/apidocs/delivery/en/#websocket-market-streams
For example "btcusd_200925@depth" or "btcusd_200925@aggTrade" does a subscription to it work?
@oliver-zehentleitner done
could you provide a list of what is not covered from you PR? So we know what we have to finish later.
There is also a testnet: wss://dstream.binancefuture.com'
What is missing are the websocket user data requests and coin-m futures testnet support. Would it make sense to create separate issues?
Cool, the public streams are all supported? Generated payloads are all working?
I think one thread/issue is enough.
Any thought on the coin-m futures websocket user data requests and the testnet support?
does the stream 'aggTrade' seem to work for anyone?
I tried this from the example ".create_stream(['aggTrade'], {'btcusd_perp', 'ethusd_perp', 'bnbusd_perp'})" together with "BinanceWebSocketApiManager(exchange="binance.com-coin-futures")"
but have never gotten back any valid response from the stream buffer.
Here's a supported example you can try.
Thanks for the example but I've run it, commented out all the lines after "aggTrade" and this is my output:
@Indiana3714 I recommend starting a new issue! This topic does not have anything to do with adding the new endpoints :)
And I would need the infos that we ask on a new bug report.... for example: which websockets version do you use and which ubwa version?
@Indiana3714 I recommend starting a new issue! This topic does not have anything to do with adding the new endpoints :)
And I would need the infos that we ask on a new bug report.... for example: which websockets version do you use and which ubwa version?
Okay thanks oliver, I've made one here https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/208
The base endpoint is: wss://dstream.binance.com
https://binance-docs.github.io/apidocs/delivery/en/#change-log
Special handling for userData streams