コード例 #1
0
 @Override
 public void unsubscribe(TQSymbol symbol) {
   SubscribeCommand subscribeCommand = new SubscribeCommand();
   subscribeCommand.subscribeQuotations(symbol);
   TransaqLibrary.SendCommand(subscribeCommand.createUnsubscribeCommand());
 }
コード例 #2
0
 public void subscribe(List<TQSymbol> symbols) {
   SubscribeCommand subscribeCommand = new SubscribeCommand();
   symbols.forEach(symbol -> subscribeCommand.subscribeQuotations(symbol));
   TransaqLibrary.SendCommand(subscribeCommand.createConnectCommand());
 }