binance-exchange/node-binance-api

(solved) ws.depth not logging anything

hp8wvvvgnj6asjm7 opened this issue · 0 comments

/ SORRY, I HAD SOME CONNECTION ISSUES /

WORKS.CLOSE

_I'm using your function as in the examples, but my console doesn't show anything.

const Binance = require('binance-api-node').default;

const client = Binance({
  apiKey: 'xxx',
  apiSecret: 'xxx',
});

client.ws.depth('ETHBTC', depth => {
  console.log(depth)
})

Literally nothing..._