-
Notifications
You must be signed in to change notification settings - Fork 3
Architecture Overview
Duncan Parker edited this page Jul 17, 2025
·
3 revisions
QuantX is built on a backend-first principle. All business logic—including data ingestion, storage, processing, and trading strategies—lives on the backend. The frontend is a presentation layer only.
-
Backend:
- Handles all data ingestion (market, user, etc.).
- Runs all trading strategies.
- Manages state, scheduling, deployment, and logging.
- Serves data and events via websockets or Redis.
-
Frontend (Electron/React):
- Receives data streams from the backend.
- Renders dynamic dashboards, controls, and visualizations.
- Does not fetch data using React hooks or manage strategy logic.
- Security: Strategies and data remain server-side.
- Performance: Heavy lifting is decoupled from UI.
- Extensibility: Add new strategies or data sources without touching the frontend.
- Websockets: For real-time updates (e.g., price feeds, execution logs).
- Redis: For pub/sub or caching needs.
For frontend details, see Frontend Design. For backend details, see Backend Layer.