binance-connector-python icon indicating copy to clipboard operation
binance-connector-python copied to clipboard

a simple connector to Binance Public API

Results 38 binance-connector-python issues
Sort by recently updated
recently updated
newest added

### Issue subject - This error will appear at random time points, and it does not mean that the program cannot run normally. It may occur after 1 day or...

This happened once when i instantiated SpotWebsocketStreamClient, it raised that was never captured, i will show the code: ``` def _load_websocket_client(self): stream_url_1 = 'wss://stream.binance.com:9443' stream_url_2 = 'wss://stream.binance.com:443' c = 0...

Using latest version (Nov 2023), I'm trying to start kline streams on 100 symbols, but I get SSL error How can I safely achieve that? ```python from binance.websocket.spot.websocket_api import SpotWebsocketAPIClient...

### Issue subject The Program hangs when disconnected from the network midway. ### Expected behaviour The `on_error` handler should throw a connection error exception. ### Actual behaviour The Program hangs...

reviewing

When I subscribe to userdata, since my account information doesn't change very often, the following warning appears and the TCP is dropped by the server. What can I do to...

![image](https://user-images.githubusercontent.com/64328109/220153878-adf1ff13-debf-42d4-b25d-0e77169bd74d.png)

reviewing

If you stop and delete SpotWebsocketClient object - it can still be in memory without calling the destructor. One reference to object will be in twisted.internet.selectreactor.SelectReactor object Steps to reproduce:...

reviewing

1. install new binance-connector-python(3.7.0) 2. install binance-futures-connector(4.0.0) 3. Run below code: `from binance.websocket.spot.websocket_api import SpotWebsocketAPIClient def message_handler(_, message): logging.info(message) proxies = { 'http': 'http://1.2.3.4:8080' } my_client = SpotWebsocketAPIClient(on_message=message_handler, proxies=proxies, timeout=10)...

Before submitting a new issue, please check if a similar issue has already been filed. ### Issue subject Briefly describe the issue here. pparams = { 'symbol': COIN, 'side': 'BUY',...

### book_ticker多条订阅异常 直接使用book_ticker函数进行订阅,6条订阅以上就会发生异常,报CLOSE frame received, closing websocket connection。 my_client = SpotWebsocketStreamClient(on_message=message_handler) my_client.book_ticker(symbol="btcusdt") my_client.book_ticker(symbol="ethusdt") my_client.book_ticker(symbol="bnbusdt") …… ### subscribe组合订阅异常 my_client.subscribe(stream=['btcusdt@bookTicker','ethusdt@bookTicker','bnbusdt@bookTicker',......]) def message_handler(_, message): print(message) 当8条以上订阅时 'a','b'价格更新慢,不准 2024-05-24 19:36:39 3466 {'u': 47341739062, 'a':...