Skip to content

Add query leverage endpoint#103

Open
zaixincheng174-ai wants to merge 1 commit into
singlesly:mainfrom
zaixincheng174-ai:codex/query-leverage-87
Open

Add query leverage endpoint#103
zaixincheng174-ai wants to merge 1 commit into
singlesly:mainfrom
zaixincheng174-ai:codex/query-leverage-87

Conversation

@zaixincheng174-ai
Copy link
Copy Markdown

Summary

  • add BingxQueryLeverageEndpoint for GET /openApi/swap/v2/trade/leverage
  • expose it through TradeService.queryLeverage(...)
  • export the endpoint and mark Query Leverage as implemented in the README checklist
  • add focused unit coverage for endpoint parameters and service dispatch

Closes #87

/claim #87

Validation

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

Implementation was prepared with AI-assisted coding and locally reviewed before submission.

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 query leverage endpoint

1 participant