Skip to content

fix: align market trade status codes#547

Merged
huacnlee merged 1 commit into
mainfrom
fix-market-trade-status-codes
Jun 16, 2026
Merged

fix: align market trade status codes#547
huacnlee merged 1 commit into
mainfrom
fix-market-trade-status-codes

Conversation

@huacnlee

Copy link
Copy Markdown
Member

Summary

  • Align Rust market TradeStatus codes with the phase/status definition, including code 2001.
  • Correct display names for status codes 123, 1009, and 1010 while keeping existing Rust variant names compatible.
  • Refresh SDK comments/generated bindings for market trade status fields.

Test Plan

  • cargo +nightly fmt --all -- --check
  • cargo test -p longbridge market_trade_status_ --lib
  • RUSTC_WRAPPER= cargo clippy --all --all-features
  • PATH=/opt/homebrew/bin:/usr/local/bin:$PATH RUSTC_WRAPPER= npm run build:debug
  • RUSTC_WRAPPER= cargo build -p longbridge-c

Co-authored-by: Codex <codex@openai.com>
@huacnlee huacnlee merged commit 3c995f5 into main Jun 16, 2026
56 checks passed
@huacnlee huacnlee deleted the fix-market-trade-status-codes branch June 16, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant