Skip to main content

This Python package provides a real-time visualization of cryptocurrency order books from the Binance exchange. Utilizing asynchronous programming and WebSockets, it streams market depth data for BTC/USDT and calculates key trading metrics. The package features a terminal-based user interface created with the curses library to display bids, asks, spread, weighted averages, total volume, and order flow imbalance, updating dynamically to reflect live market conditions.

Project description

bobByDew.py (BTC Order Book by Mr Dew) Overview bobByDew.py is a Python package crafted by Mr. Dew to offer a real-time visualization of cryptocurrency order books, specifically targeting the BTC/USDT trading pair on the Binance exchange. This package leverages the power of asynchronous programming and WebSockets to stream and display market depth updates. The interface is built with the curses library, providing a dynamic, terminal-based graphical display of bids, asks, and crucial trading metrics like the spread, weighted averages, total volume, and order flow imbalance. Features Real-time Data Streaming: Connects to Binance via WebSocket to receive live updates. Trading Metrics: Calculates and displays metrics such as the highest bid, lowest ask, market spread, weighted average prices, total trading volume, and order flow imbalance. Dynamic Terminal Interface: Utilizes the curses library for an interactive, real-time graphical display in the terminal. Cross-Platform Compatibility: Works on both Unix-like systems and Windows (using windows-curses for compatibility). Installation To install bobByDew.py, follow these instructions based on your operating system: For Mac/Linux: pip install bobByDew Use code with caution. Bash For Windows: Windows users need to ensure windows-curses is installed for curses support: pip install windows-curses pip install bobByDew Use code with caution. Bash Usage After installation, you can run the package directly from the command line: bobByDew Use code with caution. Bash This command initializes the script and starts the real-time visualization. Ensure you have a stable internet connection to receive real-time updates without interruption. Configuration No additional configuration is needed post-installation. However, you must ensure you are legally permitted to use real-time data from Binance, as this script connects directly to Binance APIs. Contributing Contributions to bobByDew.py are welcome. Please fork the repository, make your changes, and submit a pull request for review. License bobByDew.py is open-sourced under the MIT License. See the LICENSE file for more details.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bobByDew-1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file bobByDew-1.0-py3-none-any.whl.

File metadata

  • Download URL: bobByDew-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for bobByDew-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e686dc88af79b48f9f27dc61b92a44baf3aad66ec18b9dd24b3fa4c0ecedd04
MD5 c2bfe4aa265eb007bdbe1308b16ea8a8
BLAKE2b-256 bdabd0a0bca9ff92f143a73cde900d3e7e8086c5e47f82129a57ff3df40be62f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page