unicorn-binance-rest-api Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Discussions about unicorn-binance-rest-api releases!

How to upgrade to the latest version!

2.2.1.dev (development stage/unreleased/unstable)

2.2.1

unicorn-binance-rest-api can now also be installed on all architectures on which there are no precompiled packages from LUCIT. PIP now automatically recognises whether there is a suitable precompiled package and if not, the source is automatically compiled on the target system during the installation process with Cython. Even if you don’t have to do anything special, please note that this process takes some time!

2.2.0

Added

  • Support of params in manager.py:

    • get_exchange_info()

    • futures_exchange_info()

    • futures_coin_exchange_info()

2.1.2

Added

  • Typing for a few more parameters.

Fixed

  • Fixed handling of tld in manager.__init__().

Removed

  • version=1 parameter in manager._create_futures_coin_data_api_url().

2.1.1

Fixed

  • Used False instead of None in manager.__init__() parameter tld.

2.1.0

Adding

  • Support of multiple tenants with kwargs['api_key'] and kwargs['api_secret'] in manager._request() - every private rest call now supports specific api_key and api_secret values via **kwargs.

  • Support of **params in:

    • manager.stream_get_listen_key()

    • manager.stream_keepalive()

    • manager.stream_close()

    • manager.margin_stream_get_listen_key()

    • manager.margin_stream_keepalive()

    • manager.margin_stream_close()

    • manager.isolated_margin_stream_get_listen_key()

    • manager.isolated_margin_stream_keepalive()

    • manager.isolated_margin_stream_close()

    • manager.futures_stream_get_listen_key()

    • manager.futures_stream_keepalive()

    • manager.futures_stream_close()

    • manager.futures_coin_stream_get_listen_key()

    • manager.futures_coin_stream_keepalive()

    • manager.futures_coin_stream_close()

Changed

  • Using types in manager.__init__().

2.0.5

  • Building conda packages and distribute them via https://anaconda.org/lucit

2.0.4

  • Same as 2.0.2, error during github upload.

2.0.3

  • Same as 2.0.2, error during pypi upload.

2.0.2

Changed

  • Replaced URLs

Fixed

  • Stopping manager automatically if an unknown exchange string was used before the exception gets raised.

2.0.1

Fixed

  • New exception AlreadyStoppedError is thrown if a stopped instance gets used.

  • Memory leak with implementation of manager.stop_manager().

2.0.0

Added

  • Support for Python 3.11 and 3.12

  • Integration of the lucit-licensing-python library for verifying the UNICORN Binance Suite license. A license can be purchased in the LUCIT Online Shop: https://shop.lucit.services/software/unicorn-binance-suite

  • License change from MIT to LSOSL - LUCIT Synergetic Open Source License: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/LICENSE

  • Conversion to a C++ compiled Cython package with precompiled as well as PyPy and source code wheels.

  • Setup of a “Trusted Publisher” deployment chain. The source code is transparently packaged into wheels directly from the GitHub repository by a GitHub action for all possible platforms and published directly as a new release on GitHub and PyPi. A second process from Conda-Forge then uploads it to Anaconda. Thus, the entire deployment process is transparent and the user can be sure that the compilation of a version fully corresponds to the source code.

  • manager.stop_manager()

  • Support for with-context

1.10.0

Added

  • "s": 1, to helpers.py to fix kline_1s support

  • create_margin_oco_order(), cancel_margin_oco_order(), get_margin_oco_order(), get_open_margin_oco_orders()

1.9.0

Added

  • futures_stream_get_listen_key(), futures_stream_keepalive() and futures_stream_close()

  • futures_coin_stream_get_listen_key(), futures_coin_stream_keepalive() and futures_coin_stream_close()

Removed

  • jex.com support

1.8.1

Fixing

  • requests.exceptions.InvalidHeader: Header part (False) from {‘X-MBX-APIKEY’: False} must be of type str or bytes, not <class ‘bool’>

1.8.0

Added

  • output="value" and throw_exception=True to: stream_get_listen_key(), margin_stream_get_listen_key(), isolated_margin_stream_get_listen_key()

  • throw_exception=True to: _request(), _request_api(), _request_margin_api(), _request_website(), _request_futures_api(), _request_futures_data_api(), _request_futures_coin_api(), _request_futures_coin_data_api(), _handle_response(), stream_keepalive(), stream_close(), margin_stream_keepalive(), margin_stream_close(), isolated_margin_stream_keepalive(), isolated_margin_stream_close()

Fixing

  • Issue in get_used_weight()

1.7.0

Added

  • SOCKS5 proxy support to BinanceRestApiManager() - New parameter: socks5_proxy_server, socks5_proxy_user, socks5_proxy_pass, socks5_proxy_ssl_verification

1.6.0

Added

  • New kline interval: 1s KLINE_INTERVAL_1SECOND

  • futures_place_batch_order() - Placing batch orders for USD-M API. Thx @hawkeye-bot PR#42

Changed

  • Dependency regex no specific version anymore

1.5.0

Added

  • cancel_all_open_margin_orders()

  • futures_auto_cancel_all_open_orders()

1.4.3

Codebase equal to 1.4.2, testing azure pipe

1.4.2

Changed

  • Dependency regex to <= 2022.3.2 issue#24

1.4.1

Fixed

1.4.0

Adding

Changed

  • Moved from https://github.com/oliver-zehentleitner to https://github.com/LUCIT-Systems-and-Development/

  • removed “unicorn_binance_rest_api_”-part of the module file names (more info: Discussions)

  • Correctly scope loggers so that it plays nicely with others. PR#17

  • renamed logger name of all modules to “unicorn_binance_rest_api”, in the implementation of PR#17 every module has had its own logger name.

1.3.0

Added

  • exchange parameter to manager class to replace tld parameter

  • support for new endpoints: trbinance.com

  • disable_colorama parameter to manager class

  • cancel_all_open_orders() to cancel all orders of a symbol with one request. Thx @mfurlend issue#3

Changed

  • tld is now obsolete

Fixed

  • ValueError in get_used_weight()

  • get_open_margin_orders()

Removed

  • double definition of make_universal_transfer()

  • binance.je support (Binance Jersey has ceased operations.)

1.2.0

Added

  • get_used_weight()

  • futures_coin_place_batch_order()

Changed

  • Migrate from WAPI to SAPI issue#7

  • URLs to Biannce Docs

1.1.1

Fixed

1.1.0

Added

  • logging

  • update check

1.0.0

forked from Sam McHardy python-binance v0.7.10

Added

  • get_latest_release_info()

  • get_latest_version()

  • is_update_availabe()

  • get_version()

  • get_user_agent()

  • colorama as requirement

Removed

  • Websocket support from python-binance and dependencies