Skip to main content
Subscribe to real-time mid prices (average of best bid and ask) for trading instruments. WebSocket URL: wss://api.hotstuff.trade/ws Channel: mids

Parameters

Supported Methods

  • subscribe - Subscribe to mid price updates
  • unsubscribe - Unsubscribe from mid price updates

Supported Symbols

  • Individual symbols: BTC-PERP, ETH-PERP, etc.
  • All symbols: "all"

Example Request

Example Response

WebSocket Client Examples

Python

JavaScript