コード例 #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);
            }
        }
コード例 #2
0
 public void AddCommand(iExchange.Common.Token token, iExchange.Common.Command command)
 {
     CommandManager.Default.Send(command);
 }
コード例 #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)));
 }