public TradeMessage(ITrade trade) : this() { TradeId = trade.TradeId; SymbolName = trade.symbol.name; Price = trade.price; Quantity = trade.quantity; InitialQuantity = trade.InitialQuantity; Timestamp = trade.timestamp; Type = trade.type; Status = trade.Status; PaidCommission = trade.PaidCommission; TransactionId = trade.TransactionId; RelatedTradeId = trade.RelatedTradeId; }