HuobiRDCenter / huobi_Golang

Go SDK for Huobi Spot API
https://www.htx.com/zh-cn/opend/newApiPages/
Apache License 2.0
176 stars 86 forks source link

*OrderClient.CancelOrderById doesn't return order-state field #26

Closed choleraehyq closed 3 years ago

choleraehyq commented 3 years ago

Referring to https://huobiapi.github.io/docs/spot/v1/cn/#4e53c0fccd, /v1/order/orders/{order-id}/submitcancel should return an "order-state" field when error occurs.

eynzhang commented 3 years ago

@choleraehyq thanks for the feedback, the field "order-state” now is added and you can get it in latest master branch.