Skip to content

Add account profit/loss fund flow endpoint#104

Open
zaixincheng174-ai wants to merge 1 commit into
singlesly:mainfrom
zaixincheng174-ai:codex/account-income-78
Open

Add account profit/loss fund flow endpoint#104
zaixincheng174-ai wants to merge 1 commit into
singlesly:mainfrom
zaixincheng174-ai:codex/account-income-78

Conversation

@zaixincheng174-ai
Copy link
Copy Markdown

/claim #78

Closes #78

Summary

  • add the signed account profit and loss fund flow endpoint for GET /openApi/swap/v2/user/income
  • expose it through AccountService and the endpoint barrel export
  • add focused unit coverage for service dispatch, request path/method, parameter serialization, and optional filter omission
  • mark the README account-income feature as supported

Validation

  • npx jest src/bingx-client/services/account-income.service.spec.ts --runInBand
  • npx eslint src/bingx/endpoints/bingx-account-profit-loss-fund-flow-endpoint.ts src/bingx/endpoints/index.ts src/bingx-client/services/account.service.ts src/bingx-client/services/account-income.service.spec.ts
  • npx prettier --check src/bingx/endpoints/bingx-account-profit-loss-fund-flow-endpoint.ts src/bingx/endpoints/index.ts src/bingx-client/services/account.service.ts src/bingx-client/services/account-income.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 account profit and loss fund flow endpoint

1 participant