We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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で送受信するケースはないが、他の取引所においてはそのケースが存在する。
Huobi Global
https://huobiapi.github.io/docs/spot/v1/en/#websocket-market-data
この場合はpybottersは aiohttp.WSMsgType.TEXT しか受け付けておらず、ws_connectの引数もstr及びjsonのみであるので全くメッセージをハンドリングできない。 aiohttpでは元々bytesのメソッドも存在しているので、既存取引所のケースにはなかったがpybottersのWebSocketアプリケーション役割としてはやはり追加するのが望ましい。
aiohttp.WSMsgType.TEXT
Discordより
https://discord.com/channels/832651305155297331/832653694839160892/893672780464291850
aiohttp.WSMsgType.BINARY のハンドリングを追加し、ws_connectの引数にsend_bytes及びhdlr_bytesを追加する。
aiohttp.WSMsgType.BINARY
The text was updated successfully, but these errors were encountered:
Add binary data send/handle to websocket (#87)
192735a
Merge pull request #94 from MtkN1/develop
ec08e33
✨v0.8.0リリース ## Issues ✅ Bybitの型問題の抜本的な解決方法について #82 ✅ バイナリのWebSocketデータのハンドリングに対応する #87 ✅ GMOコインのデータストアにタイムスタンプを追加する #88 ## Pull requests ✅ Remove default empty list #92 ✅ add API Reference #93
MtkN1
No branches or pull requests
課題
既存の対応取引所においてはバイナリデータをWebSocketで送受信するケースはないが、他の取引所においてはそのケースが存在する。
Huobi Global
この場合はpybottersは
aiohttp.WSMsgType.TEXT
しか受け付けておらず、ws_connectの引数もstr及びjsonのみであるので全くメッセージをハンドリングできない。aiohttpでは元々bytesのメソッドも存在しているので、既存取引所のケースにはなかったがpybottersのWebSocketアプリケーション役割としてはやはり追加するのが望ましい。
Discordより
実装
aiohttp.WSMsgType.BINARY
のハンドリングを追加し、ws_connectの引数にsend_bytes及びhdlr_bytesを追加する。チェックリスト
The text was updated successfully, but these errors were encountered: