diff --git a/ByBit.Net/Clients/V5/BybitSocketClientPrivateApi.cs b/ByBit.Net/Clients/V5/BybitSocketClientPrivateApi.cs index d1bdab03..e192a544 100644 --- a/ByBit.Net/Clients/V5/BybitSocketClientPrivateApi.cs +++ b/ByBit.Net/Clients/V5/BybitSocketClientPrivateApi.cs @@ -312,7 +312,7 @@ public async Task> CancelOrderAsync(Category category, { var timestamp = DateTimeConverter.ConvertToMilliseconds(DateTime.UtcNow.AddMilliseconds(-1000)).Value.ToString(CultureInfo.InvariantCulture); var query = new BybitRequestQuery( - "order.amend", + "order.cancel", new Dictionary { { "X-BAPI-TIMESTAMP", timestamp },