altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
619 stars 186 forks source link

Cexio client fix of "ticker" subscription + implementation of "l2update" #310

Open maxi-rh opened 2 years ago

maxi-rh commented 2 years ago

I've noticed that ccxws subscribes to the event that responds with "tick" event which only gives a pair and the price without the volume. I believe this is not really useful so I added "ticker" request instead which returns useful information similar to other exchanges.

There is no "l2update" subscription either, but cexio allows to subscribe to "order-book-subscribe" event which then responds with "md-update" event, which includes order book details basically.

maxi-rh commented 2 years ago

Please check my variant of this implementation: https://github.com/altangent/ccxws/pull/311