Skip to content

Commit

Permalink
fixup! Huobi: Add V2 websocket support
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Dec 17, 2024
1 parent fde0ad9 commit c942589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/huobi/huobi_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ func (h *HUOBI) wsHandleMyTradesMsg(s *subscription.Subscription, respRaw []byte
Amount: t.TradeVolume,
Fee: t.TransactFee,
Exchange: h.Name,
TID: strconv.Itoa(int(t.TradeID)),
TID: strconv.FormatInt(t.TradeID, 10),
Type: d.Type,
Side: d.Side,
IsMaker: !t.IsTaker,
Expand Down

0 comments on commit c942589

Please sign in to comment.