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

websocket error on running sample-market-maker.py #9

Open
birlansh opened this issue Mar 27, 2024 · 3 comments
Open

websocket error on running sample-market-maker.py #9

birlansh opened this issue Mar 27, 2024 · 3 comments

Comments

@birlansh
Copy link

from okx.websocket.WsPublic import WsPublic
ModuleNotFoundError: No module named 'okx.websocket.WsPublic'

@denghanjie
Copy link

I changed the WsPublic into WsPublicAsync. You'll find other places in the codebase where you need to change WsPublic or WsPrivate into its corresponding Async version.

@yll66886
Copy link

yll66886 commented Jul 19, 2024

最新版本okx,修改对应的代码如下(适配asyncio):
image
image
image
image

@liaoyangqing
Copy link

liaoyangqing commented Sep 4, 2024

啊?包版本升级还可以不向前兼容的吗,这种服务真的指望企业接入吗?
找不到对应类的在相同包下找到名称类似Async结尾的替代就行。。。。

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

4 participants