From 0c27b71d08628463152e7bec4ea6e0d217747145 Mon Sep 17 00:00:00 2001 From: Eunchan Lee <12825679+ckcks12@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:18:57 +0900 Subject: [PATCH] order.cancel --- ByBit.Net/Clients/V5/BybitSocketClientPrivateApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 },