Skip to content

Commit

Permalink
Update OKXRestClientUnifiedApiTrading.cs
Browse files Browse the repository at this point in the history
merge error was fixed
  • Loading branch information
mkarakucuk authored Oct 16, 2024
1 parent ce2b131 commit d419e1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions OKX.Net/Clients/UnifiedApi/OKXRestClientUnifiedApiTrading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ public virtual async Task<WebCallResult<IEnumerable<OKXOrderCancelResponse>>> Ca
var parameters = new ParameterCollection();
parameters.SetBody(orders);

var request = _definitions.GetOrCreate(HttpMethod.Post, $"api/v5/trade/cancel-batch-orders", OKXExchange.RateLimiter.EndpointGate, 1, true,
limitGuard: new SingleLimitGuard(300, TimeSpan.FromSeconds(2), RateLimitWindowType.Sliding, keySelector: SingleLimitGuard.PerApiKey));
var request = _definitions.GetOrCreate(HttpMethod.Post, $"api/v5/trade/cancel-batch-orders", OKXExchange.RateLimiter.EndpointGate, 1, true,
limitGuard: new SingleLimitGuard(300, TimeSpan.FromSeconds(2), RateLimitWindowType.Sliding, keySelector: SingleLimitGuard.PerApiKey));
var result = await _baseClient.SendRawAsync<OKXRestApiResponse<IEnumerable<OKXOrderCancelResponse>>>(request, parameters, ct).ConfigureAwait(false);
Expand Down

0 comments on commit d419e1b

Please sign in to comment.