MetaTrader 5 icon

MetaTrader 5

Interact with MetaTrader 5 trading platform via WebAPI

User Account → Sync External

AI-generated

Summary

Synchronize a user account with an external trading system via the MetaTrader 5 WebAPI

Inputs

  • login — User login number to synchronize, default empty string (auto-resolve based on credentials)

Output shape

object

Returns the MetaTrader 5 WebAPI response from GET /api/user/sync_external?login={login}. When the 'simplify' parameter is true (default), the response is transformed via simplifyUserData() into { Login, Group, Name, Email, MQID, Rights, Balance, Credit, Leverage, LastAccess }; otherwise the raw API payload is returned.

Discussion