Helius
2021-04-14 f3948fa31158c7b7dea3b038e01c43ce54c55a1c
src/main/java/com/xcong/excoin/quartz/job/NewestPriceUpdateJob.java
@@ -45,7 +45,6 @@
        subscriptionOptions.setUri("wss://api.hadax.com/ws");
        SubscriptionClient subscriptionClient = SubscriptionClient.create("", "", subscriptionOptions);
        subscriptionClient.subscribeTradeEvent("btcusdt,ethusdt,xrpusdt,ltcusdt,bchusdt,eosusdt,etcusdt", tradeEvent -> {
            log.info("======{}", JSONObject.toJSONString(tradeEvent));
            String symbol = tradeEvent.getSymbol();
            // 根据symbol判断做什么操作
            symbol = CoinTypeConvert.convert(symbol);