public Map < Long , DSXTradeHistoryResult > getDSXTradeHistory ( Integer count , Long fromId , Long endId , DSXAuthenticatedV2 . SortOrder order , Long since , Long end , String pair ) throws IOException { DSXTradeHistoryReturn dsxTradeHistory = dsx . tradeHistory ( apiKey , signatureCreator , exchange . getNonceFactory ( ) , count , fromId , endId , order , since , end , pair ) ; String error = dsxTradeHistory . getError ( ) ; if ( MSG_NO_TRADES . equals ( error ) ) { return Collections . emptyMap ( ) ; } checkResult ( dsxTradeHistory ) ; return dsxTradeHistory . getReturnValue ( ) ; }
Get Map of trade history from DSX exchange . All parameters are nullable