python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

User Data Stream with listenKey will be deprecated

Open thlsr opened this issue 8 months ago • 3 comments

Binance will be deprecating the User Data Stream on April 21, their recomendation is to move to the Websocket API, so I just wanted to raise this flag and ask if we have any intention of going in that direction.

thlsr avatar Apr 10 '25 13:04 thlsr

Hello @thlsr,

Thanks for reporting it.

Yes, we're aware of it and in touch with Binance.

They don't have a date yet for the upgrade but we're a bit worried because this will force spot users to use ed25519 keys instead of hmac/rsa so we will probably wait a bit until rolling out this upgrade.

carlosmiei avatar Apr 10 '25 14:04 carlosmiei

understood and thank you for the quick response!

thlsr avatar Apr 10 '25 14:04 thlsr

Good news! See https://developers.binance.com/docs/binance-spot-api-docs/CHANGELOG#2025-04-29

subscribing to User Data Stream in WebSocket API will be possible with any API key type before listenKeys are removed.

christophlins avatar May 01 '25 07:05 christophlins