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

new types of AccountBookItem #157

Open
tsinin opened this issue Dec 6, 2023 · 1 comment
Open

new types of AccountBookItem #157

tsinin opened this issue Dec 6, 2023 · 1 comment

Comments

@tsinin
Copy link

tsinin commented Dec 6, 2023

got Invalid value for type (bonus_offset), must be one of ['dnw', 'pnl', 'fee', 'refr', 'fund', 'point_dnw', 'point_fee', 'point_refr']
while trying to get futures account book.

I guess it is because of some bonuses that applies to account last time on GateIo. bonus_offset is not the only new type, there are more.
So now it is impossible to use this function (list_futures_account_book). Fix it, please

@revilwang
Copy link
Collaborator

revilwang commented Dec 7, 2023

The latest 4.60.2 has been updated to pypi which includes the missing bonus_offset.
In the next major version, we're planning to remove the value check to make sure new field values won't affect old versions

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

No branches or pull requests

2 participants