Laucian Posted January 9, 2017 Report Share Posted January 9, 2017 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)? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 9, 2017 Report Share Posted January 9, 2017 What is the error you're getting? Quote Link to comment Share on other sites More sharing options...
Laucian Posted January 9, 2017 Author Report Share Posted January 9, 2017 "Error: No API-Key set (yet)" Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 9, 2017 Report Share Posted January 9, 2017 You need to call setCookies and wait for its callback before you try to do anything else. Quote Link to comment Share on other sites More sharing options...
Laucian Posted January 10, 2017 Author Report Share Posted January 10, 2017 That works... thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.