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

BinanceのWebSocket制限に対応する #96

Closed
1 task done
MtkN1 opened this issue Nov 15, 2021 · 1 comment
Closed
1 task done

BinanceのWebSocket制限に対応する #96

MtkN1 opened this issue Nov 15, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@MtkN1
Copy link
Member

MtkN1 commented Nov 15, 2021

課題

BinanceのWebSocketにはGMOコインのような制限(#50)が存在していることが分かった。(こちらは 1秒あたり5つ )

https://binance-docs.github.io/apidocs/spot/en/#:~:text=against%20each%20account.-,Websocket%20Limits,-WebSocket%20connections%20have

ws.send_*([...])の機能で5つを超えるリクエストを送ると、サイレントでコネクションが切断される。

Discrodより:
https://discord.com/channels/832651305155297331/832653694839160892/909050747637858334

実装

GMOコインと同じようにリクエストに制限を掛ける。

チェックリスト

  • 実装
@MtkN1 MtkN1 added the bug Something isn't working label Nov 15, 2021
@MtkN1 MtkN1 self-assigned this Nov 15, 2021
@MtkN1
Copy link
Member Author

MtkN1 commented Jan 2, 2022

検証したみたら、USDⓢ-Mはなかった

MtkN1 added a commit that referenced this issue Jan 3, 2022
✨v0.9.0リリース

## Issues

✅ Bybit SpotのDELETE認証方式を修正する #95
✅ BinanceのWebSocket制限に対応する #96
✅ bitFlyerの親注文APIがエラーになる #98
✅ BybitUSDTDataStoreのウォレット実装が漏れている #99
✅ HTTPリクエストのメソッドにおけるパラメーター指定時の警告を削除する #101
✅ Bybitの認証タイムスタンプについて変更を検討する #102
✅ Bybit USDT無期限のワンウェイモードに対応する #105
✅ GMOコインのタイムスタンプにミリ秒がないレコードがパースできない #106
✅ Binance USDⓈ-M Futuresの新しいWebSocketエンドポイントに対応する #108
✅ bitbankの認証タイムスタンプを修正する #109
✅ 旧BybitDataStoreクラスがauto_castを受け付けない #111

## Pull requests

✅ Phemexのデータストアをサポートする #97
✅ GMOコインのタイムスタンプのミリ秒をパースする #107
@MtkN1 MtkN1 closed this as completed Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant