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

changed bool types to string in reduceOnly, closePosition, priceProtect. #506

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

size12
Copy link
Contributor

@size12 size12 commented Aug 15, 2023

There are should be STRING types in this fields.
image

BOOL type is still working in single order requests, but not is batch ones.

@size12
Copy link
Contributor Author

size12 commented Feb 27, 2024

@adshao please check🙂

@adshao
Copy link
Owner

adshao commented Mar 2, 2024

Hi @size12 , could you please add unit tests for this change?

@maggch97
Copy link

This fix works in my project. Before this fix, I always got error when using BatchOrder [ code=-1102, msg=Mandatory parameter 'reduceOnly' was not sent, was empty/null, or malformed. code=-1102, msg=Mandatory parameter 'reduceOnly' was not sent, was empty/null, or malformed.]}

@size12
Copy link
Contributor Author

size12 commented Jun 3, 2024

@adshao hi, this problem still exists, so please review my PR :)

@adshao adshao merged commit 6d8559f into adshao:master Jun 3, 2024
1 check passed
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.

None yet

3 participants