Skip to content

Commit 738687c

Browse files
committed
Locked dependencies version
Adjusted BinanceWebsocket implementation according to websockets changes
1 parent 5cfa6d7 commit 738687c

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

Bot/Exchange/Binance/BinanceWebsocket.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
import asyncio
1212
import websockets
1313
import websockets.exceptions
14+
from websockets import ConnectionClosed, InvalidStatusCode, WebSocketClientProtocol
1415

1516
import os
1617
import os.path
1718

1819
from requests import ConnectionError
1920
from retrying import retry
20-
from websockets import ConnectionClosed, InvalidStatusCode, WebSocketClientProtocol
21-
from websockets.protocol import State
21+
from websockets.connection import State
2222

2323
from Utils.Logger import Logger
2424

requirements.txt

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
python-binance
21
numpy
3-
retrying
4-
boto3
5-
websockets
6-
Flask
7-
flask-restful
8-
flask-cors
9-
flask-jwt-extended
2+
python-binance==1.0.3
3+
retrying==1.3.3
4+
boto3==1.17.62
5+
websockets==9.0.1
6+
Flask==1.1.2
7+
Flask==1.1.2
8+
Flask-Cors==3.0.10
9+
Flask-JWT-Extended==4.2.0
10+
Flask-RESTful==0.3.8

0 commit comments

Comments
 (0)