From dc50a5f65c65e0a45ad3840fa7fac8f2906da3ab Mon Sep 17 00:00:00 2001 From: Dmitri Karpovich Date: Thu, 15 Aug 2024 09:53:41 +0200 Subject: [PATCH] [okx] Fix wrong field name --- .../knowm/xchange/okex/dto/trade/OkexCancelOrderRequest.java | 2 +- .../java/org/knowm/xchange/okex/dto/trade/OkexOrderRequest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexCancelOrderRequest.java b/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexCancelOrderRequest.java index c1ef466965d..5c586c3f261 100644 --- a/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexCancelOrderRequest.java +++ b/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexCancelOrderRequest.java @@ -12,6 +12,6 @@ public class OkexCancelOrderRequest { @JsonProperty("ordId") private String orderId; - @JsonProperty("clOrderId") + @JsonProperty("clOrdId") private String clientOrderId; } diff --git a/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexOrderRequest.java b/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexOrderRequest.java index bdadcdf4593..bb4d1e29715 100644 --- a/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexOrderRequest.java +++ b/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexOrderRequest.java @@ -16,7 +16,7 @@ public class OkexOrderRequest { @JsonProperty("ccy") private String marginCurrency; - @JsonProperty("clOrderId") + @JsonProperty("clOrdId") private String clientOrderId; @JsonProperty("tag")