Feature/twsapi client python port - #14
Merged
Merged
Conversation
Add missing REST endpoints across public_data, strategy, subaccount, and trade services to reach full 264-operation baseline. Fix HTTP transport to always send Content-Type and x-simulated-trading headers explicitly. Introduce baseline operation manifest with validation, rate-limit replay tests, and contract assertions for header correctness. Update roadmap with vendor SDK references and add parity remediation spec.
- Correct generated inventory paths (simulated_margin, set-riskOffset-type) to match canonical OKX V5 endpoints and ensure regeneration preserves them - Model account-balance summaries with nested detail records and OKX empty numeric sentinels; fix balance response deserialization - Decode native WebSocket acknowledgements (login/subscribe/error/ notice) and invalidate sessions on transport-level failures - Add WsStateCoordinator to apply acknowledgement outcomes to session and subscription state machine; route events despite server-added metadata - Implement application-level heartbeat: arm on inbound messages, send ping on idle, disconnect on missed pong - Add clock-offset and expTime support for signed REST and WebSocket order/amend commands; measure server-time offset via /public/time - Surface per-item trade command failures as PartialFailure instead of unconditional success - Support parameterless POST baseline operations (activate_option, mmp-reset) with empty JSON body semantics - Add SubscriptionKey::matches_event for broad/wildcard subscription routing including instType/instFamily/uly parameters - Add receive_for_session helper for session-aware WebSocket message handling - Detect OKX code 50102 as ClockSkew error
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.
No description provided.