Skip to content

Commit beffb65

Browse files
release 2.6.1
1 parent 74e92eb commit beffb65

29 files changed

+1958
-1929
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
generate_release_notes: true
9191
name: unicorn-binance-websocket-api
9292
prerelease: false
93-
tag_name: 2.6.0
93+
tag_name: 2.6.1
9494
token: ${{ secrets.GITHUB_TOKEN }}
9595

9696
- name: Create PyPi Release

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99

1010
[How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade)
1111

12-
## 2.6.0.dev (development stage/unreleased/unstable)
12+
## 2.6.1.dev (development stage/unreleased/unstable)
13+
14+
## 2.6.1
1315
### Added
1416
- `print_summary()` and `print_stream_info()` now display `binance_api_status_code` in color! Green at 200 otherwise red.
1517
### Changed
1618
- Typing of `create_stream()` parameters
1719
### Fixed
18-
- Type of parameter `stream_label` in `manager.get_stream_id_by_label()`
20+
- Type of parameter `stream_label` in `get_stream_id_by_label()`
1921

2022
## 2.6.0
2123
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,10 +484,10 @@ Run in bash:
484484
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade`
485485

486486
#### Windows
487-
Use the below command with the version (such as 2.6.0) you determined
487+
Use the below command with the version (such as 2.6.1) you determined
488488
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):
489489

490-
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.6.0.tar.gz --upgrade`
490+
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.6.1.tar.gz --upgrade`
491491
### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)
492492
This is not a release version and can not be considered to be stable!
493493

dev/set_version_config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2.6.0
1+
2.6.1
22
meta.yaml,pyproject.toml,setup.py,README.md,.github/workflows/build_wheels.yml,dev/sphinx/source/conf.py,unicorn_binance_websocket_api/manager.py

dev/sphinx/source/changelog.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99

1010
[How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade)
1111

12-
## 2.6.0.dev (development stage/unreleased/unstable)
12+
## 2.6.1.dev (development stage/unreleased/unstable)
13+
14+
## 2.6.1
1315
### Added
1416
- `print_summary()` and `print_stream_info()` now display `binance_api_status_code` in color! Green at 200 otherwise red.
17+
### Changed
18+
- Typing of `create_stream()` parameters
1519
### Fixed
16-
- Type of parameter `stream_label` in `manager.get_stream_id_by_label()`
20+
- Type of parameter `stream_label` in `get_stream_id_by_label()`
1721

1822
## 2.6.0
1923
### Added

dev/sphinx/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# The short X.Y version
2828
version = ''
2929
# The full version, including alpha/beta/rc tags
30-
release = '2.6.0'
30+
release = '2.6.1'
3131

3232
html_last_updated_fmt = "%b %d %Y at %H:%M (CET)"
3333

dev/sphinx/source/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,10 +484,10 @@ Run in bash:
484484
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade`
485485

486486
#### Windows
487-
Use the below command with the version (such as 2.6.0) you determined
487+
Use the below command with the version (such as 2.6.1) you determined
488488
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):
489489

490-
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.6.0.tar.gz --upgrade`
490+
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.6.1.tar.gz --upgrade`
491491
### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)
492492
This is not a release version and can not be considered to be stable!
493493

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 4b0fdacd6b1defec9fafd6ad78232530
3+
config: 5f1f03a826c0e219f2a79afca595fa79
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_modules/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.6.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.6.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -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 10 2024 at 19:01 (CET).
257+
Last updated on May 11 2024 at 16:56 (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/_modules/unicorn_binance_websocket_api/manager.html

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>unicorn_binance_websocket_api.manager &#8212; unicorn-binance-websocket-api 2.6.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>unicorn_binance_websocket_api.manager &#8212; unicorn-binance-websocket-api 2.6.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -206,7 +206,7 @@ <h1>Source code for unicorn_binance_websocket_api.manager</h1><div class="highli
206206
<span class="kn">from</span> <span class="nn">typing_extensions</span> <span class="kn">import</span> <span class="n">Literal</span>
207207

208208
<span class="n">__app_name__</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;unicorn-binance-websocket-api&quot;</span>
209-
<span class="n">__version__</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;2.6.0.dev&quot;</span>
209+
<span class="n">__version__</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;2.6.1.dev&quot;</span>
210210

211211
<span class="n">logger</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">getLogger</span><span class="p">(</span><span class="s2">&quot;unicorn_binance_websocket_api&quot;</span><span class="p">)</span>
212212

@@ -1810,14 +1810,14 @@ <h1>Source code for unicorn_binance_websocket_api.manager</h1><div class="highli
18101810
<div class="viewcode-block" id="BinanceWebSocketApiManager.create_stream">
18111811
<a class="viewcode-back" href="../../unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.create_stream">[docs]</a>
18121812
<span class="k">def</span> <span class="nf">create_stream</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span>
1813-
<span class="n">channels</span><span class="o">=</span><span class="p">[],</span>
1814-
<span class="n">markets</span><span class="o">=</span><span class="p">[],</span>
1815-
<span class="n">stream_label</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
1813+
<span class="n">channels</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
1814+
<span class="n">markets</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
1815+
<span class="n">stream_label</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
18161816
<span class="n">stream_buffer_name</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
1817-
<span class="n">api_key</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
1818-
<span class="n">api_secret</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
1817+
<span class="n">api_key</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
1818+
<span class="n">api_secret</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
18191819
<span class="n">symbols</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
1820-
<span class="n">output</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
1820+
<span class="n">output</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">Literal</span><span class="p">[</span><span class="s1">&#39;dict&#39;</span><span class="p">,</span> <span class="s1">&#39;raw_data&#39;</span><span class="p">,</span> <span class="s1">&#39;UnicornFy&#39;</span><span class="p">]]</span> <span class="o">=</span> <span class="s2">&quot;raw_data&quot;</span><span class="p">,</span>
18211821
<span class="n">ping_interval</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
18221822
<span class="n">ping_timeout</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
18231823
<span class="n">close_timeout</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
@@ -1956,6 +1956,10 @@ <h1>Source code for unicorn_binance_websocket_api.manager</h1><div class="highli
19561956

19571957
<span class="sd"> :return: stream_id or &#39;None&#39;</span>
19581958
<span class="sd"> &quot;&quot;&quot;</span>
1959+
<span class="k">if</span> <span class="n">channels</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
1960+
<span class="n">channels</span> <span class="o">=</span> <span class="p">[]</span>
1961+
<span class="k">if</span> <span class="n">markets</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
1962+
<span class="n">markets</span> <span class="o">=</span> <span class="p">[]</span>
19591963
<span class="c1"># handle Websocket API streams: https://developers.binance.com/docs/binance-trading-api/websocket_api</span>
19601964
<span class="k">if</span> <span class="n">api</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
19611965
<span class="k">if</span> <span class="n">api_key</span> <span class="ow">is</span> <span class="kc">None</span> <span class="ow">or</span> <span class="n">api_secret</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
@@ -5410,7 +5414,7 @@ <h3>Navigation</h3>
54105414
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
54115415
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
54125416
See <a href="/license.html">License</a> for more information.<br />
5413-
Last updated on May 10 2024 at 18:54 (CET).
5417+
Last updated on May 11 2024 at 16:55 (CET).
54145418
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
54155419
<br />
54165420
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.

docs/_sources/changelog.md.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99

1010
[How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade)
1111

12-
## 2.6.0.dev (development stage/unreleased/unstable)
12+
## 2.6.1.dev (development stage/unreleased/unstable)
13+
14+
## 2.6.1
1315
### Added
1416
- `print_summary()` and `print_stream_info()` now display `binance_api_status_code` in color! Green at 200 otherwise red.
17+
### Changed
18+
- Typing of `create_stream()` parameters
1519
### Fixed
16-
- Type of parameter `stream_label` in `manager.get_stream_id_by_label()`
20+
- Type of parameter `stream_label` in `get_stream_id_by_label()`
1721

1822
## 2.6.0
1923
### Added

docs/_sources/readme.md.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,10 +484,10 @@ Run in bash:
484484
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade`
485485

486486
#### Windows
487-
Use the below command with the version (such as 2.6.0) you determined
487+
Use the below command with the version (such as 2.6.1) you determined
488488
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):
489489

490-
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.6.0.tar.gz --upgrade`
490+
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.6.1.tar.gz --upgrade`
491491
### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)
492492
This is not a release version and can not be considered to be stable!
493493

0 commit comments

Comments
 (0)