Follow

Position file validation

Overview

When the position file data is sent to Rapptr, a number of validation checks are run on the data to ensure that Rapptr's rules can process it successfully. In order to format your file so that the file will validate, please refer to our Documentation page.

 

How is the positions file validated?

A number of validation steps take place before the data is sent for checking:

  1. Is the format well-formed? e.g. Can the XML be parsed and interpreted by Rapptr
  2. We apply data overrides & defaults that are configured in the system. This allows you to correct basic data issues coming from your internal systems. These changes will be highlighted in the validation grid when uploading files via the UI.
  3. For each portfolio in the file:
    1. Check if the PortfolioId exists in Rapptr
    2. Check that the NavDate is present and after the InceptionDate
  4. For each Asset or Instrument in the file:
    1. Check if the AssetId or InstrumentId is unique (The AssetId must be unique within the portfolio, the InstrumentId must be globally unique)
    2. Check that all properties are known. If not this can cause the validation to fail unless the "Ignore unknown columns" option is set.
    3. Depending on AssetClass: Check all properties are valid (e.g. CallPut is not valid on an Equity, an Equity cannot have an underlying InstrumentId)
    4. Depending on AssetClass: Check that all mandatory properties are present (e.g. IsCashSettled is required for derivatives)
  5. For each property in the file:
    1. Validate data type (e.g. is the field a valid Integer / Decimal / Date)?
    2. If the property must be from a list of possible values (e.g. countries, currencies etc.), validate that the value is one of the possible values

Tips & tricks

AssetID

  • To make the AssetId unique for cash positions consider appending the Counterparty & perhaps the Account Number to the Currency to make a distinct name for every cash position
  • If your source data system keeps multiple positions in the same instrument consider appending the Counterparty/Custodian to the AssetId to make it unique

Unknown values

  • If a string field is required but is unknown (e.g. Issuer), set the field to be "UNKNOWN". Rapptr can then check for these.
  • If a country is unknown set the value to "??"
  • If a currency is unknown set the value to "???"

See our Control Rules article for more details on Unknown Values.

 

Additional reasons files can fail validation:

  • Essential properties missing (any properties with a red check mark on the Documentation page)
  • Positions file references a portfolio that does not exist in the environment
  • An Instrument references a component InstrumentID that is not present in the positions file
  • An Instrument references its own InstrumentID as its component
  • An invalid input (formatting issues) 
  • InstrumentId has to be different from PortfolioId 
  • Providing underlying that is not valid for that asset class 
  • Processing issues caused by one-off specific incidents
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.