public static Ticker adaptTicker ( HuobiTicker huobiTicker , CurrencyPair currencyPair ) { Ticker . Builder builder = new Ticker . Builder ( ) ; builder . open ( huobiTicker . getOpen ( ) ) ; builder . ask ( huobiTicker . getAsk ( ) . getPrice ( ) ) ; builder . bid ( huobiTicker . getBid ( ) . getPrice ( ) ) ; builder . last ( huobiTicker . getClose ( ) ) ; builder . high ( huobiTicker . getHigh ( ) ) ; builder . low ( huobiTicker . getLow ( ) ) ; builder . volume ( huobiTicker . getVol ( ) ) ; builder . timestamp ( huobiTicker . getTs ( ) ) ; builder . currencyPair ( currencyPair ) ; return builder . build ( ) ; }
Trading fee at Huobi is 0 . 2 %