Security conditions and actions
Security class methods for the rule condition and action are listed below.
Conditions
Security attribute | Syntax | Additional information | Return type |
Code | securityCode | String | |
Name | name | String | |
ISIN code | isinCode | String | |
Status code | status | String | |
Type code | type.code | String | |
Subtype code | securitySubType.code | String | |
Issuer | issuer | Contact | |
Currency code | currency | String | |
Country code | country | String | |
Marketplace code | exchange.code | String | |
Trade code | tradeCode | String | |
Update code | updateCode updateCode1 updateCode2 updateCode3 | String | |
Settlement place code | settlement | String | |
Linked portfolio | linkedIndex | Portfolio | |
Class code | classType1 classType2 classType3 classType4 classType5 | String | |
Has a tag | hasTag("$1") | Boolean | |
Does not have a tag | hasNotTag("$1") | Boolean | |
Has a group tag | hasGroupTag("$1") | Boolean | |
Does not have a group tag | hasNotGroupTag("$1") | Boolean |
Actions
Action | Syntax | Additional information | Input type |
Set code | setSecurityCode("$1") | String | |
Set name | setName("$1") | String | |
Add tag or change an existing group tag | setTag("$1") | String | |
Remove a tag | removeTag("$1") | String | |
Set status | setStatus("$1") | String | |
Set Class | setClassType1(services.getConfigurationService().loadClassTypeByCode("$1")) setClassType2(services.getConfigurationService().loadClassType2ByCode("$1")) | String |