public Map < Long , WexTradeHistoryResult > getBTCETradeHistory ( Long from , Long count , Long fromId , Long endId , WexAuthenticated . SortOrder order , Long since , Long end , String pair ) throws IOException { WexTradeHistoryReturn btceTradeHistory = btce . TradeHistory ( apiKey , signatureCreator , exchange . getNonceFactory ( ) , from , count , fromId , endId , order , since , end , pair ) ; String error = btceTradeHistory . getError ( ) ; // BTC-e returns this error if it finds no trades matching the criteria if ( MSG_NO_TRADES . equals ( error ) ) { return Collections . emptyMap ( ) ; } checkResult ( btceTradeHistory ) ; return btceTradeHistory . getReturnValue ( ) ; }
All parameters are nullable