Binance websocket stream hangs after a certain amount of time

This page summarizes the projects mentioned and recommended in the original post on /r/binance

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • unicorn-binance-websocket-api

    A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a easy, fast, flexible, robust and fully-featured way.

  • The solutions in this post are for keeping user data streams alive as far as I understand, and comments on this post recommends using Unicorn Binance Websockets because it handles reconnects. I tried but too complicated for me to use right now.

  • python-binance

    Binance Exchange API python implementation for automated trading

  • I've been using the Binance websocket and the python-binance wrapper to access it. I tested streaming the price of BTCUSDT from the aggTrade stream using this simple python code.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts