Repository navigation
feat: update binance - #291
Merged
Merged
Conversation
Catch up with the Binance Spot and USDⓈ-M Futures API changes (2024 to Oct 2026): - Route futures conditional orders through the Algo service (/fapi/v1/algoOrder) with triggerPrice/activatePrice/clientAlgoId and the AlgoOrder response type; add algo query/cancel, batch place/cancel, modify order, amendments, force orders, countdown cancel-all, V3 account/balance/positionRisk, symbol and account config, commission rate, leverage brackets and the other missing account endpoints. - Replace the retired spot listenKey user stream with a WebSocket API signature subscription (WebSockets::connect_user_data_stream); route futures streams through /public, /market and /private. - Percent-encode signed payloads; add spot order lists (OCO/OTO/OTOCO), cancel-replace, amend-keep-priority, commission, myFilters, rate limits, trades, uiKlines, trading-day and rolling-window tickers. - Add unknown-filter fallback and the 2024-2026 response fields to the spot and futures models; fix markPriceUpdate, activatePrice and trade stream parsing; add ALGO_UPDATE, TRADE_LITE, MARGIN_CALL and ACCOUNT_CONFIG_UPDATE events. - Cover everything with mockito fixtures from the official docs. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- Format with nightly rustfmt (binop_separator = "Back" is only honored there). - Allow clippy::result_large_err: error_chain's Error is 152 bytes and boxing it would change the public Result type. - Drop `return bail!(...)` diverging sub-expressions, use `?` instead of a match, and remove a redundant to_string in the spot account module. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Catch up with the Binance Spot and USDⓈ-M Futures API changes (2024 to Oct 2026):