We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8d26e25 https://www.htx.com/en-us/opend/newApiPages/?id=8cb89359-77b5-11ed-9966-193afaf3b53
#region Cancel All Orders + + /// <inheritdoc /> + public async Task<WebCallResult<HTXCancelAllResult>> CancelAllOrdersAsync(IEnumerable<string>? symbols = null, CancellationToken ct = default) + { + //todo test me + + var parameters = new ParameterCollection(); + parameters.AddOptionalParameter("symbol", symbols == null ? null : string.Join(",", symbols.Select(x => x.ToLowerInvariant()))); + + var request = _definitions.GetOrCreate(HttpMethod.Post, "v1/order/cancel-all-orders", HTXExchange.RateLimiter.EndpointLimit, 1, true, + new SingleLimitGuard(1, TimeSpan.FromSeconds(2), RateLimitWindowType.Sliding, keySelector: SingleLimitGuard.PerApiKey)); + return await _baseClient.SendBasicAsync<HTXCancelAllResult>(request, parameters, ct).ConfigureAwait(false); + } + + #endregion
The text was updated successfully, but these errors were encountered:
No branches or pull requests
8d26e25
https://www.htx.com/en-us/opend/newApiPages/?id=8cb89359-77b5-11ed-9966-193afaf3b53
The text was updated successfully, but these errors were encountered: