-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
Support for Bybit spot websocket endpoints #933
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what formatting tool you used, but undo all the un-necessary formatting changes and then I will review the real changes
@bmoscon I used Black. Formatting changes reverted, ready for review. |
formatting changes persist, will review once they have been resolved |
@bmoscon Are there still formatting issues? |
@bastienjalbert - there was a merge conflict - i resolved it but now the tests are failing. if @kieran-mackle can fix them I will merge it. I can take a look at fixing them myself but might not get time for a few days. likely the test data for bybit needs to be regenerated and then the expected callback counts will need to be updated in the test case. that may not be all though |
Hey @kieran-mackle I would love to see this merged - do you think you could look into merge conflict @bmoscon mentioned? Please let me know if you could use a hand here, I would be more than happy to contribute 👍🏼 |
Hello @bmoscon, do you need help to finally merge this PR ? |
@bastienjalbert the tests are failing, if they are fixed, I will merge it, otherwise at some point in the not too distant future I'll close this PR |
@bmoscon I’ll take a look within next days/weeks to make unit test passing. |
@bastienjalbert let me know if you are still working on this |
@bmoscon |
@bastienjalbert feel free to fork off this PR and open a new one when you have time to take it on. |
Description of code - what bug does this fix / what feature does this add?
Added support for spot websocket endpoints on Bybit. Current implementation includes trade and orderbook channels.
Testing
To connect to a spot endpoint, specify a standardised spot symbol. See example code below, connecting to both spot and perpetual endpoints for trades and orderbook.