auto_trade_sys/frontend
薇薇安 6f9e55aaee feat(trades, database, frontend): 增强时间筛选功能与交易记录展示
在 `trades.py` 中更新了时间筛选逻辑,新增 `created` 选项以支持按创建时间筛选交易记录。在 `models.py` 中调整了查询逻辑,确保在无 `created_at` 字段时回退为 `entry_time`。前端组件 `StatsDashboard.jsx` 和 `TradeList.jsx` 中相应更新了展示逻辑,增加了创建时间的显示,提升了用户体验与数据准确性。
2026-02-21 00:31:51 +08:00
..
src feat(trades, database, frontend): 增强时间筛选功能与交易记录展示 2026-02-21 00:31:51 +08:00
.gitignore 增加多账号的支持体系 2026-01-20 15:55:34 +08:00
index.html a 2026-01-15 09:19:27 +08:00
package-lock.json a 2026-02-01 22:36:52 +08:00
package.json a 2026-02-01 22:36:52 +08:00
README.md a 2026-01-13 17:30:59 +08:00
REDUX_SETUP.md a 2026-01-22 21:30:21 +08:00
vite.config.js a 2026-01-13 19:44:27 +08:00
山寨币策略快速应用说明.md a 2026-01-25 09:16:16 +08:00

前端应用 (Frontend)

币安自动交易系统前端界面

技术栈

  • React 18
  • Vite
  • React Router
  • Recharts (图表)
  • Axios (HTTP请求)

安装

cd frontend
npm install

开发

npm run dev

访问 http://localhost:3000

构建

npm run build

构建产物在 dist/ 目录

环境变量

创建 .env 文件:

VITE_API_URL=http://localhost:8000

功能

  • 配置管理:可视化配置交易参数
  • 交易记录:查看历史交易和统计
  • 仪表板:实时查看账户和持仓信息