@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification specification = new ExchangeSpecification(this.getClass().getCanonicalName()); specification.setShouldLoadRemoteMetaData(false); specification.setPlainTextUri("http://webrates.truefx.com/"); specification.setExchangeName("TrueFX"); specification.setExchangeDescription("TrueFX exchange"); return specification; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification specification = new ExchangeSpecification(this.getClass().getCanonicalName()); specification.setShouldLoadRemoteMetaData(false); specification.setSslUri("https://webapi.coinfloor.co.uk:8090/"); specification.setExchangeName("Coinfloor"); specification.setExchangeDescription("Coinfloor exchange"); return specification; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification specification = new ExchangeSpecification(this.getClass().getCanonicalName()); specification.setShouldLoadRemoteMetaData(false); specification.setPlainTextUri("http://localhost:8332/"); specification.setExchangeName("BitcoinCore"); specification.setExchangeDescription("BitcoinCore wallet"); return specification; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass().getCanonicalName()); exchangeSpecification.setShouldLoadRemoteMetaData(false); exchangeSpecification.setSslUri("https://api.exmo.com"); exchangeSpecification.setHost("exmo.com"); exchangeSpecification.setPort(80); exchangeSpecification.setExchangeName("exmo"); exchangeSpecification.setExchangeDescription("exmo"); return exchangeSpecification; }
public static void main(String[] args) throws IOException { ExchangeSpecification exSpec = new GateioExchange().getDefaultExchangeSpecification(); exSpec.setShouldLoadRemoteMetaData(true); Exchange exchange = ExchangeFactory.INSTANCE.createExchange(exSpec); System.out.println(exchange.getExchangeSpecification().isShouldLoadRemoteMetaData()); System.out.println(exchange.getExchangeMetaData().toString()); System.out.println(exchange.getExchangeSymbols()); } }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification spec = super.getDefaultExchangeSpecification(); spec.setShouldLoadRemoteMetaData(false); return spec; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification spec = super.getDefaultExchangeSpecification(); spec.setShouldLoadRemoteMetaData(false); return spec; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification spec = super.getDefaultExchangeSpecification(); spec.setShouldLoadRemoteMetaData(false); return spec; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification spec = super.getDefaultExchangeSpecification(); spec.setShouldLoadRemoteMetaData(false); return spec; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification spec = super.getDefaultExchangeSpecification(); spec.setShouldLoadRemoteMetaData(false); return spec; }
@Override public ExchangeSpecification getDefaultExchangeSpecification() { ExchangeSpecification spec = super.getDefaultExchangeSpecification(); spec.setShouldLoadRemoteMetaData(false); return spec; }