class BankeraExchange extends BaseExchange implements Exchange {

  private SynchronizedValueFactory<Long> nonceFactory = new TimestampIncrementingNonceFactory();
  protected BankeraToken token;

  @Override
  protected void initServices() {
    this.accountService = new BankeraAccountService(this);
    this.marketDataService = new BankeraMarketDataService(this);
    this.tradeService = new BankeraTradeService(this);
  }

  @Override
  public ExchangeSpecification getDefaultExchangeSpecification() {<FILL_FUNCTION_BODY>}

  @Override
  public SynchronizedValueFactory<Long> getNonceFactory() {
    return nonceFactory;
  }

  public BankeraToken getToken() {
    if (token == null || token.getExpirationTime() < System.currentTimeMillis() + 30000L) {
      try {
        token = ((BankeraBaseService) accountService).createToken();
      } catch (BankeraException e) {
        throw BankeraAdapters.adaptError(e);
      }
    }
    return token;
  }
}


    ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass());
    exchangeSpecification.setSslUri("https://api-exchange.bankera.com");
    exchangeSpecification.setHost("api-exchange.bankera.com");
    exchangeSpecification.setPort(443);
    exchangeSpecification.setExchangeName("Bankera");
    exchangeSpecification.setExchangeDescription("The Bankera exchange.");

    return exchangeSpecification;
  
<methods>public non-sealed void <init>() ,public void applySpecification(org.knowm.xchange.ExchangeSpecification) ,public org.knowm.xchange.service.account.AccountService getAccountService() ,public List<org.knowm.xchange.instrument.Instrument> getExchangeInstruments() ,public org.knowm.xchange.dto.meta.ExchangeMetaData getExchangeMetaData() ,public org.knowm.xchange.ExchangeSpecification getExchangeSpecification() ,public org.knowm.xchange.service.marketdata.MarketDataService getMarketDataService() ,public java.lang.String getMetaDataFileName(org.knowm.xchange.ExchangeSpecification) ,public SynchronizedValueFactory<java.lang.Long> getNonceFactory() ,public org.knowm.xchange.service.trade.TradeService getTradeService() ,public void remoteInit() throws java.io.IOException, org.knowm.xchange.exceptions.ExchangeException,public java.lang.String toString() <variables>protected org.knowm.xchange.service.account.AccountService accountService,protected org.knowm.xchange.dto.meta.ExchangeMetaData exchangeMetaData,protected org.knowm.xchange.ExchangeSpecification exchangeSpecification,protected final Logger logger,protected org.knowm.xchange.service.marketdata.MarketDataService marketDataService,private final SynchronizedValueFactory<java.lang.Long> nonceFactory,protected org.knowm.xchange.service.trade.TradeService tradeService