Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
 public void AddCommand(iExchange.Common.Token token, iExchange.Common.Command command)
 {
     CommandManager.Default.Send(command);
 }
Exemplo n.º 3
0
 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)));
 }