bitbns-official / node-bitbns-api

This is Official Bitbns API nodeJs Library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getOHLCData API not working

varsubham opened this issue · comments

getOHLCData API is producing this error message when using it:-

"status": 0,
"msg": "Invalid market or coin passed"

hi, could you please specify for which pair you are receiving this response for ?

@sanket-buyhatke Its not working for any pair. For eg,.. if I am using BTC INR pair its showing the same error message

bitbns.getOHLCData("BTC", "INR", 0, function (error, data) {
  if (!error) {
    console.log("Data ::", data);
  } else {
    console.log("Error ::", error);
  }
});

Its giving the same error message:

Data :: { status: 0, msg: 'Invalid market or coin passed' }

noted, thanks for raising the issue
will look into it

hi, @varsubham, could update to the latest version and pls try again ?

Yes working fine now 👍