Repository navigation
fix(ws): complete Binance USD-M stream routing migration - #422
Merged
Merged
Conversation
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]> # Conflicts: # backend_api_python/app/routes/community.py
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Add scoped broker access, HK board-lot metadata, dated-futures manual trading, and credential redaction. Keep automated futures strategies disabled. Persist advertisement settings and generate their OpenAPI contract. Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
The main tree matches the pre-fix test tree exactly. Record the squash-merge ancestry while preserving the verified broker fixes. Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
The main tree exactly matches the pre-fix test tree. Record the merged ancestry while preserving the verified fee fixes. Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
The merged main tree exactly matches the pre-change test tree; preserve the verified HK identity fixes while recording merge ancestry. Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Keep completed-session and execution-price freshness checks intact, allow eligible newly listed equities to satisfy declared warmup, and fail over HK candle providers with bounded Tencent cooldown. Validation: 382 focused Linux regression tests passed; Ruff, backend quality, encoding and version checks passed. Signed-off-by: TIANHE <[email protected]>
Expose a restart-scoped 1-60 minute quote-age setting with a 16-minute default, align equity receipt expiry, retain provider timestamp and session checks, and document delayed-feed risks. Validation: 215 focused backend tests passed; Ruff, backend quality, encoding and version checks passed. Signed-off-by: TIANHE <[email protected]>
The merged main tree exactly matches the pre-change test tree; preserve the verified quote-policy changes while recording merge ancestry. Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: Prakash Jha <[email protected]> (cherry picked from commit a5c7b82) Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
Signed-off-by: TIANHE <[email protected]>
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
MrRakun35
pushed a commit
to MrRakun35/NovaTrade
that referenced
this pull request
Nov 29, 2026
…eInc#422, OpenByteInc#423, OpenByteInc#430) preserving NovaTrade config
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.



Problem and behavior
Binance USD-M market streams on the legacy fstream root can connect without delivering mark prices, causing ongoing REST fallback. The private execution stream also used the legacy live path and an outdated demo host.
This PR incorporates #421 via cherry-pick of a5c7b82, preserving Prakash Jha's authorship and DCO sign-off, then completes backend routing:
/market/stream?streams=..../private/ws/<listenKey>, preserving raw events and the existing listen-key creation/keepalive lifecycle.wss://demo-fstream.binance.com/ws/<listenKey>.Closes #420. Incorporates the fix proposed in #421; no changes were made to that contributor's branch.
Companion frontend changes
Desktop and mobile K-line streams now use
/market/ws; depth streams use/public/ws. Both companion commits are already pushed:Validation
Deployment and limits
Deploy the backend workers and both frontend builds. No database migration is required. Verify fresh
public_websocketprices, candle updates and private execution events after deployment. Correct routing removes one cause of excess REST traffic; it does not lift an active Binance IP ban.References: routing migration, raw private stream, testnet host.