4xhub Forex CRM
A complete Forex CRM we designed and built for 4xhub: a brokerage platform that ties client management, trading accounts, and MetaTrader 4 together, so the broker can run onboarding, trading operations, and reporting from one place.
A complete Forex CRM we designed and built for 4xhub: a brokerage platform that ties client management, trading accounts, and MetaTrader 4 together, so the broker can run onboarding, trading operations, and reporting from one place.
The Brief
A forex broker lives or dies by its back office. Client onboarding, trading-account management, deposits and withdrawals, introducing-broker commissions, and live data from the trading server all have to work together and stay accurate. 4xhub needed a CRM built specifically for forex: one that talks directly to MetaTrader 4, manages clients and accounts end to end, and produces the reports the business runs on. Our job was to architect and build that platform.
What We Built
We delivered the 4xhub CRM as a set of focused services around a central back office.
- CRM back office: client management, onboarding, and account administration, with a built-in CMS for managing portal content.
- MetaTrader 4 integration: a dedicated connector to the MT4 Manager API for creating and managing trading accounts and acting on the trading server directly from the CRM.
- MT4 reporting service: a separate service that pulls trading data and reports out of MetaTrader 4.
- Client portal frontend: a web application for the broker's team and clients to interact with their accounts.
- Q&A / support module: its own service, frontend, and database for handling client questions and support content.
- Communications: transactional email and notifications to clients.
The Architecture
We built the 4xhub CRM as a multi-service architecture, with each part owning its responsibility: a PHP back office and CMS at the core, a dedicated MetaTrader 4 connector service, a separate MT4 reporting service, and a standalone Q&A/support service, each with its own database where needed.
The MetaTrader 4 integration is the key piece: because MT4's Manager API is a native interface, we built a dedicated connector service to bridge it cleanly to the rest of the CRM, so client and account operations on the trading server happen through one consistent layer.
The whole platform runs on Kubernetes across testing, staging, and production environments, with per-service Docker images and a Jenkins CI pipeline for controlled, repeatable deployments.
The Stack
- Back office and CMS: PHP, with a themed admin and content-management layer.
- MT4 connector: a dedicated service built against the MetaTrader 4 Manager API (.NET/C#).
- Reporting and Q&A services: Node.js services for MT4 reporting and client support.
- Frontend: a JavaScript single-page web application.
- Databases: MySQL, with separate databases per domain (core CRM and Q&A).
- Infrastructure: Kubernetes across testing, staging, and production, with Docker per service and Jenkins CI.
The Outcome
We delivered a forex-specific CRM that gives 4xhub one place to run the brokerage: onboard clients, manage MetaTrader 4 trading accounts, pull live trading reports, and handle support, all backed by a scalable, containerized platform. The result is a back office built around how a forex broker actually works, integrated directly with the trading server it depends on.
A platform built for real brokerage operations: integrated, reliable, and engineered to scale.