Skip to content

Commit 076ac08

Browse files
docs examples
1 parent 25d86a4 commit 076ac08

17 files changed

+62
-63
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ with BinanceWebSocketApiManager(process_stream_signals=process_stream_signals) a
231231

232232
## More?
233233

234-
[Discover even more possibilities](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html), [use this script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_stream_everything.py)
234+
[Discover even more possibilities](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html),
235+
[use this script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_stream_everything.py)
235236
to stream everything from "binance.com" or try our [examples](#examples)!
236237

237238
This should be known by everyone using this lib:
@@ -309,7 +310,8 @@ on all exchanges! (Take a look to the max supported subscriptions per stream in
309310

310311
- [UNICORN Binance WebSocket API](https://www.lucit.tech/unicorn-binance-websocket-api.html) respects Binance's API guidelines and protects you from avoidable reconnects and bans.
311312

312-
- Support for multiple private `!userData` streams with different `api_key` and `api_secret`. ([example_multiple_userdata_streams.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_multiple_userdata_streams.py))
313+
- Support for multiple private `!userData` streams with different `api_key` and `api_secret`.
314+
([example_multiple_userdata_streams.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_multiple_userdata_streams.py))
313315

314316
- [Pick up the received data from the `stream_buffer`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html?highlight=get_stream_info#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.pop_stream_data_from_stream_buffer) ([FIFO or LIFO](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/wiki/%60stream_buffer%60)) -
315317
if you can not store your data in cause of a temporary technical issue, you can
@@ -318,9 +320,9 @@ which stores the receives in the RAM till you are able to process the data in th
318320
[Learn more!](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/wiki/%60stream_buffer%60)
319321

320322
- Use separate `stream_buffers` for
321-
[specific streams](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_stream_buffer_extended.py)
323+
[specific streams](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_stream_buffer_extended.py)
322324
or
323-
[users](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_multiple_userdata_streams.py)!
325+
[users](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_multiple_userdata_streams.py)!
324326

325327
- Watch the `stream_signals` to receive `CONNECT`, `FIRST_RECEIVED_DATA`, `DISCONNECT`, `STOP` and
326328
`STREAM_UNREPAIRABLE` signals from your streams! [Learn more!](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/wiki/%60stream_signals%60)
@@ -368,8 +370,8 @@ and specific streams with
368370
- Nice to use with [iPython](https://ipython.org/):
369371
"IPython (Interactive Python) is a command shell for interactive computing that offers introspection,
370372
rich media, shell syntax, tab completion, and history."
371-
([example_interactive_mode.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_interactive_mode.py))
372-
[![iPython](https://raw.githubusercontent.com/lucit-systems-and-development/unicorn-binance-websocket-api/master/images/misc/ipython.png)](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_interactive_mode.py)
373+
([example_interactive_mode.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_interactive_mode.py))
374+
[![iPython](https://raw.githubusercontent.com/lucit-systems-and-development/unicorn-binance-websocket-api/master/images/misc/ipython.png)](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_interactive_mode.py)
373375

374376
- Also, nice to use with the [Jupyter Notebook](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/tree/master/ipynb) :)
375377

@@ -391,7 +393,7 @@ for [ICINGA](https://exchange.icinga.com/LUCIT/check_lucit_collector)/Nagios
391393
Read the [docs](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager)
392394
or this [how to](https://medium.com/@oliverzehentleitner/how-to-connect-to-binance-com-websockets-using-python-via-a-socks5-proxy-3c5a3e063f12)
393395
for more information or try
394-
[example_socks5_proxy.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_socks5_proxy.py).
396+
[example_socks5_proxy.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_socks5_proxy.py).
395397

396398
- Excessively tested on Linux, Mac and Windows on x86, arm32, arm64, ...
397399

@@ -534,7 +536,7 @@ or the [current master branch](https://github.com/LUCIT-Systems-and-Development/
534536
To receive notifications on available updates you can
535537
[![watch](https://raw.githubusercontent.com/lucit-systems-and-development/unicorn-binance-websocket-api/master/images/misc/watch.png)](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/watchers)
536538
the repository on [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api), write your
537-
[own script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_version_of_this_package.py)
539+
[own script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_version_of_this_package.py)
538540
with using
539541
[`is_update_available()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.is_update_availabe)
540542
or you use the

dev/sphinx/source/changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
4141
now on stub files (PYI) will be created in the build process and attached to the packages. The IDEs can automatically
4242
obtain the required information from these.
4343
### Changed
44-
- Replaced all calls of `add_payload_to_stream()` in `manager.py`, `api.py` with `send_with_stream()`
45-
- Calling `set_socket_is_not_ready()` in `sockets.__aexit__()`
44+
- Replaced all calls of `add_payload_to_stream()` in `manager.py`, `api.py` with `send_with_stream()`.
45+
- Calling `set_socket_is_not_ready()` in `sockets.__aexit__()`.
4646
- Consistent use of `stream_list_lock` and replacement of `stream_threading_lock` by `stream_list_lock` in `manager.py`.
4747

4848
## 2.5.0

dev/sphinx/source/readme.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
[![Telegram](https://img.shields.io/badge/community-telegram-41ab8c)](https://t.me/unicorndevs)
2121
[![Gitter](https://img.shields.io/badge/community-gitter-41ab8c)](https://gitter.im/unicorn-binance-suite/unicorn-binance-websocket-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2222
[![Get Free Professional Support](https://img.shields.io/badge/chat-lucit%20support-004166)](https://www.lucit.tech/get-support.html)
23-
[![ChatGPT UNICORN Binance Suite Assistant](https://img.shields.io/badge/chatgpt-%20ubs%20assistant-DA70D6)](https://chat.openai.com/g/g-VjCOjRhCJ-unicorn-binance-suite-assistant)
2423

2524
[![LUCIT-UBWA-Banner](https://raw.githubusercontent.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/master/images/logo/LUCIT-UBWA-Banner-Readme.png)](https://www.lucit.tech/unicorn-binance-websocket-api.html)
2625

@@ -37,9 +36,7 @@ in a simple, fast, flexible, robust and fully-featured way.
3736

3837
Part of '[UNICORN Binance Suite](https://www.lucit.tech/unicorn-binance-suite.html)'.
3938

40-
Get help with the integration of the `UNICORN Binance Suite` modules from the
41-
[`UNICORN Binance Suite Assistant` GPT](https://chat.openai.com/g/g-VjCOjRhCJ-unicorn-binance-suite-assistant) or
42-
[a real human LUCIT employee](https://www.lucit.tech/get-support.html).
39+
[Get help](https://www.lucit.tech/get-support.html) with the integration of the `UNICORN Binance Suite` modules!
4340

4441
## Get a UNICORN Binance Suite License
4542

@@ -234,7 +231,8 @@ with BinanceWebSocketApiManager(process_stream_signals=process_stream_signals) a
234231

235232
## More?
236233

237-
[Discover even more possibilities](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html), [use this script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_stream_everything.py)
234+
[Discover even more possibilities](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html),
235+
[use this script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_stream_everything.py)
238236
to stream everything from "binance.com" or try our [examples](#examples)!
239237

240238
This should be known by everyone using this lib:
@@ -312,7 +310,8 @@ on all exchanges! (Take a look to the max supported subscriptions per stream in
312310

313311
- [UNICORN Binance WebSocket API](https://www.lucit.tech/unicorn-binance-websocket-api.html) respects Binance's API guidelines and protects you from avoidable reconnects and bans.
314312

315-
- Support for multiple private `!userData` streams with different `api_key` and `api_secret`. ([example_multiple_userdata_streams.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_multiple_userdata_streams.py))
313+
- Support for multiple private `!userData` streams with different `api_key` and `api_secret`.
314+
([example_multiple_userdata_streams.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_multiple_userdata_streams.py))
316315

317316
- [Pick up the received data from the `stream_buffer`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html?highlight=get_stream_info#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.pop_stream_data_from_stream_buffer) ([FIFO or LIFO](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/wiki/%60stream_buffer%60)) -
318317
if you can not store your data in cause of a temporary technical issue, you can
@@ -321,9 +320,9 @@ which stores the receives in the RAM till you are able to process the data in th
321320
[Learn more!](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/wiki/%60stream_buffer%60)
322321

323322
- Use separate `stream_buffers` for
324-
[specific streams](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_stream_buffer_extended.py)
323+
[specific streams](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_stream_buffer_extended.py)
325324
or
326-
[users](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_multiple_userdata_streams.py)!
325+
[users](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_multiple_userdata_streams.py)!
327326

328327
- Watch the `stream_signals` to receive `CONNECT`, `FIRST_RECEIVED_DATA`, `DISCONNECT`, `STOP` and
329328
`STREAM_UNREPAIRABLE` signals from your streams! [Learn more!](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/wiki/%60stream_signals%60)
@@ -371,8 +370,8 @@ and specific streams with
371370
- Nice to use with [iPython](https://ipython.org/):
372371
"IPython (Interactive Python) is a command shell for interactive computing that offers introspection,
373372
rich media, shell syntax, tab completion, and history."
374-
([example_interactive_mode.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_interactive_mode.py))
375-
[![iPython](https://raw.githubusercontent.com/lucit-systems-and-development/unicorn-binance-websocket-api/master/images/misc/ipython.png)](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_interactive_mode.py)
373+
([example_interactive_mode.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_interactive_mode.py))
374+
[![iPython](https://raw.githubusercontent.com/lucit-systems-and-development/unicorn-binance-websocket-api/master/images/misc/ipython.png)](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_interactive_mode.py)
376375

377376
- Also, nice to use with the [Jupyter Notebook](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/tree/master/ipynb) :)
378377

@@ -394,7 +393,7 @@ for [ICINGA](https://exchange.icinga.com/LUCIT/check_lucit_collector)/Nagios
394393
Read the [docs](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager)
395394
or this [how to](https://medium.com/@oliverzehentleitner/how-to-connect-to-binance-com-websockets-using-python-via-a-socks5-proxy-3c5a3e063f12)
396395
for more information or try
397-
[example_socks5_proxy.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_socks5_proxy.py).
396+
[example_socks5_proxy.py](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_socks5_proxy.py).
398397

399398
- Excessively tested on Linux, Mac and Windows on x86, arm32, arm64, ...
400399

@@ -537,7 +536,7 @@ or the [current master branch](https://github.com/LUCIT-Systems-and-Development/
537536
To receive notifications on available updates you can
538537
[![watch](https://raw.githubusercontent.com/lucit-systems-and-development/unicorn-binance-websocket-api/master/images/misc/watch.png)](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/watchers)
539538
the repository on [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api), write your
540-
[own script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/example_version_of_this_package.py)
539+
[own script](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/examples/_archive/example_version_of_this_package.py)
541540
with using
542541
[`is_update_available()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.is_update_availabe)
543542
or you use the

docs/_modules/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ <h3>Navigation</h3>
254254
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
255255
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
256256
See <a href="/license.html">License</a> for more information.<br />
257-
Last updated on May 12 2024 at 11:04 (CET).
257+
Last updated on May 13 2024 at 14:28 (CET).
258258
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
259259
<br />
260260
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.

docs/_sources/changelog.md.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
4141
now on stub files (PYI) will be created in the build process and attached to the packages. The IDEs can automatically
4242
obtain the required information from these.
4343
### Changed
44-
- Replaced all calls of `add_payload_to_stream()` in `manager.py`, `api.py` with `send_with_stream()`
45-
- Calling `set_socket_is_not_ready()` in `sockets.__aexit__()`
44+
- Replaced all calls of `add_payload_to_stream()` in `manager.py`, `api.py` with `send_with_stream()`.
45+
- Calling `set_socket_is_not_ready()` in `sockets.__aexit__()`.
4646
- Consistent use of `stream_list_lock` and replacement of `stream_threading_lock` by `stream_list_lock` in `manager.py`.
4747

4848
## 2.5.0

0 commit comments

Comments
 (0)