Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: POST /v5/account/set-collateral-switch-batch #185

Merged

Conversation

lyro41
Copy link
Contributor

@lyro41 lyro41 commented Oct 8, 2024

  • implement POST /v5/account/set-collateral-switch-batch endpoint
  • cover implemented endpoint with an integration test
  • cover implemented endpoint with a mock test
  • add MATIC and SOL coins to enums
  • fix account integration test building failures

README.md Outdated Show resolved Hide resolved
res, err := client.V5().Account().GetWalletBalance(bybit.AccountTypeUnified, nil)
res, err := client.V5().Account().GetWalletBalance(bybit.AccountTypeV5UNIFIED, nil)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

v5_account_service.go Outdated Show resolved Hide resolved
Copy link
Owner

@hirokisan hirokisan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

Very careful and comprehensive 👍

@hirokisan hirokisan merged commit c6d8b86 into hirokisan:main Oct 8, 2024
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.

2 participants