Manage Calculation Rules
- From the Setup workspace, click Rules in the left navigation.
You see the Rules workspace with the list of all available calculation rules. - Scroll down to the rule you wish to view or edit.
- On the toolbar, click Edit.
You see the Editing Rule Definition dialog box. - Review and edit the information you wish to change and click Next.
You see the Editing Rule Securities dialog box. - Review and edit the securities filter information you wish to change and click Next.
You see the Editing Rule Calculations dialog box with the names and descriptions on the input and output arguments. - Review and edit the argument information you wish to change. Options include:
–  Calculation. This option selects the calculation used by this rule. When you change this selection, the remaining options are pre-filled with the inputs and outputs defined for the calculation.
–  Input. This option specifies the argument IDs of the input arguments expected by the calculation.
–  Output. This option specifies the database fields that store the calculation results. - Click Save, or click Back to view the previous dialog box.
You see the refreshed list of available rules.
Create a Calculation Rule
To create a new calculation rule:
- From the Setup workspace, click Rules in the left navigation.
You see the Rules workspace with the list of available calculation rules. - On the toolbar, click Create New.
You see the Creating New Rule dialog box. - In the ID text box, enter a unique identifier. If you leave this option blank, the system assigns a unique identifier.
- In the Name text box, enter a name for the calculation.
- In the Description text box, optionally enter a description of the calculation.
- Set Enabled to allow the use of this rule by the system. Or, clear the check box to block use of this rule.
- Set the Analytics Type check box.
You can choose Security Level, Cash Flow, or Trade Level types of analytics. - Set the Include Pricing Center Demand check box, if required.
- Set the Fail Rule when 0 Securities Processed check box, if required.
- Click Next.You see the Editing Rule Securities dialog box.
- Specify the securities filter information you wish to use for the rule. Options include:
–  Security. This is a required option that filters the securities to process.
–  Entity Criteria. This option filters the entities to process by As Of Date and Entity ID. - Click Next.
You see the Editing Rule Calculations dialog box with the names and descriptions on the input and output arguments. - Specify the calculations you wish to use for the rule. Options include:
–  Calculation. This option selects the calculations used by this rule. When you change this selection, the remaining options are pre-filled with the inputs and outputs defined for the calculation.
–  Input. This option specifies the argument IDs of the input arguments expected by the calculation.
–  Output. This option specifies the database fields that store the calculation results. - Click Save, or click Back to view the previous dialog box.
You see the refreshed list of available rules.
Duplicate a Calculation Rule
Eagle recommends that you use calculation copies to preserve the integrity of the initial Eagle Analytics migration package.
To copy the calculation rule to a new filename:
- From the Setup workspace, click Calculations in the left navigation.You see the Calculations workspace with the list of all available calculation rules.
- Scroll down to the calculation rule you wish to duplicate.
- On the toolbar, click Duplicate.
You see the Duplicate dialog box. - Enter a new rule name and click OK.
You see the refreshed list of available rules.
Delete a Calculation Rule
To delete a calculation rule:
- From the Setup workspace, click Calculations in the left navigation.
You see the Calculations workspace with the list of all available calculation rules. - Scroll down to the calculation rule you wish to delete.
- On the toolbar, click Delete.
You see a dialog box reconfirming that you want to delete this calculation rule. - Click Yes to delete the calculation rule, or click No to keep the rule.
You see the refreshed list of available rules.