Different coin list in 24hrTicker (RESTAPI vs WEBSOCKET)


So i used both RESTAPI and Websocket to get information about coins via 24hrTicker

for WS : wss://stream.binance.com:9443/ws/!ticker@arr
for RESTAPI: https://api.binance.com/api/v3/ticker/24hr

Response are very different. For example:

RESTapi: 1349 coins - Websocket: 685 coins (Sometimes its 700’ish not consistent)

And if i filter the coins with an “if” statement and getting all the BTC pairs result is:

RESTapi: 306 coins - Websocket: 162 coins

Then i search the coin the one that is missing in Websocket (thinking maybe somehow not listed)

But no, the coin is there but not in Websocket response…

Why is this happening? Is there anyone also experienced this before?

WSS only pushes the symbols that has ticker update. It doesn’t push all symbols

Hmm, okay then that makes sense now. Thank you!