Skip to content

Add current pending orders endpoint#105

Open
zaixincheng174-ai wants to merge 1 commit into
singlesly:mainfrom
zaixincheng174-ai:codex/current-pending-orders-84
Open

Add current pending orders endpoint#105
zaixincheng174-ai wants to merge 1 commit into
singlesly:mainfrom
zaixincheng174-ai:codex/current-pending-orders-84

Conversation

@zaixincheng174-ai
Copy link
Copy Markdown

/claim #84

Closes #84

Summary

  • add the signed current pending orders endpoint for GET /openApi/swap/v2/trade/openOrders
  • expose it through TradeService and the endpoint barrel export
  • add focused unit coverage for service dispatch, request path/method, parameter serialization, and optional filter omission
  • mark the README current pending orders feature as supported

Validation

  • npx jest src/bingx-client/services/trade-current-pending-orders.service.spec.ts --runInBand
  • npx eslint src/bingx/endpoints/bingx-current-pending-orders-endpoint.ts src/bingx/endpoints/index.ts src/bingx-client/services/trade.service.ts src/bingx-client/services/trade-current-pending-orders.service.spec.ts
  • npx prettier --check src/bingx/endpoints/bingx-current-pending-orders-endpoint.ts src/bingx/endpoints/index.ts src/bingx-client/services/trade.service.ts src/bingx-client/services/trade-current-pending-orders.service.spec.ts
  • git diff --check
  • npm run build

Disclosure

Prepared with AI assistance and locally validated.

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.

Implement current pending orders query endpoint

1 participant