Add warnings for NAV calculation
Overview
The default decision table contains the following checks that can be customized:
Negative positions or cash accounts (portfolio)
Market price older than calculation date (portfolio)
Price has changed more than 5 % for stocks (portfolio)
Price has changed more than 1 % for other securities and currencies (portfolio)
Negative cash account balance (portfolio)
Fund performance vs. benchmark differs by more than 1 % (share class)
FX rate has changed more than 5 % (portfolio)
Getting started
You can find the default rules linked below. You should upload the XLSX file to the document bank folder /FundRules. If the folder does not exist yet, create it by uploading your file and renaming it by adding "FundRules/" in front of the file name (for example: "FundRules/myfile.xlsx").
After uploading the rules, go to the GraphiQL for API view and run the following:
mutation updateRules{ reloadFundRules }
How to customize warnings
You can edit or add to these rules:
Open the XLSX file and make your modifications.
Upload the file to the document bank (FundRules folder). If the folder does not exist yet, create it by uploading your file and renaming it by adding "FundRules/" in front of the file name (for example: "FundRules/myfile.xlsx").
After uploading the rules, go to the GraphiQL for API view and run the following:
mutation updateRules{ reloadFundRules }
.