Releases: bybit-exchange/pybit
Releases · bybit-exchange/pybit
5.16.0
[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
[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 raisingException: Retryable error occurred, retrying... - HTTP retry logic for
retCode10002, so that the expandedrecv_windowis carried into the next retry attempt - WebSocket
exit()so that it cancels the scheduled custom ping and does not raiseWebSocketConnectionClosedExceptionafter 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()tomanual_no_convert_repay(), to match the API's current semantics - Account HTTP endpoint
get_instruments_info()toget_account_instruments_info(), to avoid ambiguity with other product groups - Account HTTP endpoint
set_hedging_mode()so that its arg issetHedgingModewith valuesONorOFF - 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
pybitnow requires Python 3.10 or higher
5.14.0
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
[5.14.0rc1] - 2026-01-09
Added
- System WebSocket stream:
system_status_stream(which uses a new channel type:channel_type="misc/status")
Fixed
- WebSocket
insurance_pool_streamsubscription - WebSockets
insurance_pool_stream,price_limit_streamto validatechannel_typeso that the correct WebSocket URL is used to connect
[5.14.0rc0] - 2025-12-31
[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 existingget_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
Added
- HTTP API:
get_withdrawal_address_list,get_exchange_entity_listendpoints - WebSocket API:
unsubscribefunction, to unsubscribe from topics whilst keeping the same connection. See the example file for usage.
Fixed
- WebSocket API:
tldarg is now applied to the private WebSocket connection (ie,channel_type="private") - WebSocket API:
fast_execution_streamtopic throwing exception upon subscription
[5.12.0] - 2025-09-29
[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
[5.11.0] - 2025-05-26
Added
- Spread Trading HTTP API methods and WebSockets. See the example file for implementation.
[5.10.1] - 2025-04-08
Fixed
- HTTP args
retry_codesandignore_codes