Odoo 18 and MetaTrader 5 Integration - 11/08/2025 11:40 EDT
- Status: Closed
- Prize: $180
- Entries Received: 40
- Winner: phremo23
Contest Brief
Prompt:
I want you to help me create a Forex CRM system with the following features and specifications. Please generate well-structured Pure PHP (with Ajax/JS frontend), MySQL database schema, and modular installer scripts, packaged as Forex-CRM.zip. The system must be secure, scalable, and fully Ajax-based (no page reloads).
________________________________________
? General Requirements
- Need istaller for the CRM on hostinger shared hosting
• Theme: Facebook-like modern UI/UX.
• All Ajax / API driven: No page reloads.
• Settings Page: Upload logo, set CRM name, and customize branding.
• Installer: One-click installer to set DB, config, and admin account.
________________________________________
? Core CRM Modules
1. Trading Accounts Integration (MetaTrader Manager Web API)
• Fetch all trading accounts via /api/user/logins?group=groups.
• Show in CRM → Trading Accounts Page.
• Fields per account: Login, Owner Name, Balance, Equity, Credit, Profit (from /api/user/account/get?login=login).
• Store in database with scheduled sync.
________________________________________
2. IB (Introducing Broker) System
• Multi-level tree structure (IB → Sub-IB → Clients).
• Commission model:
o Company sets base commission per instrument:
Major currency pairs → e.g. $10/lot
Cross pairs → e.g. $12/lot
Gold → e.g. $15/lot
Indices → e.g. $20/lot
o Parent IB earns difference vs Sub-IB assigned commission.
• Client & IB Management:
o Register clients, assign to IB/Sub-IB.
o Track per-trade activity and commission calculation.
• Visual Tree View for IBs & Admin.
• Reports:
o Client activity.
o IB/Sub-IB commissions.
o Total trades by instrument.
• DB design: Recursive parent-child hierarchy.
________________________________________
3. Account Opening (via WPForms → CRM → MetaTrader)
• WPForms webhook posts JSON to open-account.php.
• Fields: name, email, mobile, comment, leverage (e.g. 1:5000 → 5000), group, country, password.
• Convert group values:
o Standard → IRQ/B/Abdallah
o Pro → IRQ/B/PRO
o ECN → IRQ/B/ECN
• Save data in DB → redirect user to KYC Verification.
________________________________________
4. KYC Verification (Didit.me API)
• Workflow ID + secret integration.
• CRM callback /crm/kycIPN.php.
• If status=Approved → auto-create trading account in MT5 via /api/user/add?....
• Save verification logs for audit.
________________________________________
5. Deposits (via WPForms → CRM → OxaPay API)
• Webhook to deposit.php.
• Fields: Name, Email, Login, Amount.
• CRM calls OxaPay → generate payment link.
• IPN callback /OxaIPN.php.
• If status=Paid & confirmed → deposit via /api/trade/balance?login=$acc&type=2&balance=$amount.
________________________________________
? Security Requirements
• Validate all webhooks with secret keys.
• Store passwords with hashing (bcrypt/argon2).
• Encrypt API keys/secrets in config.
• CSRF + XSS protection for Ajax.
• Role-based access control:
o Admin: Full control.
o IB: See only downline clients.
o Clients: Limited dashboard.
________________________________________
? Extra Features (Improvements)
• Notifications System: In-app + email alerts for deposits, account approvals, KYC status.
• Multi-Language Support (EN/AR/FR/ES with translation JSON).
• Audit Trail: Log every transaction, webhook, KYC decision.
• Scalability:
o Queue jobs for heavy API calls.
o Cron jobs for syncing accounts.
• Reporting Dashboard:
o Trade volumes.
o Top IBs.
o Commission leaderboard.
• Mobile Responsive UI with React/Vue.js frontend option.
• API Layer so CRM can integrate with other systems.
________________________________________
? Deliverable
• Output as Forex-CRM.zip containing:
o /installer → one-click setup wizard.
o /crm → all modules.
o /api → internal API endpoints.
o /config → encrypted config storage.
o /docs → README + setup guide.
________________________________________
? Task for ChatGPT:
Generate the full source code, database schema, and documentation for this Forex CRM as described above. Make sure all workflows are included and extensible.
Recommended Skills
Employer Feedback
“Excellent work! Very happy and satisfied. Highly recommended A++++++++++++++”
positive34, United States.
Top entries from this contest
-
phremo23 Egypt
-
kamrulkhxl Bangladesh
-
jobayedhosen Bangladesh
-
SKYworking India
-
jalalkh Pakistan
-
alfredvasquez Venezuela
-
jnkydv India
-
jnkydv India
-
raselh01 Bangladesh
-
raselh01 Bangladesh
-
tahmidaakters Bangladesh
-
Rajumeah Bangladesh
-
MdAbdulwajad1 Bangladesh
-
salmasiddiqarupa Bangladesh
-
Abdalalhg182 Egypt
-
revoticai Pakistan
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!