Ramees.Pk
← All work

Oron Limited2026

MT5 Sync Service

Trading data synchronisation for a live Forex platform


Balance and volume data from MetaTrader 5 needs to land in the platform reliably. It was running on Hangfire jobs that were hard to reason about when they failed.

I replaced them with a self-contained worker service — smaller batches, tighter sync intervals, and a dual-table architecture that keeps trading accounts and platform users in step.

Layers delivered

  1. schema — deliveredTables, relationships, indexes, and constraints
  2. stored procedure — deliveredTransactional guards and concurrency control
  3. repository — deliveredData access and persistence boundary
  4. service — deliveredBusiness rules and application logic
  5. controller — not on this projectAPI endpoints, auth, and validation
  6. interface — not on this projectComponents, state, and user interaction

Filled markers are the layers I personally delivered on this project.

Service

  • Built a standalone .NET Worker Service to take over from the Hangfire-based jobs.
  • Tuned batch sizes down and sync frequency up, trading throughput per run for faster recovery when a run fails.
  • Designed a dual-table sync across trading accounts and platform identity records.

Data

  • Stored procedures for balance and volume synchronisation.
  • A transaction mismatch procedure that validates data quality across databases and surfaces discrepancies before they reach reporting.

Back end and data

C#.NETWorker ServicesSQL ServerT-SQL