`stream_buffer_name` vs `stream_label` in `binance_websocket_api_manager.create_stream()`
See original GitHub issueCould anyone explain me the difference between stream_buffer_name
and stream_label
parameters in binance_websocket_api_manager.create_stream()
?
What’s the point of having both parameters instead of only one of them?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
`stream_buffer_name` vs `stream_label` in ... - GitHub
stream_label is the name/label you choose for the stream and can be used with get_stream_id_by_label() and is shown in print_summary() which ...
Read more >Setting up Stream Labels | Streamlabs
Below are some quick easy steps to get started with using stream labels · Open your streaming software and click to add a...
Read more >Streamlabs on Twitter: "@TheQilot Where it says "Label ...
... but when someone follows to doesn't update and say the new followers name ... the label that is supposed to accompany that...
Read more >python/LUCIT-Systems-and-Development/unicorn-binance ...
__init__(self) self.name = "unicorn-binance-websocket-api" self.version ... back to the buffer :type stream_data: raw stream_data or unicorn_fied stream ...
Read more >unicorn-binance-websocket-api - PyPI
Monitor the status of the created BinanceWebSocketApiManager() instance within your code with get_monitoring_status_plain() and specific streams with ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
that depends on the exchange endpoint, i made an overview here: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/wiki/Binance-websocket-endpoint-configuration-overview
stream_label
is the name/label you choose for the stream and can be used withget_stream_id_by_label()
and is shown inprint_summary()
which helps you to identify it in the view and should be unique (one stream, one label)stream_buffer_name
is the name of the buffer you want to use. you can use one buffer for all streams or just one buffer for one stream. for example you can create 2 streams to stream all trades. Since there are more than 1024 trading pairs, not all subscriptions fit into one stream, so you have to create 2 streams: stream_label=“trades_1” and stream_label=“trades_2” but both use stream_buffer_name=“trades”edit: https://oliver-zehentleitner.github.io/unicorn-binance-websocket-api/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.create_stream