public void AddCommand(iExchange.Common.Token token, iExchange.Common.Command command)
        {
            QuotationCommand quotationCommand = command as QuotationCommand;

            if (quotationCommand != null)
            {
                var targetCommand = SystemController.Factory.CommandFactory.CreateQuotationCommand(quotationCommand.OriginQs, quotationCommand.OverridedQs);
                Broadcaster.Default.AddCommand(targetCommand);
            }
        }
Beispiel #2
0
 public void AddCommand(iExchange.Common.Token token, iExchange.Common.Command command)
 {
     CommandManager.Default.Send(command);
 }
 public iExchange.Common.TransactionError Book(iExchange.Common.Token token, TransactionBookData tranData, bool preserveCalculation)
 {
     Logger.InfoFormat("Book order tranId = {0}", tranData.Id);
     return(this.Call <TransactionError>(() => this.Service.Book(token, tranData, preserveCalculation)));
 }