Skip to content

How to pop_stream_data_from_stream_buffer from a specific stream puffer ? #295

Discussion options

You must be logged in to vote

Its pretty easy (docs):

ubwa.create_stream(channel, markets, stream_buffer_name="buffer_1")
oldest_stream_data_from_stream_buffer = ubwa.pop_stream_data_from_stream_buffer("buffer_1")

Here is an example file:
https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_stream_buffer_extended.py

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@VietnameseRick
Comment options

Answer selected by VietnameseRick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants