diff --git a/Huobi.Net/Clients/UsdtMarginSwapApi/HuobiClientUsdtMarginSwapApiTrading.cs b/Huobi.Net/Clients/UsdtMarginSwapApi/HuobiClientUsdtMarginSwapApiTrading.cs index e0bdb03b..e5bf5fb4 100644 --- a/Huobi.Net/Clients/UsdtMarginSwapApi/HuobiClientUsdtMarginSwapApiTrading.cs +++ b/Huobi.Net/Clients/UsdtMarginSwapApi/HuobiClientUsdtMarginSwapApiTrading.cs @@ -48,7 +48,7 @@ public async Task> PlaceIsolatedMarginOrderAsy { "volume", quantity.ToString(CultureInfo.InvariantCulture) }, { "direction", EnumConverter.GetString(side) }, { "lever_rate", leverageRate }, - { "channel_code", ExchangeHelpers.AppendRandomString(_baseClient._brokerId, 64) } + { "channel_code", _baseClient._brokerId } }; parameters.AddOptionalParameter("price", price?.ToString(CultureInfo.InvariantCulture)); parameters.AddOptionalParameter("offset", EnumConverter.GetString(offset)); @@ -91,7 +91,7 @@ public async Task> PlaceCrossMarginOrderAsync( { "volume", quantity.ToString(CultureInfo.InvariantCulture) }, { "direction", EnumConverter.GetString(side) }, { "lever_rate", leverageRate }, - { "channel_code", ExchangeHelpers.AppendRandomString(_baseClient._brokerId, 64) } + { "channel_code", _baseClient._brokerId } }; parameters.AddOptionalParameter("contract_code", contractCode); parameters.AddOptionalParameter("pair", symbol);