public TradesEntryModel Transform() { var model = new TradesEntryModel { Price = DecimalConverter.Normalize(Price), Amount = DecimalConverter.Normalize(Amount), Timestamp = DateTimeConverter.ConvertTimestamp(Timestamp).ToLocalTime(), Info = Misc, Side = StringToOrderSide(Side), Type = Type }; return(model); }
public TradesEntryModel Transform() { var model = new TradesEntryModel { Timestamp = DateTimeConverter.ConvertTimestamp(Timestamp).ToLocalTime(), Amount = DecimalConverter.Normalize(Amount), Price = DecimalConverter.Normalize(Price), Info = Exchange, OrderId = Tid, Side = StringToOrderSide(Type) }; return(model); }