Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Private webscoket connection never connects #25

@maxbot1-bot

Description

@maxbot1-bot

hi,

im using the following bit of code
async def deal_msg(msg):
print (msg)
ws_client = await KucoinWsClient.create(None, client, deal_msg, private=True)
await ws_client.subscribe('/account/balance')
while True:
await asyncio.sleep(5)

The code just goes into a loop at does nothing. I am not receiving any errors stating that the topic is bad
I can use the REST api just fine to see my account balance
I can also use the socket connection for market data with private='False'

Thanks a lot for your help

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions