Skip to main content

Notifications

WSProductionwss://ws.btse.com/ws/spotTestnetwss://testws.btse.io/ws/spot

Real-time order status updates. Requires WebSocket authentication. Topic: notificationApiV3

Includes both base and quote currency size fields (originalOrderBaseSize, originalOrderQuoteSize, currentOrderBaseSize, currentOrderQuoteSize, filledBaseSize, totalFilledBaseSize, remainingBaseSize, remainingQuoteSize) so that quote-denominated market orders are represented faithfully.

Response Content

NameTypeRequiredDescription
topicStringYes
dataObjectYesData object

Data Object:

NameTypeRequiredDescription
symbolStringYesMarket symbol
orderIDStringYesInternal order ID
sideStringYesTrade direction (BUY or SELL)
orderTypeIntegerYesOrder classification — 76: Limit · 77: Market · 80: Peg/Algo
txTypeIntegerYesTransaction type — 0: LIMIT · 1: STOP · 2: TRIGGER · 3: OCO
priceDoubleYesOrder price or executed transaction price
triggerPriceDoubleYesActivation price for conditional orders
pegPriceDeviationDoubleYesDeviation percentage (Algo orders only)
stealthDoubleYesOrder visibility percentage on orderbook (Algo orders only)
statusIntegerYesCurrent order state — 1 (MARKET_UNAVAILABLE) · 2 (ORDER_INSERTED) · 4 (ORDER_FULLY_TRANSACTED) · 5 (ORDER_PARTIALLY_TRANSACTED) · 6 (ORDER_CANCELLED) · 8 (INSUFFICIENT_BALANCE) · 9 (TRIGGER_INSERTED) · 10 (TRIGGER_ACTIVATED) · 12 (ERROR_UPDATE_RISK_LIMIT) · 15 (ORDER_REJECTED) · 27 (TRANSFER_SUCCESSFUL) · 28 (TRANSFER_UNSUCCESSFUL) · 41 (ERROR_INVALID_RISK_LIMIT) · 64 (STATUS_LIQUIDATION) · 101 (FUTURES_ORDER_PRICE_OUTSIDE_LIQUIDATION_PRICE) · 1003 (ORDER_LIQUIDATION) · 1004 (ORDER_ADL)
timestampLongYesOrder or transaction timestamp (ms)
avgFilledPriceDoubleYesMean execution price across fills
clOrderIDStringYesUser-supplied order identifier
makerBooleanYesWhether this fill was on the maker side
postOnlyBooleanYesResting order without aggressive matching
orderUserInitiatedBooleanYesManual (true) vs. automated (false) order origin
originalOrderBaseSizeDoubleYesInitial base currency quantity
originalOrderQuoteSizeDoubleYesInitial quote currency quantity
currentOrderBaseSizeDoubleYesLatest base currency quantity
currentOrderQuoteSizeDoubleYesLatest quote currency quantity
filledBaseSizeDoubleYesBase currency amount executed on this event
totalFilledBaseSizeDoubleYesCumulative base currency fills
remainingBaseSizeDoubleYesUnfilled base currency portion
remainingQuoteSizeDoubleYesUnfilled quote currency portion
orderCurrencyStringYesSize denomination of the order (base or quote)
time_in_forceStringYesTime in force: GTC · IOC · FOK · HALFMIN · FIVEMIN · HOUR · TWELVEHOUR · DAY · WEEK · MONTH
example

Response

{
"topic": "notificationApiV3",
"data": {
"symbol": "BTC-USDT",
"orderID": "789b05fa-dd43-43e8-8626-e229ae216ead",
"side": "BUY",
"orderType": 77,
"txType": 0,
"price": 111131,
"triggerPrice": 0,
"pegPriceDeviation": 1,
"stealth": 1,
"status": 5,
"timestamp": 1752147703368,
"avgFilledPrice": 111131,
"clOrderID": "_W_bjvf1752147703280",
"maker": false,
"postOnly": false,
"orderUserInitiated": true,
"originalOrderBaseSize": 0,
"originalOrderQuoteSize": 1000,
"currentOrderBaseSize": 0,
"currentOrderQuoteSize": 1000,
"filledBaseSize": 0.00899,
"totalFilledBaseSize": 0.00899,
"remainingBaseSize": 0,
"remainingQuoteSize": 0.93231,
"orderCurrency": "quote",
"time_in_force": "GTC"
}
}