如何解决在Binance Java Client API上按数量过滤
我正在使用此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 举报,一经查实,本站将立刻删除。