sammchardy / python-kucoin

Kucoin REST and Websocket API python implementation
https://python-kucoin.readthedocs.io/en/latest/
MIT License
349 stars 147 forks source link

Threaded websockets similar to Binance library? #92

Open jhogg11 opened 3 years ago

jhogg11 commented 3 years ago

Is there anything that would prevent replicating the ThreadedWebsocketManager class from the Binance library for Kucoin? I'm only interested in using the kline socket and it seems that most of the code in the streams.py file are for specific socket types, so a lot could be eliminated for my purposes.

However, I'm not too knowledgable about sockets (and new to async in Python) and just want to make sure I don't go down an unnecessary rabbit hole if it's a dead end.

Thanks for the great libraries.