Skip to content

lez666/ETHusdt

Repository files navigation

ETHUSDT Dashboard

项目简介 Project Overview

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.


项目结构 Project Structure

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

环境配置 Environment Setup

推荐使用 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 Dashboard

在环境激活后,运行主程序:

Run the main application after activating environment:

python app.py

然后打开浏览器访问:

Then open your browser:

http://127.0.0.1:8050

注意事项 Notes

  • logs/__pycache__/cache.json 已被 .gitignore 忽略,避免上传 GitHub

  • Dash 应用会实时刷新界面,确保网络或数据源可用

  • logs/, __pycache__/, and cache.json are ignored in .gitignore to avoid uploading to GitHub

  • Dash app updates in real-time; ensure network/data source is available


贡献 Contributing

欢迎提交 issue 或 pull request,改进 Dashboard 功能。 Feel free to submit issues or pull requests to improve the dashboard.


联系方式 Contact

Enze Li Email: [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published