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