Skip to content

Commit

Permalink
Update BinanceRestClientUsdFuturesApiAgent.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex1911-Jiang committed Dec 5, 2024
1 parent 17d4e27 commit 8163802
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public async Task<WebCallResult<BinanceIfNewUser>> IfNewUser(string brokerId, in

var parameters = new ParameterCollection();
parameters.AddOptional("brokerId", brokerId.ToString(CultureInfo.InvariantCulture));
parameters.AddOptional("type", (int)IfNewUserMarginedFuturesType.UsdtMarginedFutures);
parameters.AddEnum("type", IfNewUserMarginedFuturesType.UsdtMarginedFutures);
parameters.AddOptionalParameter("recvWindow", receiveWindow?.ToString(CultureInfo.InvariantCulture) ?? _baseClient.ClientOptions.ReceiveWindow.TotalMilliseconds.ToString(CultureInfo.InvariantCulture));

var request = _definitions.GetOrCreate(HttpMethod.Get, "fapi/v1/apiReferral/ifNewUser", BinanceExchange.RateLimiter.FuturesRest, 100, true);
Expand Down

0 comments on commit 8163802

Please sign in to comment.