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

fix batchOrder response and fix futures.WsUserDataEvent.Time error while calling json.Unmarshal #581

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

xyq-c-cpp
Copy link
Collaborator

@xyq-c-cpp xyq-c-cpp commented Jun 24, 2024

  1. When calling batch ordering and batch cancellation in the options package, the response may contain {"code": -1121, "msg": "Invalid symbol."} objects. Adjust the return value type of the current interface to handle this case.
  2. When the listenKey expires, the Time field in the JSON string for futures.WsUserDataEvent may be of type string, which can cause JSON deserialization errors. Fix this issue. when listenKey expired get error:json: cannot unmarshal string into Go struct field WsUserDataEvent.E of type int64 #524

@adshao adshao merged commit b3a9097 into ccxt:master Jun 24, 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.

2 participants