error as below:
json: cannot unmarshal object into Go value of type []spotws.WsOCOOrder
I fixed it and then realised that we are not tracking userData AccountUpdate (not sure if you were blocked by this unmarshal issue), so I added it as well.
Otherwise we may have the same error :
json: cannot unmarshal object into Go value of type []spotws.WsAccountUpdate
error as below:
json: cannot unmarshal object into Go value of type []spotws.WsOCOOrder
I fixed it and then realised that we are not tracking userData
AccountUpdate
(not sure if you were blocked by this unmarshal issue), so I added it as well. Otherwise we may have the same error :json: cannot unmarshal object into Go value of type []spotws.WsAccountUpdate