ETHUSDT Dashboard 是一个基于 Python 和 Dash 的加密货币交易数据可视化工具,用于实时展示 ETH/USDT 市场行情、交易信号及日志信息。
ETHUSDT Dashboard is a Python & Dash based cryptocurrency trading dashboard, designed to visualize ETH/USDT market data, trading signals, and logs in real-time.
ETHUSDT/
├── app.py # 主应用入口 Main application entry
├── app_components/ # Dash 组件库 Dash components
│ ├── __init__.py
│ ├── callbacks.py # 回调函数 Callbacks
│ └── layout.py # 页面布局 Layout
├── assets/ # 静态资源 Static assets
│ ├── style.css
│ └── copy.js
├── services/ # 后端服务 Services
│ ├── advisor.py
│ ├── data_provider.py
│ ├── logger.py
│ ├── strategy.py
│ ├── trade_sim.py
│ └── ws_provider.py
├── config.py # 配置文件 Config
├── requirements.txt # 依赖文件 Dependencies
├── logs/ # 日志 Logs
└── cache.json # 缓存文件 Cache
推荐使用 conda 创建独立环境:
Recommended to use conda for isolated environment:
conda create -n ethdash python=3.10
conda activate ethdash
pip install -r requirements.txt在环境激活后,运行主程序:
Run the main application after activating environment:
python app.py然后打开浏览器访问:
Then open your browser:
http://127.0.0.1:8050
-
logs/、__pycache__/和cache.json已被.gitignore忽略,避免上传 GitHub -
Dash 应用会实时刷新界面,确保网络或数据源可用
-
logs/,__pycache__/, andcache.jsonare ignored in.gitignoreto avoid uploading to GitHub -
Dash app updates in real-time; ensure network/data source is available
欢迎提交 issue 或 pull request,改进 Dashboard 功能。 Feel free to submit issues or pull requests to improve the dashboard.
Enze Li Email: [email protected]