MT5 — Account
Get account information
GET /api/external/instances/{accountId}/account — live balance/equity/margin from the terminal.
Requires the instance to be RUNNING (see preconditions).
curl -s "$ATLAS_BASE_URL/api/external/instances/5012345/account" \
-H "Authorization: Bearer $ATLAS_API_KEY"
{
"success": true,
"data": {
"accountId": "5012345",
"balance": 10000.0,
"equity": 10142.5,
"margin": 210.4,
"freeMargin": 9932.1,
"leverage": 500,
"currency": "USD",
"server": "ICMarketsSC-Demo",
"name": "John Trader"
}
}