Skip to content

Releases: bybit-exchange/pybit

5.14.0rc2

12 Jan 16:27
21aad51

Choose a tag to compare

5.14.0rc2 Pre-release
Pre-release

Added

  • HTTP endpoints
    • get_auto_repay_mode()
    • set_auto_repay_mode()

[5.14.0rc1] - 2026-01-09

09 Jan 13:32
2cc0518

Choose a tag to compare

Pre-release

Added

  • System WebSocket stream: system_status_stream (which uses a new channel type: channel_type="misc/status")

Fixed

  • WebSocket insurance_pool_stream subscription
  • WebSockets insurance_pool_stream, price_limit_stream to validate channel_type so that the correct WebSocket URL is used to connect

[5.14.0rc0] - 2025-12-31

31 Dec 17:54
bd1af01

Choose a tag to compare

Pre-release

[5.14.0rc0] - 2025-12-31

Added

  • Asset HTTP endpoints for small balance (dust) conversion
  • Exchange Broker HTTP endpoints
  • Affiliate HTTP endpoint get_affiliate_user_list()
  • Crypto Loan (New) HTTP endpoints
  • HTTP endpoint get_price_limit()
  • Position HTTP endpoints: move_position(), get_move_position_history(), get_closed_options_positions()
  • get_tiered_collateral_ratio(), which is more detailed than existing get_collateral_info()
  • Trading HTTP endpoint: pre_check_order() for checking margin before placing an order
  • get_system_status() HTTP endpoint
  • Public market WebSocket streams rpi_orderbook_stream, insurance_pool_stream, price_limit_stream

Deprecated

  • Crypto Loan (Old) HTTP endpoints

[5.13.0] - 2025-11-05

07 Nov 18:00
66910e8

Choose a tag to compare

Added

  • HTTP API: get_withdrawal_address_list, get_exchange_entity_list endpoints
  • WebSocket API: unsubscribe function, to unsubscribe from topics whilst keeping the same connection. See the example file for usage.

Fixed

  • WebSocket API: tld arg is now applied to the private WebSocket connection (ie, channel_type="private")
  • WebSocket API: fast_execution_stream topic throwing exception upon subscription

[5.12.0] - 2025-09-29

28 Sep 22:11
b1dd4ea

Choose a tag to compare

[5.12.0] - 2025-09-29

Added

  • API Rate limit HTTP endpoints. Note that these are only useful to Institutional users.
  • Support for API URLs for the EU and Kazakhstan

[5.11.0] - 2025-05-26

26 May 17:44
63cb892

Choose a tag to compare

[5.11.0] - 2025-05-26

Added

[5.10.1] - 2025-04-08

08 Apr 16:50
f9256e9

Choose a tag to compare

Fixed

  • HTTP args retry_codes and ignore_codes

[5.10.0] - 2025-03-13

13 Mar 18:36
e62e0e2

Choose a tag to compare

Added

  • all_liquidation_stream WebSocket topic.
  • Batch WebSocket order methods: place_batch_order, amend_batch_order, cancel_batch_order
  • HTTP API methods for Convert, Earn, and Crypto Loan.

Changed

  • Renamed the arg callback_function in the WebSocket class to _callback_function as it's intended to be private and is not useful to the user. This is not the callback_function arg you pass when subscribing to a WebSocket topic. (https://github.com/bybit-exchange/pybit/issues/270)
  • Allow passing None as a value to an HTTP request, which results in the parameter being removed the final request sent.

Deprecated

  • liquidation_stream WebSocket topic.

5.9.0

27 Jan 15:11
d05f2e0

Choose a tag to compare

(Note: 5.8.0 was released to PyPI but not as a release here on Github – apologies. Releases should also come to GitHub in the future.)

[5.9.0] - 2025-01-27

Thanks goes to Kamsby, kolya5544, and LordGhostX for contributing to this release.

Added

  • Add fast_execution_stream WebSocket
  • Add tld arg to WebSocket. TLD stands for top-level domain.
  • Add delete_sub_uid and get_all_sub_api_keys – user-related HTTP endpoints
  • Add spot_margin_trade_get_historical_interest_rate – a spot margin HTTP endpoint
  • Add add_or_reduce_margin – a position HTTP endpoint
  • Add get_transferable_amount – an account-related HTTP endpoint to complement get_wallet_balance
  • Add get_exchange_broker_earnings (see Deprecated)

Deprecated

  • get_broker_earnings HTTP endpoint. Instead use get_exchange_broker_earnings.

Removed

  • All modules under the legacy subpackage. All these APIs are offline by this point and their functionality is covered by the V5 API / Unified Trading Account.

5.7.0

11 Apr 17:56
867ee0f

Choose a tag to compare

[5.7.0] - 2024-04-11

Added

  • Demo Trading support
  • Add methods for the Institutional Loan endpoints
  • Add Account methods repay_liability(), set_collateral_coin(), batch_set_collateral_coin()
  • tld arg for users in The Netherlands and Hong Kong for HTTP sessions

Fixed

  • Options WebSocket failing to maintain connection (#164)