protected AddAutoCloseTransactionCommandBase(Account account, IAddTranCommandService addTranCommandService, Order openOrder, Price closePrice, OrderType orderType) : base(account, Visitors.AddAutoCloseTransactionCommandVisitor.Default, addTranCommandService) { this.OpenOrder = openOrder; this.ClosePrice = closePrice; this.OrderType = orderType; }
protected AddMultipleCloseTranCommandBase(Account account, IAddTranCommandService commandService, Guid instrumentId, decimal contractSize, Guid submitorId) : base(account, Visitors.AddMultipleCloseTranCommandVisitor.Default, commandService) { this.InstrumentId = instrumentId; this.ContractSize = contractSize; this.SubmitorId = submitorId; }
protected AddCutTransactionCommandBase(Account account, IAddTranCommandService addTranCommandService, Instrument instrument, decimal lotBalanceSum, Price setPrice, bool isBuy) : base(account, Visitors.AddCutTransactionCommandVisitor.Default, addTranCommandService) { this.Instrument = instrument; this.LotBalanceSum = lotBalanceSum; this.SetPrice = setPrice; this.IsBuy = isBuy; }
protected AddDoneTransactionCommandBase(Account account, IAddTranCommandService addTranCommandService, Transaction ifTran, Guid sourceOrderId, Price limitPrice, Price stopPrice) : base(account, Visitors.AddDoneTransactionCommandVisitor.Default, addTranCommandService) { this.IfTran = ifTran; this.SourceOrderId = sourceOrderId; this.LimitPrice = limitPrice; this.StopPrice = stopPrice; }
protected AddDataRowTransactionCommandBase(Account account, IAddTranCommandService addTranCommandService, IDBRow dr, Framework.OperationType operationType) : base(account, Visitors.AddDataRowFormatTransactionCommandVisitor.Default, addTranCommandService) { this.DataRow = dr; this.OperationType = operationType; }
protected AddTranCommandBase(Account account, Visitors.AddTransactionCommandVisitorBase visitor, IAddTranCommandService addTranCommandService) { this.Account = account; _visitor = visitor; _addTranCommandService = addTranCommandService; }
protected AddCloseTransactionCommandBase(Account account, IAddTranCommandService addTranCommandService, Order openOrder) : base(account, Visitors.AddCloseTransactionCommandVisitor.Default, addTranCommandService) { this.OpenOrder = openOrder; }
protected AddCommunicationTransactionCommandBase(Account account, IAddTranCommandService addTranCommandService, Protocal.TransactionData tranData) : base(account, Visitors.AddCommunicationTransactionCommandVisitor.Default, addTranCommandService) { this.TranData = tranData; }
protected AddBookTransactionCommandBase(Account account, IAddTranCommandService commandService, Visitors.AddTransactionCommandVisitorBase visitor, Protocal.TransactionBookData tranData) : base(account, visitor, commandService) { this.TranData = tranData; }
protected AddLmtQuantiryOnMaxLotChangeTransactionCommandBase(Account account, IAddTranCommandService addTranCommandService, Order originOrder, decimal lot) : base(account, Visitors.AddLmtQuantiryOnMaxLotChangeTransactionCommandVisitor.Default, addTranCommandService) { this.OriginOrder = originOrder; this.Lot = lot; }