diff --git a/DeepCoin.Net/Enums/OrderStatus.cs b/DeepCoin.Net/Enums/OrderStatus.cs index eb64de2..bfd1a4c 100644 --- a/DeepCoin.Net/Enums/OrderStatus.cs +++ b/DeepCoin.Net/Enums/OrderStatus.cs @@ -16,9 +16,9 @@ public enum OrderStatus [Map("live", "4")] Live, /// - /// ["partially_filled"] Partially filled open order + /// ["partially_filled", "2"] Partially filled open order /// - [Map("partially_filled")] + [Map("partially_filled", "2")] PartiallyFilled, /// /// ["canceled"] Canceled @@ -29,6 +29,11 @@ public enum OrderStatus /// ["filled"] Filled /// [Map("filled", "1")] - Filled + Filled, + /// + /// ["partially_filled_canceled", "3"] Canceled after a partial fill + /// + [Map("partially_filled_canceled", "3")] + PartiallyFilledCanceled } } diff --git a/DeepCoin.Net/Objects/Models/DeepCoinOrderUpdate.cs b/DeepCoin.Net/Objects/Models/DeepCoinOrderUpdate.cs index ff4c972..c18ce7f 100644 --- a/DeepCoin.Net/Objects/Models/DeepCoinOrderUpdate.cs +++ b/DeepCoin.Net/Objects/Models/DeepCoinOrderUpdate.cs @@ -111,6 +111,12 @@ public record DeepCoinOrderUpdate /// [JsonPropertyName("v")] public decimal QuantityFilled { get; set; } + /// + /// ["VT"] Cumulative quantity traded; null when this field is absent + /// + /// + [JsonPropertyName("VT")] + public decimal? QuantityTraded { get; set; } }