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