Skip to content

Commit

Permalink
Added missing GoodTillDate TimeInForce conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed May 31, 2024
1 parent ccc1f9a commit 7a34301
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Binance.Net/Converters/TimeInForceConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public TimeInForceConverter(bool quotes) : base(quotes) { }
protected override List<KeyValuePair<TimeInForce, string>> Mapping => new List<KeyValuePair<TimeInForce, string>>
{
new KeyValuePair<TimeInForce, string>(TimeInForce.GoodTillCanceled, "GTC"),
new KeyValuePair<TimeInForce, string>(TimeInForce.GoodTillDate, "GTD"),
new KeyValuePair<TimeInForce, string>(TimeInForce.ImmediateOrCancel, "IOC"),
new KeyValuePair<TimeInForce, string>(TimeInForce.FillOrKill, "FOK"),
new KeyValuePair<TimeInForce, string>(TimeInForce.GoodTillCrossing, "GTX"),
Expand Down

0 comments on commit 7a34301

Please sign in to comment.