How to enable auto-reconnection?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start with the SpotWebsocketStreamClient entry point and the diff_book_depth call shown in the issue. Determine the expected reconnection behavior for the websocket stream, then verify that the client reconnects after a disconnection and continues delivering updates.
Written by the indexing model from the issue text.
Description
Hi Team,
Is it possible to enable the auto-reconnection functionality in the following function? Can we please have that functionality?
async def listen_ws():
"""
Listens to the ws to get the updates messages.
"""
ws_client = SpotWebsocketStreamClient(stream_url=stream_url, on_message=message_handler)
ws_client.diff_book_depth(
symbol=symbol.lower(),
id=1,
speed=1000
)
Regards
PYQ
- Dominant language
- Python
- Stars
- 110
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from binance/binance-toolbox-python
-
Difficulty 4/5 3-5 days Newbie friendliness 18/100
All issues in binance/binance-toolbox-python
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·