Files
dienakdz 87f2845483 Refactor code for improved readability and consistency
- Cleaned up whitespace and formatting in various files including http.py, language.py, logger.py, safe_exec.py, and SQL migration scripts.
- Consolidated import statements and removed unnecessary blank lines.
- Updated logging configuration for better clarity.
- Enhanced the safe execution code with improved error handling and logging.
- Removed commented-out code and unnecessary variables in backfill_zero_trades.py and other scripts.
- Added a pyproject.toml for Ruff and Vulture configuration.
- Introduced requirements-dev.txt for development dependencies.
- Removed commented-out stock entries in init.sql for cleaner migration scripts.
2026-04-09 14:30:51 +07:00
..

QuantDinger Web UI (Vue 2)

This frontend_vue folder was restored from the last public frontend source commit in brokermr810/QuantDinger:

  • Source baseline: ffdd2ff on February 27, 2026
  • Frontend became closed-source at: abbad97 on February 27, 2026
  • Current bundled frontend in this repo: frontend/dist version 3.0.1

This means frontend_vue is the closest full editable source available from git history. It builds successfully locally, but it is not guaranteed to be byte-for-byte identical to the newer private frontend/dist bundle.

This is the QuantDinger frontend web UI built with Vue 2 + Ant Design Vue. It connects to the Python backend (backend_api_python/) through HTTP APIs to provide charts, indicators, backtests, AI analysis, and strategy management.

This UI is based on the open-source ant-design-vue-pro ecosystem, heavily adapted for QuantDinger.

What you get

  • Dashboards: summary views and operational panels
  • Indicator analysis: Kline charts + indicator editing + backtest history
  • AI analysis: multi-agent reports (optional LLM/search, configured on backend)
  • Trading assistant: strategy lifecycle + positions/records (depending on backend capability)
  • Local auth: login with backend-configured admin credentials

Quick start (local development)

Prerequisites

  • Node.js 16+ recommended
  • Backend running at http://localhost:5000 (see backend_api_python/README.md)

1) Install dependencies

cd frontend_vue
corepack yarn install --ignore-engines

2) Start dev server

corepack yarn serve

Dev server runs at http://localhost:8000.

3) API proxy (important)

In dev mode, this project proxies /api/* to the backend:

  • Proxy config: frontend_vue/vue.config.js
  • Default target: http://localhost:5000

If your backend runs on a different host/port, update vue.config.js accordingly.

Production build

corepack yarn build

The output will be generated under frontend_vue/dist/.

Notes

  • CORS: when using the dev proxy, you typically dont need extra CORS config.
  • Login: use the credentials defined in backend_api_python/.env (ADMIN_USER / ADMIN_PASSWORD).

License

Apache License 2.0. See repository root LICENSE.