node.liqui.io icon indicating copy to clipboard operation
node.liqui.io copied to clipboard

tradeHistory not working

Open simonec1981 opened this issue 7 years ago • 0 comments

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.

simonec1981 avatar Jun 20 '18 12:06 simonec1981