Skip to content

Update symbol group

UpdateSymbolGroup

Description:
Updates an existing symbol group (security group) with new settings like name, visibility, trading enablement, parent group, and order index.

Access Control

🛡️ Access Level Required: SESSION_ADMIN, SESSION_MANAGER, SESSION_DEALER


Endpoint

This method is routed internally as UpdateSymbolGroup.


Request Parameters

Name Type Required Description
sec_index int Yes ID of the existing symbol group to update
sort_index int No Optional display order index
trade int Yes Indicates if the group is tradable (1 = enabled, 0 = disabled)
show int Yes Indicates if the group is visible in the UI (1 = visible, 0 = hidden)
parent_sec_index int Yes ID of the parent security group (for hierarchy)
name string Yes Name of the symbol group (1–64 characters)
description string Yes Description of the group (up to 256 characters)

Request Example

{
  "sec_index": 101,
  "sort_index": 2,
  "trade": 1,
  "show": 1,
  "parent_sec_index": 10,
  "name": "Updated Commodities",
  "description": "Updated group for metals and energy trading instruments"
}

Response Example

{
  "data": "OK"
}

Error Responses

Validation Error

{
  "error": "INVALID_DATA",
  "message": "sec_index is required"
}

Update Failure

{
  "error": "UPDATE_SECURITIES_ERROR"
}