Skip to content

Releases: bybit-exchange/pybit

5.16.0

18 Apr 13:52

Choose a tag to compare

[5.16.0] - 2026-04-18

Added

  • New group: P2P HTTP endpoints
    • get_account_information()
    • get_ads_list()
    • get_ad_details()
    • update_ad()
    • remove_ad()
    • get_orders()
    • get_pending_orders()
    • get_counterparty_info()
    • get_order_details()
    • release_assets()
    • mark_as_paid()
    • get_chat_messages()
    • upload_chat_file()
    • send_chat_message()
    • post_new_ad()
    • get_online_ads()
    • get_user_payment_types()
    • query_chat_session_list()
    • send_message()
    • get_message_list()

5.15.0

11 Apr 21:45

Choose a tag to compare

[5.15.0] - 2026-03-27

Formally release changes from the pre-releases: 5.15.0rc1, 5.15.0rc2.

In addition:

Fixed

  • HTTP retry logic for retriable Bybit API errors, so that retryable retCodes now perform another request instead of raising Exception: Retryable error occurred, retrying...
  • HTTP retry logic for retCode 10002, so that the expanded recv_window is carried into the next retry attempt
  • WebSocket exit() so that it cancels the scheduled custom ping and does not raise WebSocketConnectionClosedException after shutdown
  • WebSocket connect and exit loops so that they do not busy-wait on socket state changes

[5.15.0rc2] - 2026-03-18

Added

  • Account HTTP endpoint set_delta_mode()
  • Asset HTTP endpoints
    • get_asset_overview()
    • get_funding_acc_history()
  • Fiat convert HTTP endpoints
    • get_fiat_balance()
    • get_fiat_trading_pair_list()
    • get_fiat_convert_history()
    • request_a_quote_fiat_convert()
    • get_fiat_reference_price()
    • confirm_a_quote_fiat_convert()
    • get_fiat_convert_status()
  • Broker HTTP endpoints
    • get_broker_all_rate_limits()
    • get_broker_rate_limit_cap()
    • set_broker_rate_limit()
  • Crypto Loan HTTP endpoint get_max_loan_amount_new_crypto_loan()
  • Position HTTP endpoint confirm_new_risk_limit()
  • Spot Margin Trading HTTP endpoint spot_margin_trade_get_currency_data()
  • User HTTP endpoints
    • sign_agreement()
    • get_friend_referrals()

Changed

  • Account HTTP endpoint set_no_convert_repay() to manual_no_convert_repay(), to match the API's current semantics
  • Account HTTP endpoint get_instruments_info() to get_account_instruments_info(), to avoid ambiguity with other product groups
  • Account HTTP endpoint set_hedging_mode() so that its arg is setHedgingMode with values ON or OFF
  • Spread Trading HTTP endpoint names to be prefixed with spread_, to avoid clashing with the unified trading methods

[5.15.0rc1] - 2026-03-14

Changed

  • Dropped Python 3.6 to 3.9 support, as these versions have reached EOL
  • pybit now requires Python 3.10 or higher

5.14.0

06 Feb 16:44
0612bc0

Choose a tag to compare

Formally release changes from the pre-releases: 5.14.0rc0, 5.14.0rc1, 5.14.0rc2.

In addition:

Added

  • Account HTTP endpoints
  • Earn HTTP endpoints
  • New group: Fiat HTTP endpoints
  • Institutional Loan HTTP endpoints
  • Market HTTP endpoints
  • New group: RFQ HTTP endpoints
  • Spot Margin Trading HTTP endpoints
  • User HTTP endpoints

Changed

  • HTTP endpoint set_limit_price_action() so that you cannot pass any args, as this endpoint doesn't support any request parameters

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