Skip to content

Releases: sammchardy/python-binance

v1.0.26

23 Dec 10:57
d8e2ce1
Compare
Choose a tag to compare

Added

  • Websockets docs
  • support for microseconds time unit
  • futures data link endpoints
  • return type to _get_account_socket thanks to @zhen1007
  • futures_index_price_constituents endpoint

Fixed

  • FuturesDepthCacheManager and OptionsDepthCacheManager to init
  • EDDSA random error

v1.0.25

05 Dec 15:28
9ce902b
Compare
Choose a tag to compare

Added

  • borrow-repay endpoints (margin_interest_rate_history/margin_get_borrow_repay_records/margin_borrow_repay/etc)
  • futures_mark_price_klines thanks to @zhen1007
  • futures_index_price_klines and futures_premium_index_klines
  • HistoricalKlinesType enum enhanced
  • block trades endpoints (options_create_block_trade_order, options_cancel_block_trade_order, etc)
  • dapi asyn endpoints (futures_coin_account_order_history_download, futures_coin_account_order_history_download_link, etc)

Fixed

  • Removed unnecessary logs with error level
  • Remove CANCEL read_loop error log
  • Fix error type for when message queue is full
  • Fixes that if first connect fails it would not throw and let the user wait indefinitely
  • Improves error handling passing to user error type for different scenarios

v1.0.24

28 Nov 11:44
39d7f7a
Compare
Choose a tag to compare

Added

  • Exposed internal classes for easier subclassing

Fixed

  • Fixed package outdated structure causing import errors

v1.0.23

27 Nov 17:53
cc28d8e
Compare
Choose a tag to compare

Added

  • CRUD over Websockets (create/fetch/edit/cancel) through Websockets
  • orjson support
  • overridable headers per request
  • added default recvWindow parameter
  • Proxy support for Websockets
  • Gift card API
  • cancel_replace_order, cancel_all_open_orders and cancel_all_open_margin_orders thanks to @m-HD
  • missing futures_modify_order from async client
  • ruff format
  • missing endpoint for futures_edit_order

Fixed

  • updated create_oco_order endpoint
  • batch orders signature issue
  • fail_connection issue related to the websockets upgrade
  • eddsa signature issue

v1.0.22

29 Oct 16:39
559a32a
Compare
Choose a tag to compare

Added

  • futures all tickers stream
  • futures coin-m all tickers stream

Fixed

  • hang in the ThreadedApiManager

v1.0.21

23 Oct 17:40
a7d34cf
Compare
Choose a tag to compare

Added

  • Some new endpoints

Fixed

  • url encoding for coin-m post endpoints
  • batch order endpoint
  • Some minor bug fixes

v1.0.20

22 Oct 11:07
cd03d4d
Compare
Choose a tag to compare

Added

  • EDDSA authentication
  • Portfolio Margin endpoints
  • Some new futures endpoints
  • Proxy support for the AsyncClient
  • Version override is possible now through params
  • Added new binance endpoint rolling-window-price-change-statistics

Updated

  • Migrated positionRisk to v3

Fixed

  • Fixed the error AttributeError("'Connect' object has no attribute 'protocol'")
  • Some minor bug fixes

v1.0.17

22 Feb 03:17
Compare
Choose a tag to compare

Added

  • RSA key authentication
  • Support for api1, api2, api3, api4 base endpoints
  • binance.us staking endpoints
  • Options ticker by expiration socket
  • Staking endpoints
  • Pay and Convert endpoints
  • Futures index info endpoint
  • Open OCO Orders endpoint
  • Param to pass session params to aiohttp.ClientSession

Updated

  • Some margin endpoint versions
  • Support testnet for more streams

Fixed

  • Indefinite websocket reconnect loop
  • Crash on parsing code from some errors

v1.0.16

09 Apr 03:20
Compare
Choose a tag to compare

Added

  • pass limit param to all kline functions
  • increase default for kline functions from 500 to 1000
  • add HistoricalKlinesType.FUTURES_COIN as option for kline functions
  • testnet URL for coin_futures_socket

Updated

  • round_step_size more accurate

Fixed

  • remove deprecated loop param
  • websockets unpinned
  • hanging websockets in exiting state
  • check start_ts after end_ts for klines
  • multi assets margin params

v0.7.10

28 Mar 21:53
7d3326c
Compare
Choose a tag to compare
Individual symbol ticker stream to websockets.