feat: migrate USDⓈ-M futures WS to /public /market /private endpoints#985
Open
pcriadoperez wants to merge 5 commits intoccxt:masterfrom
Open
feat: migrate USDⓈ-M futures WS to /public /market /private endpoints#985pcriadoperez wants to merge 5 commits intoccxt:masterfrom
pcriadoperez wants to merge 5 commits intoccxt:masterfrom
Conversation
Route futures WebSocket streams to Binance's new category-based URLs per the 2026-03-06 upgrade notice. Legacy URLs retire 2026-04-23.
The new /private/ endpoint requires ?listenKey=<key> format instead of the legacy path-based /<key> format.
Contributor
Author
Test Results — 35 passing (11s)New migration tests (30 tests): Existing futures WS tests (5 tests, regression check): Live tests verified against:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Route futures WebSocket streams to Binance's new category-based URLs (public/market/private) per the 2026-03-06 upgrade notice.
Auto-classifies streams: bookTicker/depth →
/public/, aggTrade/kline/ticker/etc →/market/, listenKey →/private/.Demo/test environments keep legacy URLs. Legacy production URLs retire 2026-04-23.