diff --git a/Binance.Net/Enums/TimeInForce.cs b/Binance.Net/Enums/TimeInForce.cs index 08210e174..8e37630c6 100644 --- a/Binance.Net/Enums/TimeInForce.cs +++ b/Binance.Net/Enums/TimeInForce.cs @@ -31,6 +31,11 @@ public enum TimeInForce /// Good til the order expires or is canceled /// [Map("GTE_GTC")] - GoodTillExpiredOrCanceled + GoodTillExpiredOrCanceled, + /// + /// Good til date + /// + [Map("GTD")] + GoodTillDate } } diff --git a/Binance.Net/Objects/Models/Futures/BinanceFuturesSymbol.cs b/Binance.Net/Objects/Models/Futures/BinanceFuturesSymbol.cs index c161ea86f..64055fce9 100644 --- a/Binance.Net/Objects/Models/Futures/BinanceFuturesSymbol.cs +++ b/Binance.Net/Objects/Models/Futures/BinanceFuturesSymbol.cs @@ -116,7 +116,7 @@ public class BinanceFuturesSymbol /// /// Allowed order time in force /// - [JsonProperty(ItemConverterType = typeof(TimeInForceConverter))] + [JsonProperty(ItemConverterType = typeof(EnumConverter))] public IEnumerable TimeInForce { get; set; } = Array.Empty(); /// /// Filter for the max accuracy of the price for this symbol