Skip to content

Commit

Permalink
Added GoodTillDate TimeInForce, fixing UsdFutures GetExchangeInfoAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Sep 6, 2023
1 parent dcb77a3 commit 4ec7b6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Binance.Net/Enums/TimeInForce.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ public enum TimeInForce
/// Good til the order expires or is canceled
/// </summary>
[Map("GTE_GTC")]
GoodTillExpiredOrCanceled
GoodTillExpiredOrCanceled,
/// <summary>
/// Good til date
/// </summary>
[Map("GTD")]
GoodTillDate
}
}
2 changes: 1 addition & 1 deletion Binance.Net/Objects/Models/Futures/BinanceFuturesSymbol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public class BinanceFuturesSymbol
/// <summary>
/// Allowed order time in force
/// </summary>
[JsonProperty(ItemConverterType = typeof(TimeInForceConverter))]
[JsonProperty(ItemConverterType = typeof(EnumConverter))]
public IEnumerable<TimeInForce> TimeInForce { get; set; } = Array.Empty<TimeInForce>();
/// <summary>
/// Filter for the max accuracy of the price for this symbol
Expand Down

0 comments on commit 4ec7b6b

Please sign in to comment.