Trading Platform with Automated Execution
A full-stack trading dashboard with secure auth and trade management, connected to automated MetaTrader 5 execution and signal-driven bots.
- Industry
- Fintech
- Location
- Global
- Timeline
- Multi-phase build
By the numbers
- 3
- Independent services: dashboard, API, execution
- MT5
- Live order execution (buy/sell/close)
- JWT
- Access + refresh auth on every route
- 17 levels
- Progressive hedging across risk profiles
The problem
A trading operation was running strategies manually and needed both a user-facing platform and reliable automated execution. They wanted account and trade management behind secure authentication, a real-time dashboard, and a way to execute trades on MetaTrader 5 automatically — both from external signals such as TradingView webhooks and from a programmatic hedging strategy — without brittle glue scripts.
What we built
We built a full-stack platform — a React + TypeScript dashboard, a Node/Express REST API, and MongoDB — with JWT auth, role-based access, and trade management, alongside Python execution services: a Flask webhook server that turns TradingView signals into MT5 orders, and a configurable XAU/USD hedging bot with risk profiles and progressive lot sizing.
Our approach
- Built an MVC Express API with JWT access/refresh tokens, protected routes, and user/trade models
- Delivered a React + TypeScript + Vite dashboard with global state, auth, and real-time trade views
- Implemented a Flask signal server exposing webhook and trade endpoints for MT5 execution
- Wrote a Python hedging bot integrating MetaTrader 5 with configurable grid, SL/TP, and risk profiles
- Separated concerns so the platform, signal execution, and hedging strategy run independently
- Documented setup, testing, and deployment (including Docker) for each component
Results & outcomes
- Single dashboard for authentication, account settings, and trade management
- Automated MT5 order execution from TradingView webhooks (buy/sell/close)
- Programmatic hedging strategy with selectable risk profiles and progressive levels
- Secure JWT auth with refresh tokens and protected, role-aware API routes
- Modular architecture — frontend, API, and execution services deployable separately
Automated trade execution
Analysis
Trading systems live or die on separation of concerns: the React dashboard, the Express/Mongo API, and the Python execution layer run independently, so a fault in one does not take down the others. Signal execution is deliberately dumb and reliable — a Flask webhook turns TradingView alerts into MT5 orders with no hidden risk logic — while the hedging bot carries the strategy: configurable grid, SL/TP multipliers, and 17 progressive levels across four risk profiles. That split makes each piece testable and replaceable without rewriting the platform.