altangent / ccxws

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

gemini emit ticker on every top of book, instead of every trade. kraken add spread feed #146

Closed evan-coygo closed 4 years ago

evan-coygo commented 4 years ago

When I added Gemini ticker a few months ago it looks like I accidentally added a limitation to only emit ticker updates when a trade occurs. This changes it so that whenever top of book changes or an trade occurs it will emit a ticker event, making tickers live.

This also adds a "spread" feed for the Kraken client for live top of book updates. This isn't a standard API for ccxws but I tried to keep it conforming to the standards you've set.

evan-coygo commented 4 years ago

closed to use new branch PR here https://github.com/altangent/ccxws/pull/146