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

Cannot connect to the Poloniex wamp server at wss://api.poloniex.com #19

Closed
qyvlik opened this issue Mar 9, 2018 · 0 comments
Closed

Comments

@qyvlik
Copy link
Owner

qyvlik commented Mar 9, 2018

Q

Cannot connect to the Poloniex wamp server at wss://api.poloniex.com

https://stackoverflow.com/questions/39330283/how-to-use-jawampa-java-wamp-implementation-to-subcribe-to-an-event

Matthias247/jawampa#83

Matthias247/jawampa#101

https://github.com/longngo192/magi

A

Use the wss://api2.poloniex.com, it is pure websocket.

subscribe  `trollbox` send `'{"command" : "subscribe", "channel" : 1001}'`.
subscribe `ticker` send  `'{"command" : "subscribe", "channel" : 1002}'`

subscribe `ordre book` send  `'{"command" : "subscribe", "channel" : "BTC_XMR"}'`, `BTC_XMR` mean trade pair.

ref:

https://github.com/dutu/poloniex-api-node/blob/master/lib/poloniex.js

https://stackoverflow.com/questions/42436264/reading-messages-on-poloniex-trollbox-with-python-autbahn-or-other-socket-module

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

No branches or pull requests

1 participant