Skip to content

Commit e7590e0

Browse files
1.31.0
1 parent 6840c9c commit e7590e0

23 files changed

+1228
-1164
lines changed

CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to
66
[Semantic Versioning](http://semver.org/).
77

8-
## 1.30.0.dev (development stage/unreleased/unstable)
8+
## 1.31.0.dev (development stage/unreleased/unstable)
9+
10+
## 1.31.0
911
### Added
1012
- Added partial support for wss://dstream.binance.com - perpetual coin futures! [PR#163](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/pull/163) - Thanks to [M3tz3l](https://github.com/M3tz3l)
1113
### Changed
1214
- Bump websockets from 8.1 to 9.1 [PR#176](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/pull/176)
1315
### Fixed
1416
- Exception Handling listen_key [issue#143](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/143)
15-
- unsubscribe_from_stream method doesn't handle uppercase symbols while subscribe_to_stream does [issue#167](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/167)
17+
- Unsubscribe_from_stream method doesn't handle uppercase symbols while subscribe_to_stream does [issue#167](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/167)
1618

1719
## 1.30.0
1820
### Added

docs/.buildinfo

+1-1
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: 9e003cd3cde106e4ef70f9f43171cdff
3+
config: 2a2666b43b90841f226814b214b20b7a
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/CHANGELOG.html

+742-713
Large diffs are not rendered by default.

docs/README.html

+11-8
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>UNICORN Binance WebSocket API &#8212; unicorn-binance-websocket-api 1.30.0 documentation</title>
8+
<title>UNICORN Binance WebSocket API &#8212; unicorn-binance-websocket-api 1.31.0 documentation</title>
99
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
1010
<link rel="stylesheet" href="_static/pydoctheme.css" type="text/css" />
1111

1212
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
1313
<script src="_static/jquery.js"></script>
1414
<script src="_static/underscore.js"></script>
1515
<script src="_static/doctools.js"></script>
16+
<script src="_static/language_data.js"></script>
1617

1718
<link rel="index" title="Index" href="genindex.html" />
1819
<link rel="search" title="Search" href="search.html" />
@@ -48,7 +49,7 @@ <h3>Navigation</h3>
4849
<li><a href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api">unicorn-binance-websocket-api</a> &#187;</li>
4950

5051

51-
<a href="index.html">unicorn-binance-websocket-api 1.30.0 documentation</a> &#187;
52+
<a href="index.html">unicorn-binance-websocket-api 1.31.0 documentation</a> &#187;
5253

5354

5455
<li class="nav-item nav-item-this"><a href="">UNICORN Binance WebSocket API</a></li>
@@ -203,7 +204,7 @@ <h3>What are the benefits of the UNICORN Binance WebSocket API?<a class="headerl
203204
<td><code>BinanceWebSocketApiManager(exchange="binance.com-futures")</code></td>
204205
</tr>
205206
<tr>
206-
<td><a href="https://testnet.binancefuture.com">Binance Futures Testnet</a></td>
207+
<td><a href="https://testnet.binancefuture.com">Binance USD-M Futures Testnet</a></td>
207208
<td><code>BinanceWebSocketApiManager(exchange="binance.com-futures-testnet")</code></td>
208209
</tr>
209210
<tr>
@@ -372,6 +373,7 @@ <h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to
372373
<div class="section" id="examples">
373374
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline"></a></h2>
374375
<ul class="simple">
376+
<li><p><a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_coin_futures.py">example_binance_coin_futures.py</a></p></li>
375377
<li><p><a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_dex.py">example_binance_dex.py</a></p></li>
376378
<li><p><a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_futures.py">example_binance_futures.py</a></p></li>
377379
<li><p><a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_futures_1s.py">example_binance_futures_1s.py</a></p></li>
@@ -465,7 +467,7 @@ <h2>Contributing<a class="headerlink" href="#contributing" title="Permalink to t
465467
<p><a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api">UNICORN Binance WebSocket API</a> is an open
466468
source project which welcomes contributions which can be anything from simple documentation fixes and reporting dead links to new features. To
467469
contribute follow
468-
<a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/CONTRIBUTING.md">this guide</a>.</p>
470+
<a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/CONTRIBUTING">this guide</a>.</p>
469471
<div class="section" id="contributors">
470472
<h3>Contributors<a class="headerlink" href="#contributors" title="Permalink to this headline"></a></h3>
471473
<p><a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/graphs/contributors"><img alt="Contributors" src="https://contributors-img.web.app/image?repo=oliver-zehentleitner/unicorn-binance-websocket-api" /></a></p>
@@ -503,6 +505,7 @@ <h2>Donate<a class="headerlink" href="#donate" title="Permalink to this headline
503505
username via https://www.lucit-development.co/contact.html, I will invite you to the
504506
<a class="reference external" href="https://github.com/oliver-zehentleitner/unicorn-coding-club">unicorn-coding-club</a> as soon as possible.</p>
505507
<p><a class="reference external" href="https://liberapay.com/oliver-zehentleitner/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" /></a></p>
508+
<p><a class="reference external" href="https://github.com/sponsors/oliver-zehentleitner/">:heart: Sponsor (GitHub)</a></p>
506509
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Terra</span> <span class="p">(</span><span class="n">LUNA</span><span class="p">,</span> <span class="n">UST</span><span class="p">,</span> <span class="o">...</span><span class="p">):</span> <span class="n">terra1yt34qmmycextztnj9mpt3mnjzqqvl8jtqqq7g9</span>
507510
<span class="n">BTC</span><span class="p">:</span> <span class="mi">39</span><span class="n">fS74fvcGnmEk8JUV8bG6P1wkdH29GtsA</span>
508511
<span class="n">DASH</span><span class="p">:</span> <span class="n">XsRhBuPkXGF9WvifdpkVhTGSmVT4VcuQZ7</span>
@@ -631,7 +634,7 @@ <h3>Navigation</h3>
631634
<li><a href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api">unicorn-binance-websocket-api</a> &#187;</li>
632635

633636

634-
<a href="index.html">unicorn-binance-websocket-api 1.30.0 documentation</a> &#187;
637+
<a href="index.html">unicorn-binance-websocket-api 1.31.0 documentation</a> &#187;
635638

636639

637640
<li class="nav-item nav-item-this"><a href="">UNICORN Binance WebSocket API</a></li>
@@ -646,7 +649,7 @@ <h3>Navigation</h3>
646649
&copy; <a href="copyright.html">Copyright</a> 2021, Oliver Zehentleitner.
647650
<br />
648651

649-
Last updated on Apr 13 2021 at 22:54 (CET).
652+
Last updated on Jul 07 2021 at 22:27 (CET).
650653
<a href="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues">Found a bug</a>?
651654
<br />
652655

@@ -655,13 +658,13 @@ <h3>Navigation</h3>
655658
<a href="https://www.python.org/psf/donations/">Please donate.</a>
656659
<br />
657660

658-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 3.5.4
661+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 3.3.1
659662
with <a href="https://github.com/oliver-zehentleitner/python-docs-theme-technopathy">python-docs-theme-technopathy</a>
660663
by <a href="https://about.me/oliver-zehentleitner">Oliver Zehentleitner</a>.
661664
<br />
662665
<a href="https://www.technopathy.club/2019/11/03/use-python-sphinx-on-github-pages-with-html-and-an-indivdual-theme">
663666
Create a GitHub Page like this one!</a> <br />
664-
Sponsored by <a href="https://www.lucit-development.co">LUCIT - Python Development</a>
667+
Powered by <a href="https://www.lucit.co/desktop-and-server-apps.html">LUCIT - Python Development</a>
665668
</div>
666669

667670
</body>

docs/_sources/CHANGELOG.md.txt

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to
66
[Semantic Versioning](http://semver.org/).
77

8-
## 1.30.0.dev (development stage/unreleased/unstable)
8+
## 1.31.0.dev (development stage/unreleased/unstable)
9+
10+
## 1.31.0
11+
### Added
12+
- Added partial support for wss://dstream.binance.com - perpetual coin futures! [PR#163](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/pull/163) - Thanks to [M3tz3l](https://github.com/M3tz3l)
13+
### Changed
14+
- Bump websockets from 8.1 to 9.1 [PR#176](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/pull/176)
15+
### Fixed
16+
- Exception Handling listen_key [issue#143](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/143)
17+
- Unsubscribe_from_stream method doesn't handle uppercase symbols while subscribe_to_stream does [issue#167](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/167)
918

1019
## 1.30.0
1120
### Added

docs/_sources/README.md.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ on, you can to use the [UNICORN Binance REST API](https://github.com/oliver-zehe
107107
| [Binance Margin Testnet](https://testnet.binance.vision/) | `BinanceWebSocketApiManager(exchange="binance.com-margin-testnet")` |
108108
| [Binance Isolated Margin](https://www.binance.com) | `BinanceWebSocketApiManager(exchange="binance.com-isolated_margin")` |
109109
| [Binance Isolated Margin Testnet](https://testnet.binance.vision/) | `BinanceWebSocketApiManager(exchange="binance.com-isolated_margin-testnet")` |
110-
| [Binance Futures](https://www.binance.com) | `BinanceWebSocketApiManager(exchange="binance.com-futures")` |
111-
| [Binance Futures Testnet](https://testnet.binancefuture.com) | `BinanceWebSocketApiManager(exchange="binance.com-futures-testnet")` |
110+
| [Binance USD-M Futures](https://www.binance.com) | `BinanceWebSocketApiManager(exchange="binance.com-futures")` |
111+
| [Binance USD-M Futures Testnet](https://testnet.binancefuture.com) | `BinanceWebSocketApiManager(exchange="binance.com-futures-testnet")` |
112+
| [Binance Coin-M Futures](https://www.binance.com) | `BinanceWebSocketApiManager(exchange="binance.com-coin-futures")` |
112113
| [Binance Jersey](https://www.binance.je) | `BinanceWebSocketApiManager(exchange="binance.je")` |
113114
| [Binance US](https://www.binance.us) | `BinanceWebSocketApiManager(exchange="binance.us")` |
114115
| [Binance TR](https://www.trbinance.com) | `BinanceWebSocketApiManager(exchange="trbinance.com")` |
@@ -253,6 +254,7 @@ or the [current master branch](https://github.com/oliver-zehentleitner/unicorn-b
253254
- [Modules](https://oliver-zehentleitner.github.io/unicorn-binance-websocket-api/unicorn_binance_websocket_api.html)
254255

255256
## Examples
257+
- [example_binance_coin_futures.py](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_coin_futures.py)
256258
- [example_binance_dex.py](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_dex.py)
257259
- [example_binance_futures.py](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_futures.py)
258260
- [example_binance_futures_1s.py](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_binance_futures_1s.py)
@@ -382,6 +384,7 @@ username via https://www.lucit-development.co/contact.html, I will invite you to
382384

383385
[![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/oliver-zehentleitner/donate)
384386

387+
[:heart: Sponsor (GitHub)](https://github.com/sponsors/oliver-zehentleitner/)
385388
```
386389
Terra (LUNA, UST, ...): terra1yt34qmmycextztnj9mpt3mnjzqqvl8jtqqq7g9
387390
BTC: 39fS74fvcGnmEk8JUV8bG6P1wkdH29GtsA

docs/_static/basic.css

+10-15
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -277,25 +277,25 @@ p.rubric {
277277
font-weight: bold;
278278
}
279279

280-
img.align-left, figure.align-left, .figure.align-left, object.align-left {
280+
img.align-left, .figure.align-left, object.align-left {
281281
clear: left;
282282
float: left;
283283
margin-right: 1em;
284284
}
285285

286-
img.align-right, figure.align-right, .figure.align-right, object.align-right {
286+
img.align-right, .figure.align-right, object.align-right {
287287
clear: right;
288288
float: right;
289289
margin-left: 1em;
290290
}
291291

292-
img.align-center, figure.align-center, .figure.align-center, object.align-center {
292+
img.align-center, .figure.align-center, object.align-center {
293293
display: block;
294294
margin-left: auto;
295295
margin-right: auto;
296296
}
297297

298-
img.align-default, figure.align-default, .figure.align-default {
298+
img.align-default, .figure.align-default {
299299
display: block;
300300
margin-left: auto;
301301
margin-right: auto;
@@ -319,8 +319,7 @@ img.align-default, figure.align-default, .figure.align-default {
319319

320320
/* -- sidebars -------------------------------------------------------------- */
321321

322-
div.sidebar,
323-
aside.sidebar {
322+
div.sidebar {
324323
margin: 0 0 0.5em 1em;
325324
border: 1px solid #ddb;
326325
padding: 7px;
@@ -378,14 +377,12 @@ div.body p.centered {
378377
/* -- content of sidebars/topics/admonitions -------------------------------- */
379378

380379
div.sidebar > :last-child,
381-
aside.sidebar > :last-child,
382380
div.topic > :last-child,
383381
div.admonition > :last-child {
384382
margin-bottom: 0;
385383
}
386384

387385
div.sidebar::after,
388-
aside.sidebar::after,
389386
div.topic::after,
390387
div.admonition::after,
391388
blockquote::after {
@@ -458,22 +455,20 @@ td > :last-child {
458455

459456
/* -- figures --------------------------------------------------------------- */
460457

461-
div.figure, figure {
458+
div.figure {
462459
margin: 0.5em;
463460
padding: 0.5em;
464461
}
465462

466-
div.figure p.caption, figcaption {
463+
div.figure p.caption {
467464
padding: 0.3em;
468465
}
469466

470-
div.figure p.caption span.caption-number,
471-
figcaption span.caption-number {
467+
div.figure p.caption span.caption-number {
472468
font-style: italic;
473469
}
474470

475-
div.figure p.caption span.caption-text,
476-
figcaption span.caption-text {
471+
div.figure p.caption span.caption-text {
477472
}
478473

479474
/* -- field list styles ----------------------------------------------------- */

docs/_static/classic.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- classic theme.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/

docs/_static/doctools.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for all documentation.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -29,14 +29,9 @@ if (!window.console || !console.firebug) {
2929

3030
/**
3131
* small helper function to urldecode strings
32-
*
33-
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
3432
*/
3533
jQuery.urldecode = function(x) {
36-
if (!x) {
37-
return x
38-
}
39-
return decodeURIComponent(x.replace(/\+/g, ' '));
34+
return decodeURIComponent(x).replace(/\+/g, ' ');
4035
};
4136

4237
/**

docs/_static/documentation_options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '1.30.0',
3+
VERSION: '1.31.0',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

docs/_static/language_data.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@
55
* This script contains the language-specific data used by searchtools.js,
66
* namely the list of stopwords, stemmer, scorer and splitter.
77
*
8-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
8+
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
99
* :license: BSD, see LICENSE for details.
1010
*
1111
*/
1212

1313
var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"];
1414

1515

16-
/* Non-minified version is copied as a separate JS file, is available */
17-
16+
/* Non-minified version JS is _stemmer.js if file is provided */
1817
/**
1918
* Porter Stemmer
2019
*/
@@ -200,6 +199,7 @@ var Stemmer = function() {
200199

201200

202201

202+
203203
var splitChars = (function() {
204204
var result = {};
205205
var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 1014, 1648,

0 commit comments

Comments
 (0)