Order Price Limit
Subscribe to Get Order Price Limit.
For derivative trading order price limit, refer to announcement
For spot trading order price limit, refer to announcement
Push frequency: 300ms
Topic:
priceLimit.{symbol}
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| topic | string | Topic name |
| ts | number | The timestamp (ms) that the system generates the data |
| data | array | Object. |
| > symbol | string | Symbol name |
| > buyLmt | string | Highest Bid Price |
| > sellLmt | string | Lowest Ask Price |
Subscribe Example
- JSON
- Python
{
"op": "subscribe",
"args": [
"priceLimit.BTCUSDT"
]
}
from pybit.unified_trading import WebSocket
from time import sleep
ws = WebSocket(
testnet=True,
channel_type="linear",
)
def handle_message(message):
print(message)
ws.price_limit_stream(
symbol="BTCUSDT",
callback=handle_message
)
while True:
sleep(1)
Response Example
{
"topic": "priceLimit.BTCUSDT",
"data": {
"symbol": "BTCUSDT",
"buyLmt": "114450.00",
"sellLmt": "103550.00"
},
"ts": 1750059683782
}