diff --git a/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs b/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs index 40bb6f65..605e4078 100644 --- a/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs +++ b/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs @@ -642,6 +642,9 @@ protected override async Task OnGetOrderDetailsAsync(string // Add up the fees from each trade in the order Dictionary feesPayload = await GetNoncePayloadAsync(); feesPayload["symbol"] = marketSymbol!; + if (!isClientOrderId) { + feesPayload["orderId"] = orderId; + } JToken feesToken = await MakeJsonRequestAsync("/myTrades", BaseUrlApi, feesPayload); ParseFees(feesToken, result);