diff --git a/Kucoin.Net/Clients/SpotApi/KucoinRestClientSpotApiHfTrading.cs b/Kucoin.Net/Clients/SpotApi/KucoinRestClientSpotApiHfTrading.cs index d3efc627..dfb354f4 100644 --- a/Kucoin.Net/Clients/SpotApi/KucoinRestClientSpotApiHfTrading.cs +++ b/Kucoin.Net/Clients/SpotApi/KucoinRestClientSpotApiHfTrading.cs @@ -194,7 +194,7 @@ public async Task> PlaceTestOrderAsync( } /// - public async Task>> PlaceMultipleOrdersAsync(string symbol, IEnumerable orders, CancellationToken ct = default) + public async Task>> PlaceMultipleOrdersAsync(IEnumerable orders, CancellationToken ct = default) { var orderList = orders.ToList(); if (!orderList.Any()) @@ -206,7 +206,6 @@ public async Task>> Pl var parameters = new ParameterCollection { - { "symbol", symbol }, { "orderList", orderList } }; @@ -223,7 +222,7 @@ public async Task>> Pl } /// - public async Task>> PlaceMultipleOrdersWaitAsync(string symbol, IEnumerable orders, CancellationToken ct = default) + public async Task>> PlaceMultipleOrdersWaitAsync(IEnumerable orders, CancellationToken ct = default) { var orderList = orders.ToList(); if (!orderList.Any()) @@ -235,7 +234,6 @@ public async Task>> PlaceMu var parameters = new ParameterCollection { - { "symbol", symbol }, { "orderList", orderList } }; diff --git a/Kucoin.Net/Interfaces/Clients/SpotApi/IKucoinRestClientSpotApiHfTrading.cs b/Kucoin.Net/Interfaces/Clients/SpotApi/IKucoinRestClientSpotApiHfTrading.cs index 454ff5fe..6aa7304f 100644 --- a/Kucoin.Net/Interfaces/Clients/SpotApi/IKucoinRestClientSpotApiHfTrading.cs +++ b/Kucoin.Net/Interfaces/Clients/SpotApi/IKucoinRestClientSpotApiHfTrading.cs @@ -154,21 +154,19 @@ Task> EditOrderAsync( /// Place multiple orders and only wait for confirmation. This is the faster version of /// /// - /// Symbol /// Orders to place /// Cancellation token /// - Task>> PlaceMultipleOrdersAsync(string symbol, IEnumerable orders, CancellationToken ct = default); + Task>> PlaceMultipleOrdersAsync(IEnumerable orders, CancellationToken ct = default); /// /// Place multiple orders and wait for and return the full order results. This is the slower version of /// /// - /// Symbol /// Orders to place /// Cancellation token /// - Task>> PlaceMultipleOrdersWaitAsync(string symbol, IEnumerable orders, CancellationToken ct = default); + Task>> PlaceMultipleOrdersWaitAsync(IEnumerable orders, CancellationToken ct = default); /// /// Cancel an order and only wait for confirmation. This is the faster version of diff --git a/Kucoin.Net/Kucoin.Net.xml b/Kucoin.Net/Kucoin.Net.xml index 7b0bf6db..3f5f9738 100644 --- a/Kucoin.Net/Kucoin.Net.xml +++ b/Kucoin.Net/Kucoin.Net.xml @@ -556,10 +556,10 @@ - + - + @@ -3593,22 +3593,20 @@ Cancellation token The id of the modified order - + - Place multiple orders and only wait for confirmation. This is the faster version of + Place multiple orders and only wait for confirmation. This is the faster version of - Symbol Orders to place Cancellation token - + - Place multiple orders and wait for and return the full order results. This is the slower version of + Place multiple orders and wait for and return the full order results. This is the slower version of - Symbol Orders to place Cancellation token @@ -8546,7 +8544,7 @@ - Time after which the order is canceled + Timespan in seconds after which the order is canceled diff --git a/Kucoin.Net/Objects/Models/Spot/KucoinHfBulkOrderRequestEntry.cs b/Kucoin.Net/Objects/Models/Spot/KucoinHfBulkOrderRequestEntry.cs index 2d91fe51..9185ed2c 100644 --- a/Kucoin.Net/Objects/Models/Spot/KucoinHfBulkOrderRequestEntry.cs +++ b/Kucoin.Net/Objects/Models/Spot/KucoinHfBulkOrderRequestEntry.cs @@ -68,11 +68,10 @@ public record KucoinHfBulkOrderRequestEntry [JsonProperty("timeInForce")] public TimeInForce? TimeInForce { get; set; } /// - /// Time after which the order is canceled + /// Timespan in seconds after which the order is canceled /// - [JsonConverter(typeof(DateTimeConverter))] [JsonProperty("cancelAfter")] - public DateTime? CancelAfter { get; set; } + public int? CancelAfter { get; set; } /// /// Whether the order is post only ///