Hello, im trying to get the history of trades of one account, but i allways got error, this is my code: 
offers.getOffers(2, function(err, sent, recived){
    if (err) {
        console.log(err);
        process.exit(1);
    } else {
        console.log(sent);
        process.exit(1);
    }
});
Is something wrong?   And how i use data filter (historialCutof)?