Releases: LUCIT-Systems-and-Development/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Added
- Logging websockets version on start up (logging level: INFO)
Changed
print_summary()
"most" to "peak".
Fixed
- More accurate measurement of the received data quantity.
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.33.1/
unicorn-binance-websocket-api
Added
process_stream_signals
callback support issue#160
Changed
self.stream_signal_buffer
is not a list anymore, its changed tocollections.deque()
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.33.0/
unicorn-binance-websocket-api
Now stream_buffer
can be used as FIFO or LIFO stack and its possible to define a max length for it.
Added
clear_stream_buffer()
to delete all items on thestream_buffer
stack.get_stream_buffer_maxlen()
to get the maxlen value of the stack.- Support for
stream_buffer_maxlen
in methods ofBinanceWebSocketApiManager()
class_create_stream_thread()
,print_stream_info()
,__init__()
,_add_stream_to_stream_list()
,_create_stream_thread()
,create_stream()
,replace_stream()
. - Support for FIFO and LIFO in
pop_stream_data_from_stream_buffer(mode="FIFO")
Changed
get_used_weight()
replacesget_binance_api_status()
self.stream_buffer
andself.stream_buffer[xxx]
is not a list anymore, its changed tocollections.deque()
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.32.0/
unicorn-binance-websocket-api
Added
- Added partial support for wss://dstream.binance.com - perpetual coin futures! PR#163 - Thanks to M3tz3l
Changed
- Bump websockets from 8.1 to 9.1 PR#176
Fixed
- Exception Handling listen_key issue#143
- Unsubscribe_from_stream method doesn't handle uppercase symbols while subscribe_to_stream does issue#167
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.31.0/
unicorn-binance-websocket-api
Added
get_event_loop_by_stream_id()
disable_colorama
inBinanceWebSocketApiManager()
: This is needed to make ubwa compatible with SwiftBar
Changed
- The asyncio event loop is now saved to
self.stream_list[stream_id]['event_loop']
- added
delete_listen_key_by_stream_id()
tostop_stream()
issue#161
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.30.0/
unicorn-binance-websocket-api
Added
General Exception
handling instart_socket()
PR#142 thx @gronastech and @lordofserenity- Support for trbinance.com Websockets
Fixed
UnboundLocalError: local variable 'market' referenced before assignment
increate_websocket_uri()
PR#142 thx @gronastech and @lordofserenity
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.29.0/
unicorn-binance-websocket-api
Changed
- the stream signal
DISCONNECT
includeslast_received_data_record
which returns nowNone
if there is no record available
Fixed
- Cannot use
in
with RuntimeError, must convert to string first. PR#136 thx @Bosma
Removed
- Deprecated methods
set_private_api_config()
andget_websocket_uri_length()
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.28.0/
unicorn-binance-websocket-api
Added
timeout=10
toget_result_by_request_id()
:
Wait fortimeout
seconds to receive the requested result or returnFalse
- logging the use of stream_buffer or process_stream_data and the used OS plattform
- individual
max_subscriptions_per_stream
for each endpoint stream_signal_buffer
to receive signals if a stream gets connected or disconnected- 'add_to_stream_signal_buffer()'
- 'pop_stream_signal_from_stream_signal_buffer()'
- Support for stream signals:
CONNECT
,DISCONNECT
,FIRST_RECEIVED_DATA
Changed
- max subscriptions of futures endpoints to 200 issue#127
- max subscriptions of jex endpoint to 10
Fixed
- Added a gracefull shutdown if the Python interpreter dies issue#131
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.27.0/
unicorn-binance-websocket-api
Added
- parameter
ping_interval
,ping_timeout
,close_timeout
tomanager.create_stream()
andreplace_stream()
- show
ping_interval
,ping_timeout
,close_timeout
inprint_stream_info()
manager.set_heartbeat()
toconnection.send()
get_result_by_request_id()
Changed
- log warning about high cpu usage is logged after 5 seconds if > 95%
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.26.0/
unicorn-binance-websocket-api
Added
Changed
get_stream_subscriptions()
returns now the usedrequest_id
instead ofTrue
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.25.0/