04.01. Rules
Brokers can set various rules to specify which trading accounts or groups use one of the chosen calculation types. All filters altogether - Accounts, User Comments, Colors - have to match with an account in order to trigger a credit out (AND logic). Also note that the filters accept multiple comma-separated values, at least one of these values has to match in order to turn the filter true (OR logic).
Example:
Target account: Login: 1234; Color: black; Group: USA123; Comment in the profile: VIP
Rules with filters:
- Accounts:
USA*, 12345, 345; User Comments:VIP, MyComment; Colors:*- match. - Accounts:
12345, 345;User Comments:VI*; Colors:yellow, black, red- mismatch.
Parameters in Rules
- NameName of the rule.Example values:
MyRule Rule1 - EnabledToggle switching the rule on and off.
- AccountsAccounts and/or groups which will be tracked by the application. Accepts comma-separated lists. Accepts masks:
*(all) and!(excluding)Example values:12345, 210, Group1, VIPtraders !Texas, USA/* !USA, * - User CommentsAccounts with the specified comment in their profile are subject to the rule. If the comments don’t match, accounts are ignored.Multiple comma-separated variants of the target comment are allowed. Accepts masks:
*and!Example values:Get these accs Get* !*these*,* Accs1,Accs2 - ColorsAccounts with certain colors. Accepts comma-separated lists of colors in RGB, HEX, and text formats. Accepts masks:
*and!Example values:Red, 255*255*30 ffffab !Black,* - Compare TypeCalculation formula type for credit out behaviour.
- PercentageA percentage value for a calculation result to be compared with.Example values:
100 200 - CommentA custom comment of credit out operations.Example values:
Creditout:eq<credit co:risky ml%