Skip to content

Conversation

@LawrenceMarsman
Copy link
Contributor

@LawrenceMarsman LawrenceMarsman commented Dec 2, 2025

Summary

  • Rename LimitOrderStatus enum to LimitOrderState to better reflect that it represents the life-cycle state of a limit order
  • Rename status field to state on the LimitOrder message
  • Add live_ledger_data field to MonitorLimitOrderRequest to enable fetching live ledger data when monitoring orders via streaming

Details

Enum and Field Rename

The LimitOrderStatus enum has been renamed to LimitOrderState to clarify its purpose as a life-cycle state indicator. The corresponding field on LimitOrder was renamed from status to state.

MonitorLimitOrderRequest Enhancement

Added live_ledger_data boolean field to MonitorLimitOrderRequest:

  • When true: fetches live ledger data for the order
  • When false: returns only stored metadata
  • Note: Streaming updates are triggered by limit order state changes only, not by ledger events such as fill amount changes. If live_ledger_data is set to true, live ledger data will be populated with each state update.

Files Changed

  • proto/meshtrade/trading/limit_order/v1/limit_order.proto
  • proto/meshtrade/trading/limit_order/v1/service.proto
  • Generated code in Go and Python SDKs

@BRBussy BRBussy changed the title Limit Order state Limit Order: Rename status to state and add live_ledger_data to MonitorLimitOrderRequest Dec 2, 2025
BRBussy and others added 2 commits December 2, 2025 12:13
Aligns documentation Go examples with the proto rename of status → state
and LimitOrderStatus → LimitOrderState.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@BRBussy BRBussy merged commit b7c8f5e into master Dec 2, 2025
@BRBussy BRBussy deleted the Limit_Order_Public_API_fixes branch December 2, 2025 11:19
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.

3 participants