adshao / go-binance

A Go SDK for Binance API
MIT License
1.48k stars 662 forks source link

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

Closed xyq-c-cpp closed 6 days ago

xyq-c-cpp commented 6 days ago
  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. #524