File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
unicorn_binance_websocket_api Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
10
10
[ How to upgrade to the latest version!] ( https://unicorn-binance-websocket-api.docs.lucit.tech/README.html#installation-and-upgrade )
11
11
12
12
## 1.46.0.dev (development stage/unreleased/unstable)
13
+ ### Fixed
14
+ - issue with separation of spot and margin accounts: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/331
13
15
14
16
## 1.46.0
15
17
### Added
Original file line number Diff line number Diff line change 37
37
import logging
38
38
import threading
39
39
import time
40
- from typing import Optional
40
+ from typing import Optional , Union
41
41
42
42
logger = logging .getLogger ("unicorn_binance_websocket_api" )
43
43
@@ -55,7 +55,7 @@ def __init__(self, manager):
55
55
self .api_secret = False
56
56
self .symbol = False
57
57
self .listen_key = False
58
- self .last_static_ping_listen_key : Optional [bool , int ] = False
58
+ self .last_static_ping_listen_key : Optional [Union [ bool , int ] ] = False
59
59
self .listen_key_output = False
60
60
self .threading_lock = threading .Lock ()
61
61
self .restful_base_uri = self .manager .restful_base_uri
@@ -66,7 +66,7 @@ def _init_vars(self,
66
66
api_secret = False ,
67
67
symbol = False ,
68
68
listen_key = False ,
69
- last_static_ping_listen_key : Optional [bool , int ] = False ):
69
+ last_static_ping_listen_key : Optional [Union [ bool , int ] ] = False ):
70
70
"""
71
71
set default values and load values from stream_list
72
72
You can’t perform that action at this time.
0 commit comments