We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
#!/usr/bin/env python
import logging import time from binance.lib.utils import config_logging from binance.websocket.spot.websocket_api import SpotWebsocketAPIClient
config_logging(logging, logging.DEBUG)
def on_close(_): logging.info("Do custom stuff when connection is closed")
sample code,error in print(1/0) def message_handler(_, message): logging.info(message) print(1/0)
my_client = SpotWebsocketAPIClient(on_message=message_handler, on_close=on_close)
my_client.aggregate_trades(symbol="BNBBUSD", limit=1, fromId=0)
time.sleep(2)
logging.info("closing ws connection") my_client.stop()
Sorry, something went wrong.
@1163849662 Are you still experiencing this error with the latest version? I tried to replicate it but couldn't.
No branches or pull requests
The text was updated successfully, but these errors were encountered: