Releases: bybit-exchange/pybit
Releases · bybit-exchange/pybit
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
[5.10.0] - 2025-03-13
Added
all_liquidation_streamWebSocket 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_functionin the WebSocket class to_callback_functionas it's intended to be private and is not useful to the user. This is not thecallback_functionarg you pass when subscribing to a WebSocket topic. (https://github.com/bybit-exchange/pybit/issues/270) - Allow passing
Noneas a value to an HTTP request, which results in the parameter being removed the final request sent.
Deprecated
liquidation_streamWebSocket topic.
5.9.0
(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_streamWebSocket - Add
tldarg to WebSocket. TLD stands for top-level domain. - Add
delete_sub_uidandget_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 complementget_wallet_balance - Add
get_exchange_broker_earnings(see Deprecated)
Deprecated
get_broker_earningsHTTP endpoint. Instead useget_exchange_broker_earnings.
Removed
- All modules under the
legacysubpackage. All these APIs are offline by this point and their functionality is covered by the V5 API / Unified Trading Account.
5.7.0
[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() tldarg for users in The Netherlands and Hong Kong forHTTPsessions
Fixed
- Options WebSocket failing to maintain connection (#164)