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

Example WS Subscribing to Kline not getting a response? #5

Open
ResearchTime opened this issue Oct 26, 2020 · 0 comments
Open

Example WS Subscribing to Kline not getting a response? #5

ResearchTime opened this issue Oct 26, 2020 · 0 comments

Comments

@ResearchTime
Copy link

Thanks for the code to show the connection with the Bybit API.

There is an issue where I don't see the example doing anything with b.Subscribe(ws.WSKLine + ".BTCUSD.1m")

I gather that this should be handled by the function func handleKLine(symbol string, data ws.KLine)

Watching the logs though I don't see it output anything of significance, is there something wrong or does something else trigger this function?

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

No branches or pull requests

1 participant