Skip to content
METARPC / DEVELOPER GUIDES

Trade copying.
Built with Node.js / TypeScript.

From your first authenticated request to a monitored master–follower workflow. Clear examples, explicit sizing and practical recovery.

Start building → Explore the API
TLS transport · Owner authentication · Demo-first validation
  • 01 · Connect with confidence

    Understand keys, account IDs and transport before sending a request.

    Authentication →

  • 02 · Control the lifecycle

    Start once, inspect state, pause and clean up your test.

    Copier lifecycle →

  • 03 · Make sizing explicit

    Choose lot, balance or equity sizing and account for broker constraints.

    Sizing and settings →

  • 04 · Diagnose the result

    Separate network success from management success and broker execution.

    Troubleshooting →

Your first successful request

Requires Node.js 20+ and npm. Install dependencies and run the read-only List example. Keep your key in MRPC_API_KEY.

const { CopierService } = require('../dist');
(async () => {
  const service = new CopierService('copy.mrpc.pro:443', { userKey: process.env.MRPC_API_KEY });
  try {
    const result = await service.list();
    if (!result.ok) throw new Error(result.error);
    for (const copier of result.copiers) console.log(copier.id, copier.paused);
  } finally { service.close(); }
})().catch(error => { console.error(error.message); process.exitCode = 1; });

Full setup · Testing guide · All SDKs

Watch a real demo failure and recovery

Copier troubleshooting video follows an oversized follower request from its broker rejection through a corrected demo opening and closing. It demonstrates the control-panel workflow; the lifecycle recipes, sizing guide and error guide explain how to apply the checks in this SDK.

Use disposable demo accounts first. Hosted service usage is paid; consult current pricing. A successful management response does not prove that a broker executed the copied trade.