public void applySpecification(ExchangeSpecification exchangeSpecification) {
super.applySpecification(exchangeSpecification);
this.pollingMarketDataService = new OkCoinMarketDataService(exchangeSpecification);
if (exchangeSpecification.getApiKey() != null) {
this.pollingAccountService = new OkCoinAccountService(exchangeSpecification);
this.pollingTradeService = new OkCoinTradeService(exchangeSpecification);
}
}