protected AddCutOrderCommandBase(Transaction tran, AddOrderCommandServiceBase commandService, bool isBuy, decimal lotBalance, Price setPrice) : base(tran, Visitors.AddCutOrderCommandVisitor.Default, commandService) { this.IsBuy = isBuy; this.LotBalance = lotBalance; this.SetPrice = setPrice; }
protected AddDoneOrderCommandBase(Transaction tran, AddOrderCommandServiceBase commandService, Order openOrder, Price closePrice, TradeOption tradeOption) : base(tran, Visitors.AddDoneOrderCommandVisitor.Default, commandService) { this.OpenOrder = openOrder; this.ClosePrice = closePrice; this.TradeOption = tradeOption; }
protected AddMultipleCloseOrderCommandBase(Transaction tran, AddOrderCommandServiceBase commandService, decimal closedLot, Price executePrice, bool isBuy, List <OrderRelationRecord> orderRelations) : base(tran, AddMultipleCloseOrderCommandVisitor.Default, commandService) { this.ClosedLot = closedLot; this.ExecutePrice = executePrice; this.IsBuy = isBuy; this.OrderRelations = orderRelations; }
protected AddBookOrderCommandBase(Transaction tran, AddOrderCommandServiceBase commandService, Protocal.OrderBookData orderData, DateTime?tradeDay) : base(tran, Visitors.AddBookOrderCommandVisitor.Default, commandService, orderData, tradeDay) { }
protected AddCommunicationOrderCommandBase(Transaction tran, AddOrderCommandServiceBase commandService, Protocal.OrderData orderData) : base(tran, Visitors.AddCommunicationOrderCommandVisitor.Default, commandService, orderData, null) { }
protected AddCommunicationCommandBase(Transaction tran, Visitors.AddCommunicationOrderCommandVisitorBase visitor, AddOrderCommandServiceBase commandService, Protocal.OrderCommonData orderData, DateTime?tradeDay) : base(tran, visitor, commandService) { this.OrderData = orderData; this.TradeDay = tradeDay; }
protected AddDataRowOrderCommandBase(Transaction tran, AddOrderCommandServiceBase commandService, IDBRow dr) : base(tran, Visitors.AddDataRowFormatOrderCommandVisitor.Default, commandService) { this.DataRow = dr; }
protected AddOrderCommandBase(Transaction tran, AddOrderCommandVisitorBase visitor, AddOrderCommandServiceBase commandService) { this.Tran = tran; _visitor = visitor; _commandService = commandService; }
protected AddLmtQuantiryOnMaxLotChangeOrderCommandBase(Transaction tran, AddOrderCommandServiceBase commandService, Order originOrder, decimal lot) : base(tran, Visitors.AddLmtQuantiryOnMaxLotChangeOrderCommandVisitor.Default, commandService) { this.OriginOrder = originOrder; this.Lot = lot; }