unicorn-binance-websocket-api 1.32.0 #192
oliver-zehentleitner
started this conversation in
Releases
Replies: 1 comment
-
stream_buffer wiki: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/wiki/%60stream_buffer%60 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.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()
.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/
This discussion was created from the release unicorn-binance-websocket-api.
Beta Was this translation helpful? Give feedback.
All reactions