Skip to content
New issue

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

Order not placed on slave #22

Open
lucky-ali opened this issue Jul 22, 2020 · 10 comments
Open

Order not placed on slave #22

lucky-ali opened this issue Jul 22, 2020 · 10 comments

Comments

@lucky-ali
Copy link

I am unable to place orders on the salve account. I am using the master branch and the trade pair used is RENUSDT

Config and Command prompt window
image

Pair used RENUSDT (Limit order placed via binance.com on master account)
image

Slave account - No Limit order replicated.

image

@mokolotron
Copy link
Contributor

mokolotron commented Jul 22, 2020

To begin with, I see in the screenshot that only the server started, but the copying program did not start. You may have forgotten to press the run button.
When the program is fully launched you will see message: Using web socket at the end.
image

Secondly, I forgot to warn that the pairs that the program will copy will only be in the config_files/symbols.csv file. To add RENUSDT, you need to add the name of this trading pair to the end of the file.
So after that the file will look like :

ETHUSDT
BTCUSDT
ETHBTC
LTCBTC
RENUSDT

I didn’t include all the pairs because I couldn’t find a way to easily split the name of that pair into two names of two coins. Therefore, now you can only use trading pairs in which the first coin name consists of 3 characters. If you have any idea how to fix this then the function for splitting is located in ExchangeInterfaces/Exchange.py in get_trading_symbols() function

@lucky-ali
Copy link
Author

Thanks, I clicked on the run button and i see the following now.

image

I have added RENUSDT to the symbols.csv file i thought since RENUSDT was already in symbols2.csv it will be picked up automatically.

@mokolotron
Copy link
Contributor

It happens when to use ony 1 slave account. You may use 2 or more slave accounts (Issue #8 )
It was fixed in develop branch.

@djcrawleravp
Copy link

Same problem using 2 slaves here
Screen Shot 2020-07-27 at 19 47 59

@mokolotron
Copy link
Contributor

@djcrawleravp make sure that you use python 3.7 link

@djcrawleravp
Copy link

Python 3.7 Installed, do i have to install flask again?

How can i install it on python3.7?

Screen Shot 2020-07-29 at 12 07 42

@djcrawleravp
Copy link

I have installed Flask but the message stills when trying to launch the bot using python3.7

@mokolotron
Copy link
Contributor

message that need to install flask or previus message module 'asyncio' has no attribute 'run'?

@codemasterlike
Copy link

Hi Mokolotron and all, i have error of "AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'" and not open trade on slaves
Appreciate your help to advise or guide me, please.
FYI, please. I use develop branch and already include the pair in symbols.csv, symbols2.csv, symbols3.csv, symbols4.csv

Thanks
:
alopc@alopc:~/copytrade/copytrade_dev$ python3 api.py

  • Serving Flask app "api" (lazy loading)
  • Environment: production
    WARNING: Do not use the development server in a production environment.
    Use a production WSGI server instead.
  • Debug mode: on
  • Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 250-118-210

Application started...

Reading configuration file...
2 Slave accounts detected

Get Master Orders...
'[]'
Opening Slave Accounts...

Opening Slave Account #0 ...

Get Slave Orders...
[]

Opening Slave Account #1 ...

Get Slave Orders...
[]

Will start copying from now...please place a new order

Open Master Orders are 0 ...
127.0.0.1 - - [04/Dec/2020 17:27:55] "GET /run HTTP/1.1" 302 -
Using web socket
127.0.0.1 - - [04/Dec/2020 17:27:55] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [04/Dec/2020 17:29:58] "GET / HTTP/1.1" 200 -
{'e': 'executionReport', 'E': 1607074758951, 's': 'CREAMBNB', 'c': 'LpDiehaWYwwMXLdK08WUkG', 'S': 'SELL', 'o': 'LIMIT', 'f': 'GTC', 'q': '0.81000000', 'p': '2.46420000', 'P': '0.00000000', 'F': '0.00000000', 'g': -1, 'C': '', 'x': 'NEW', 'X': 'NEW', 'r': 'NONE', 'i': 13626870, 'l': '0.00000000', 'z': '0.00000000', 'L': '0.00000000', 'n': '0', 'N': None, 'T': 1607074758949, 't': -1, 'I': 27463130, 'w': True, 'm': False, 'M': False, 'O': 1607074758949, 'Z': '0.00000000', 'Y': '0.00000000', 'Q': '0.00000000'}
{'e': 'outboundAccountInfo', 'E': 1607074758951, 'm': 10, 't': 10, 'b': 0, 's': 0, 'T': True, 'W': True, 'D': True, 'u': 1607074758949, 'B': [{'a': 'BNB', 'f': '17.85797932', 'l': '0.00000000'}, {'a': 'BCH', 'f': '0.19500000', 'l': '0.00000000'}, {'a': 'BAL', 'f': '3.66000000', 'l': '0.00000000'}, {'a': 'NMR', 'f': '0.08000000', 'l': '0.00000000'}, {'a': 'EGLD', 'f': '5.07000000', 'l': '0.00000000'}, {'a': 'CREAM', 'f': '0.00000000', 'l': '0.81000000'}, {'a': 'FIL', 'f': '1.90000000', 'l': '0.00000000'}], 'P': ['SPOT']}
Unhandled Error
Traceback (most recent call last):
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
--- ---
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 243, in doRead
return self._dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 330, in dataReceived
self._flushReceiveBIO()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 295, in _flushReceiveBIO
ProtocolWrapper.dataReceived(self, bytes)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 290, in dataReceived
self._dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1206, in _dataReceived
self.consumeData()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1218, in consumeData
while self.processData() and self.state != WebSocketProtocol.STATE_CLOSED:
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1578, in processData
fr = self.onFrameEnd()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1703, in onFrameEnd
self._onMessageEnd()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 318, in _onMessageEnd
self.onMessageEnd()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 627, in onMessageEnd
self._onMessage(payload, self.message_is_binary)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 321, in _onMessage
self.onMessage(payload, isBinary)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 32, in onMessage
self.factory.callback(payload_obj)
File "/home/alopc/copytrade/copytrade_dev/SlaveContainer.py", line 40, in on_event_handler
p_event = self.master.process_event(event)
File "/home/alopc/copytrade/copytrade_dev/ExchangeInterfaces/BinanceExchange.py", line 126, in process_event
self.get_part(order_event['s'], order_event['q'], order_event['p'], order_event['S']),
File "/home/alopc/copytrade/copytrade_dev/ExchangeInterfaces/BinanceExchange.py", line 193, in get_part
balance = float(get_context_balance(symbol)['free'])
File "/home/alopc/copytrade/copytrade_dev/ExchangeInterfaces/BinanceExchange.py", line 180, in _get_balance_coin_by_symbol
return list(filter(lambda el: el['asset'] == symbol[:3], self.get_balance()))[0]
builtins.IndexError: list index out of range

Unhandled Error
Traceback (most recent call last):
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 586, in run
reactor.run(installSignalHandlers=False)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/base.py", line 1283, in run
self.mainLoop()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/base.py", line 1295, in mainLoop
self.doIteration(t)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/epollreactor.py", line 235, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- ---
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/posixbase.py", line 258, in _disconnectSelectable
selectable.connectionLost(failure.Failure(why))
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 519, in connectionLost
self._commonConnection.connectionLost(self, reason)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 327, in connectionLost
protocol.connectionLost(reason)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 398, in connectionLost
self._flushReceiveBIO()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 295, in _flushReceiveBIO
ProtocolWrapper.dataReceived(self, bytes)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 290, in dataReceived
self._dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1206, in _dataReceived
self.consumeData()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1218, in consumeData
while self.processData() and self.state != WebSocketProtocol.STATE_CLOSED:
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1570, in processData
fr = self.onFrameData(payload)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1665, in onFrameData
self._onMessageFrameData(payload)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 309, in _onMessageFrameData
self.onMessageFrameData(payload)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 601, in onMessageFrameData
self.frame_data.append(payload)
builtins.AttributeError: 'NoneType' object has no attribute 'append'

{'e': 'executionReport', 'E': 1607074758951, 's': 'CREAMBNB', 'c': 'LpDiehaWYwwMXLdK08WUkG', 'S': 'SELL', 'o': 'LIMIT', 'f': 'GTC', 'q': '0.81000000', 'p': '2.46420000', 'P': '0.00000000', 'F': '0.00000000', 'g': -1, 'C': '', 'x': 'NEW', 'X': 'NEW', 'r': 'NONE', 'i': 13626870, 'l': '0.00000000', 'z': '0.00000000', 'L': '0.00000000', 'n': '0', 'N': None, 'T': 1607074758949, 't': -1, 'I': 27463130, 'w': True, 'm': False, 'M': False, 'O': 1607074758949, 'Z': '0.00000000', 'Y': '0.00000000', 'Q': '0.00000000'}
{'e': 'outboundAccountInfo', 'E': 1607074758951, 'm': 10, 't': 10, 'b': 0, 's': 0, 'T': True, 'W': True, 'D': True, 'u': 1607074758949, 'B': [{'a': 'BNB', 'f': '17.85797932', 'l': '0.00000000'}, {'a': 'BCH', 'f': '0.19500000', 'l': '0.00000000'}, {'a': 'BAL', 'f': '3.66000000', 'l': '0.00000000'}, {'a': 'NMR', 'f': '0.08000000', 'l': '0.00000000'}, {'a': 'EGLD', 'f': '5.07000000', 'l': '0.00000000'}, {'a': 'CREAM', 'f': '0.00000000', 'l': '0.81000000'}, {'a': 'FIL', 'f': '1.90000000', 'l': '0.00000000'}], 'P': ['SPOT']}
Unhandled Error
Traceback (most recent call last):
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
--- ---
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 243, in doRead
return self._dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 330, in dataReceived
self._flushReceiveBIO()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 295, in _flushReceiveBIO
ProtocolWrapper.dataReceived(self, bytes)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 290, in dataReceived
self._dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1206, in _dataReceived
self.consumeData()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1218, in consumeData
while self.processData() and self.state != WebSocketProtocol.STATE_CLOSED:
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1578, in processData
fr = self.onFrameEnd()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1703, in onFrameEnd
self._onMessageEnd()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 318, in _onMessageEnd
self.onMessageEnd()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 627, in onMessageEnd
self._onMessage(payload, self.message_is_binary)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 321, in _onMessage
self.onMessage(payload, isBinary)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 32, in onMessage
self.factory.callback(payload_obj)
File "/home/alopc/copytrade/copytrade_dev/SlaveContainer.py", line 40, in on_event_handler
p_event = self.master.process_event(event)
File "/home/alopc/copytrade/copytrade_dev/ExchangeInterfaces/BinanceExchange.py", line 126, in process_event
self.get_part(order_event['s'], order_event['q'], order_event['p'], order_event['S']),
File "/home/alopc/copytrade/copytrade_dev/ExchangeInterfaces/BinanceExchange.py", line 193, in get_part
balance = float(get_context_balance(symbol)['free'])
File "/home/alopc/copytrade/copytrade_dev/ExchangeInterfaces/BinanceExchange.py", line 180, in _get_balance_coin_by_symbol
return list(filter(lambda el: el['asset'] == symbol[:3], self.get_balance()))[0]
builtins.IndexError: list index out of range

Unhandled Error
Traceback (most recent call last):
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 586, in run
reactor.run(installSignalHandlers=False)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/base.py", line 1283, in run
self.mainLoop()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/base.py", line 1295, in mainLoop
self.doIteration(t)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/epollreactor.py", line 235, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- ---
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/posixbase.py", line 258, in _disconnectSelectable
selectable.connectionLost(failure.Failure(why))
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 519, in connectionLost
self._commonConnection.connectionLost(self, reason)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/internet/tcp.py", line 327, in connectionLost
protocol.connectionLost(reason)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 398, in connectionLost
self._flushReceiveBIO()
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/tls.py", line 295, in _flushReceiveBIO
ProtocolWrapper.dataReceived(self, bytes)
File "/home/alopc/.local/lib/python3.8/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 290, in dataReceived
self._dataReceived(data)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1206, in _dataReceived
self.consumeData()
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1218, in consumeData
while self.processData() and self.state != WebSocketProtocol.STATE_CLOSED:
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1570, in processData
fr = self.onFrameData(payload)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 1665, in onFrameData
self._onMessageFrameData(payload)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/twisted/websocket.py", line 309, in _onMessageFrameData
self.onMessageFrameData(payload)
File "/home/alopc/.local/lib/python3.8/site-packages/autobahn/websocket/protocol.py", line 601, in onMessageFrameData
self.frame_data.append(payload)
builtins.AttributeError: 'NoneType' object has no attribute 'append'

Exception in thread Thread-19:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 544, in _keepalive_account_socket
callback = self._user_callback
AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 544, in _keepalive_account_socket
callback = self._user_callback
AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'
Exception in thread Thread-24:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 544, in _keepalive_account_socket
callback = self._user_callback
AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'
Exception in thread Thread-46:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 544, in _keepalive_account_socket
callback = self._user_callback
AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'
Exception in thread Thread-48:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 544, in _keepalive_account_socket
callback = self._user_callback
AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'
Exception in thread Thread-51:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/home/alopc/.local/lib/python3.8/site-packages/binance/websockets.py", line 544, in _keepalive_account_socket
callback = self._user_callback
AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'

@mokolotron
Copy link
Contributor

Hello. Try to use master branch. Currently develop chages already commited into master and also fixed some bugs.

Repository owner deleted a comment from katsavav Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants