public static Enums.TimeInForce ToCoreEquivalent(this BinanceNet.Objects.TimeInForce input) { switch (input) { case BinanceNet.Objects.TimeInForce.GoodTillCancel: return(Enums.TimeInForce.GoodTilCanceled); case BinanceNet.Objects.TimeInForce.ImmediateOrCancel: return(Enums.TimeInForce.ImmediateOrCancel); } throw new ArgumentException($"{input} is an unknown TimeInForce"); }
public static core.TimeInForce ConvertTimeInForce(binance.Objects.TimeInForce timeInForce) { throw new NotImplementedException(); }