Skip to content

Commit

Permalink
Fix broker ref futures
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Apr 12, 2024
1 parent b37858e commit 1450c7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public async Task<WebCallResult<HuobiPlacedOrderId>> 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));
Expand Down Expand Up @@ -91,7 +91,7 @@ public async Task<WebCallResult<HuobiPlacedOrderId>> 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);
Expand Down

0 comments on commit 1450c7b

Please sign in to comment.