binance / binance/binance-toolbox-python
How to enable auto-reconnection?
- Vorherrschende Sprache
- Python
- Sterne
- 110
- Forks
- 22
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100