public Trade(int profit, bool isLong, TimeSpan duration, Advice advice) { Profit = profit; IsLong = isLong; Duration = duration; Advice = advice; }
public Deal(int price, DateTime dateTime, bool isBuy, Advice advice = null) { Price = price; IsBuy = isBuy; DateTime = dateTime; Advice = advice; }