Skip to main content

bybit_ws_trade_url

Function bybit_ws_trade_url 

Source
pub const fn bybit_ws_trade_url(environment: BybitEnvironment) -> &'static str
Expand description

Returns the trade WebSocket endpoint for order operations.

Note: Bybit demo environment does not support the WebSocket Trade API. Demo trading must use HTTP REST API for order operations.