diff --git a/exchanges/huobi/huobi_wrapper.go b/exchanges/huobi/huobi_wrapper.go index 77798636..025a6292 100644 --- a/exchanges/huobi/huobi_wrapper.go +++ b/exchanges/huobi/huobi_wrapper.go @@ -945,6 +945,11 @@ func (h *HUOBI) SubmitOrder(ctx context.Context, s *order.Submit) (order.SubmitR } var oType string switch s.Type { + case order.Market: + oType = "opponent" + if s.ImmediateOrCancel { + oType = "opponent_ioc" + } case order.Limit: oType = "limit" case order.PostOnly: