code: @Override
  	public void sendCommand(final BitfinexCommand command) {
  		try {
  			if (command instanceof BitfinexStreamSymbolToChannelIdResolverAware) {
  				final BitfinexStreamSymbolToChannelIdResolverAware aware = (BitfinexStreamSymbolToChannelIdResolverAware) command;
  				aware.setResolver(symbol -> {
  					final Integer channelId = getChannelForSymbol(symbol);
  					if (channelId == null) {
  						throw new IllegalArgumentException("Unknown symbol: " + symbol);
  					}
  					return channelId;
  				});
  			}
  			final String json = command.getCommand(this);
              logger.debug("Sent: {}", command);
  			websocketEndpoint.sendMessage(json);
  		} catch (final BitfinexCommandException e) {
  			logger.error("Got Exception while sending command", e);
  		}
  	}
docs: Send a new API command
  @param command