Skip to content

Commit

Permalink
Okx: Fix ClientOrderID ignored in ws orders
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Sep 7, 2023
1 parent 178474e commit f43a5b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exchanges/okx/okx_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,7 @@ func (ok *Okx) wsProcessOrders(respRaw []byte) error {
AverageExecutedPrice: response.Data[x].AveragePrice.Float64(),
Exchange: ok.Name,
OrderID: response.Data[x].OrderID,
ClientOrderID: response.Data[x].ClientOrderID,
Type: orderType,
Side: response.Data[x].Side,
Status: orderStatus,
Expand Down

0 comments on commit f43a5b9

Please sign in to comment.