/live-binance-charts

Dive into real-time cryptocurrency market trends with this Python-based charting tool. Inspired by TradingView's UI, it taps into Binance's live data, offering a sleek and interactive experience for crypto enthusiasts.

Primary LanguagePythonMIT LicenseMIT

Live Binance Charts

Python 3.8 Code style: black MIT License


This repository showcases my efforts in visualizing live cryptocurrency price data from the Binance exchange using two distinct implementations.

📊 Implementations

1. finplot

Utilizing finplot combined with PyQt6, this implementation offers a sophisticated and advanced charting solution in Python.

2. mplfinance

Leveraging mplfinance—built on the foundation of the widely-used matplotlib library—this approach provides another way to chart cryptocurrency data. Configure your Binance API keys in src/mplfinance/keys.py to auto-plot your assets, or leave it blank to manually specify the cryptocurrencies you'd like to visualize.

✨ Features

  • Dark Mode: Enjoy a Tradingview-style dark theme for better visual clarity.
  • Customizable View: Easily add or remove charts as per your preferences.
  • Real-time Updates: Stay updated with live data thanks to the Binance websocket integration.

Dependencies

The required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block:

pip install -r requirements.txt 

How to run

  • Clone the repository
  • Run python src/finplot/main.py or python src/mplfinance/main.py
  • See result

Images

finplot

Chart

mplfinance

image