USER DATA STREAM
eventType executionReport has new fields
V - selfTradePreventionMode
D - trailing_time (Appears if the trailing stop order is active)
W - workingTime (Appears if isWorking=true)
According to https://golang.org/pkg/encoding/json/#Unmarshal
Unmarshal matches incoming object keys to the keys used by Marshal (either the struct field name or its tag), preferring an exact match but also accepting a case-insensitive match
If the "W" field is not added, there will be a bug "json: cannot unmarshal number into Go struct field WsOrderUpdate.w of type bool"
USER DATA STREAM eventType executionReport has new fields V - selfTradePreventionMode D - trailing_time (Appears if the trailing stop order is active) W - workingTime (Appears if isWorking=true)
According to https://golang.org/pkg/encoding/json/#Unmarshal Unmarshal matches incoming object keys to the keys used by Marshal (either the struct field name or its tag), preferring an exact match but also accepting a case-insensitive match
If the "W" field is not added, there will be a bug "json: cannot unmarshal number into Go struct field WsOrderUpdate.w of type bool"