Skip to content

Security Settings Event

When a symbol security group is updated, the server can send the sc event to connected managers that are allowed to see the changed security. The update event contains one tuple for the changed sec_index:

["sc", [[12, 2, 2.5, 0, 0]], 1]

The tuple fields are:

Index Field Type Description
0 sec_index integer Updated Security identifier.
1 sort_index integer Display order.
2 comm_base number Base commission rate/value.
3 comm_type integer 0 money, 1 points, 2 percent.
4 comm_lots integer 0 per lot, 1 per deal.

The final array item is the record event code; 1 is EV_RECORD_UPDATE. The payload contains only the changed Security tuple, not the complete security list. The owner receives the update. Other recipients must be enabled back-office managers in a brand to which the Security is published. Brand admins may receive it directly; other managers also need market_watch access and an in-scope group where the Security is visible.

Use the tuple to refresh the displayed Security record. The event does not contain account-specific effective commissions; the effective values still depend on the full Security → Symbol → Group Security → Group Symbol hierarchy.

Full symbol reindex notifications use the same sc array marker but are broadcast to the owner and can contain multiple Security tuples. See ReindexSymbols.