public BitZTickerAll getTickerAll ( CurrencyPair ... currencyPairs ) throws IOException { List < String > symbolList = new ArrayList <> ( currencyPairs . length ) ; Arrays . stream ( currencyPairs ) . forEach ( currencyPair -> symbolList . add ( BitZUtils . toPairString ( currencyPair ) ) ) ; String symbols = symbolList . stream ( ) . collect ( Collectors . joining ( "," ) ) ; BitZTickerAllResult result = bitz . getTickerAll ( symbols ) ; return result . getData ( ) ; }
Get the price of all symbol