问题描述
我正在使用此Binance Java客户端,并且对它很新。我想按体积进行过滤,但没有在文档中的任何地方看到。 https://github.com/binance-exchange/binance-java-api
这是我的简单代码
private void BTCPairsOnly(){
List<TickerPrice> allPrices = client.getAllPrices();
for (TickerPrice tickerPrice: allPrices ) {
if (tickerPrice.getSymbol().contains("BTC") && volume is greater than 100 ){
System.out.println("BTC Pairs Only");
System.out.println(tickerPrice);
}
}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)