← All work · Trading & Fintech

Copy Trading, PAMM & MAM System

Master trades mirrored to followers with lot scaling, allocations and performance fees.

Role: Architect & full-stack lead

The challenge

Investors wanted to follow professional traders automatically, and money managers needed pooled (PAMM) and multi-account (MAM) structures — with fair allocation and transparent fees.

The solution

An event-driven copier that streams master trades and fans them out to followers, scaling lots by equity ratio and settling performance fees. Separate portals for investors, masters and administrators.

What was built

  • Lot scaling and equity-ratio allocation per follower
  • PAMM pooled accounts and MAM multi-account management
  • Performance-fee calculation and settlement
  • Investor, Master and Admin portals
  • Event streaming between trading servers and services

Outcome

  • Managed-account products (copy, PAMM, MAM) on one engine
  • Followers see exactly how each copied trade was sized

Technology

Node.js, Kafka, Next.js, MUI, MT5

Case study by Shahfayaz Khan.