Python-binance

Latest version: v1.0.28

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 15

1.0.27

^^^^^^^^^^^^^^^^^^^^

**Added**

- Add futures_taker_long_short_ratio endpoint, thanks to ngoclam9415
- Add portfolio margin user data streams


**Fixed**

- Close read loop before closing websocket
- Fix threaded_stream
- Closing keepAliveWebsocker fix

1.0.26

^^^^^^^^^^^^^^^^^^^^

**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

1.0.25

^^^^^^^^^^^^^^^^^^^^

**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

1.0.24

^^^^^^^^^^^^^^^^^^^^

**Added**

- Exposed internal classes for easier subclassing


**Fixed**

- Fixed package outdated structure causing import errors

1.0.23

^^^^^^^^^^^^^^^^^^^^

**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

1.0.22

^^^^^^^^^^^^^^^^^^^^

**Added**

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

**Fixed**

- hang in the ThreadedApiManager

Page 1 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.