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

How to make an array of symbols for limited depth stream? #121

Closed
allawitte opened this issue Oct 22, 2018 · 1 comment
Closed

How to make an array of symbols for limited depth stream? #121

allawitte opened this issue Oct 22, 2018 · 1 comment
Labels

Comments

@allawitte
Copy link

allawitte commented Oct 22, 2018

I send a request like:

binance.ws.partialDepth([{ symbol: 'XMRBTC', level: 10 }, { symbol: 'ARNBTC', level: 10 }], depth => {
  console.log(depth)
})

and get the error: WebSocket closed: 3067830576 (1008) {"code":-1,"msg":"Illegal format ws or stream"}

And then some stream with expected data. Why do I get this error?

@balthazar balthazar changed the title How to make an array of synbols for limited depth stream? How to make an array of symbols for limited depth stream? Nov 13, 2018
@balthazar
Copy link
Member

This should work, have you tried again recently?

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

No branches or pull requests

2 participants