MngReplaceGroupMarketWatchTemplate¶
Atomically replaces the complete MarketWatch template of a group. Array order becomes sort_index; duplicate or unknown symbols are rejected. An empty array is valid.
{"command":"MngReplaceGroupMarketWatchTemplate","extID":"1","data":{"group":"real\\standard","symbols":[{"symbol":"EURUSD","color":""},{"symbol":"GBPUSD","color":"#22AA66"}]}}
| Field | Type | Required | Description |
|---|---|---|---|
| group | string | Yes | Immutable group name |
| symbols | array | Yes | Complete ordered template |
| symbols[].symbol | string | Yes | Existing platform symbol |
| symbols[].color | string | No | Optional display color, up to 32 characters |
The operation affects only accounts created afterwards. Use MngResetAccountMarketWatch to apply the current template to an existing account.