Spaces:
No application file
No application file
Abhishek
commited on
Commit
ยท
375e6ae
1
Parent(s):
757031e
๐ Add Hugging Face metadata config to README
Browse files
README.md
CHANGED
|
@@ -1,113 +1,14 @@
|
|
| 1 |
-
# ๐ Binance Crypto Market Dashboard
|
| 2 |
-
|
| 3 |
-
This project is a real-time cryptocurrency market tracker built using **Streamlit**, powered by **Binance's public API**. It displays the **top 10 traded coins** based on 24-hour volume and includes smart insights like **investment suggestions**, **market movement predictions**, and **trend charts** that update every 10 seconds.
|
| 4 |
-
|
| 5 |
-
---
|
| 6 |
-
|
| 7 |
-
## ๐ Live Demo
|
| 8 |
-
|
| 9 |
-
โ ๏ธ **IMPORTANT**: Due to **Binance's legal restrictions and regional API blocks**, this app may **not work correctly on Streamlit Cloud** (you may see a `451` error).
|
| 10 |
-
โ
It works perfectly when run **locally** on your own machine. See instructions below.
|
| 11 |
-
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
## ๐ง Features
|
| 15 |
-
|
| 16 |
-
- โ
**Top 10 Coins by 24h Volume**
|
| 17 |
-
- ๐ **Auto-refresh every 10 seconds**
|
| 18 |
-
- ๐บ **Price Change with Emoji Indicators**
|
| 19 |
-
- ๐ก **Market Suggestions** (Trending Up / Avoid / Neutral)
|
| 20 |
-
- ๐ฎ **Prediction Labels** (Likely โ / โ / Uncertain)
|
| 21 |
-
- ๐ **Trendline Charts** (Last 5 minutes of activity)
|
| 22 |
-
- ๐ต **Currency Conversion Support**
|
| 23 |
-
- Supports USD, INR, EUR, GBP, JPY
|
| 24 |
-
- Uses live exchange rates via `exchangerate.host`
|
| 25 |
-
- Falls back to manual rates if the API fails
|
| 26 |
-
- ๐งญ **Sidebar Controls**:
|
| 27 |
-
- Toggle Market Tips
|
| 28 |
-
- Toggle Drop Alerts
|
| 29 |
-
- Select preferred currency
|
| 30 |
-
- ๐ง Optimized with `@st.cache_data` for smooth refresh
|
| 31 |
-
- ๐ Fully interactive via Streamlit UI
|
| 32 |
-
|
| 33 |
-
---
|
| 34 |
-
|
| 35 |
-
## ๐ฆ Tech Stack
|
| 36 |
-
|
| 37 |
-
| Tool | Purpose |
|
| 38 |
-
|--------------------|------------------------------------|
|
| 39 |
-
| `Streamlit` | Web UI + real-time interactivity |
|
| 40 |
-
| `Binance API` | Live crypto market data |
|
| 41 |
-
| `exchangerate.host`| Live USD-to-currency conversion |
|
| 42 |
-
| `Pandas` | Data processing and transformation |
|
| 43 |
-
| `Matplotlib` | Price trend visualization |
|
| 44 |
-
| `Requests` | REST API access |
|
| 45 |
-
|
| 46 |
-
---
|
| 47 |
-
|
| 48 |
-
## โ๏ธ How to Run Locally
|
| 49 |
-
|
| 50 |
-
If the online version fails (due to Binance API block), run the app locally:
|
| 51 |
-
|
| 52 |
-
1. **Clone the repository**
|
| 53 |
-
```bash
|
| 54 |
-
git clone https://github.com/abhishekmohank/binance_dashboard.git
|
| 55 |
-
cd binance_dashboard
|
| 56 |
-
```
|
| 57 |
-
|
| 58 |
-
2. **Install the required packages**
|
| 59 |
-
```bash
|
| 60 |
-
pip install -r requirements.txt
|
| 61 |
-
```
|
| 62 |
-
|
| 63 |
-
3. **Start the app**
|
| 64 |
-
```bash
|
| 65 |
-
streamlit run app.py
|
| 66 |
-
```
|
| 67 |
-
|
| 68 |
-
---
|
| 69 |
-
|
| 70 |
-
## ๐ Known Issues
|
| 71 |
-
|
| 72 |
-
> Binance may **block Streamlit Cloud or other hosts** in certain regions, resulting in:
|
| 73 |
-
> ```
|
| 74 |
-
> 451 Client Error: Unavailable For Legal Reasons
|
| 75 |
-
> ```
|
| 76 |
-
> โ
This app works fine on:
|
| 77 |
-
> - Your **local machine**
|
| 78 |
-
> - Platforms like **Render**, **Replit**, or **a personal VPS**
|
| 79 |
-
|
| 80 |
---
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
- โ
Live trend charting using Matplotlib
|
| 90 |
-
- โ
Sidebar toggles and currency selector
|
| 91 |
-
|
| 92 |
---
|
| 93 |
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
- ๐ค Export table to CSV or JSON
|
| 97 |
-
- ๐ฑ Make layout responsive on mobile
|
| 98 |
-
- ๐ Add custom alerts (e.g., if price > X)
|
| 99 |
-
- ๐ง Basic ML for short-term trend prediction
|
| 100 |
-
|
| 101 |
-
---
|
| 102 |
-
|
| 103 |
-
## ๐โโ๏ธ About the Author
|
| 104 |
-
|
| 105 |
-
Made with โค๏ธ by **Abhishek Mohan**
|
| 106 |
-
๐ [GitHub](https://github.com/abhishekmohank)
|
| 107 |
-
๐ [Portfolio](https://abhishek-amk.vercel.app)
|
| 108 |
-
|
| 109 |
-
---
|
| 110 |
-
|
| 111 |
-
## ๐ License
|
| 112 |
|
| 113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Binance Crypto Dashboard
|
| 3 |
+
emoji: ๐
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: "1.30.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# ๐ Binance Crypto Market Dashboard
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
+
This is a live cryptocurrency dashboard built with Streamlit that tracks the top 10 coins on Binance. It includes smart suggestions, auto-refresh, live currency conversion, and real-time charts.
|