GetDashboardAccountStatsByGroupMask¶
Returns live account totals from the in-memory account cache. It does not read trade or historical equity data.
Request¶
{"group_mask":"*"}
Response¶
{
"total_accounts": 124,
"total_online_accounts": 12,
"total_balance": 205000.5,
"total_margin": 14300.2,
"total_balance_accounts": 110,
"total_credit": 3500.0,
"total_bonus": 1200.0
}
total_online_accounts is the number of accounts in the resulting group set
whose terminal session is currently marked online (AccountRecord.online != 0).
It is a live runtime value updated when terminal WebSocket sessions connect,
switch accounts, or disconnect, and is a subset of total_accounts.
Access: SESSION_MANAGER, SESSION_ADMIN, SESSION_DEALER. The requested mask
is intersected with the manager's visible groups.