Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tradeHistory not working #8

Open
simonec1981 opened this issue Jun 20, 2018 · 0 comments
Open

tradeHistory not working #8

simonec1981 opened this issue Jun 20, 2018 · 0 comments

Comments

@simonec1981
Copy link

if I liqui.tradeHistory(params).then(result => {console.log(result)});

I get back

Unhandled rejection (<{"success":0,"code":0,"error":"invalid...>, no stack trace).

In my test case I just do the following:

const Liqui = require('node.liqui.io');
then initialize Liqui with my key and secret , then I define params = {pair: 'btc_edg'} and then I do liqui.tradeHistory(params).then(result => {console.log(result)});
I do this directly from node in linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant