Setting up the FX file
The FX file supplies exchange rate information for use when
- local currency returns are not supplied, and need to be calculated from base currency returns; or
- base currency returns are not supplied, and need to be calculated from local currency returns.
FX rates are usually measured against a base currency, typically the US dollar. Note that because the rates in this files are used to calculate returns, FIA uses the ratios of rates rather than absolute values. There is therefore no need to specify which base currency is being used.
All rows in the FX file must conform to the following format:
|1||Date||Date||31/12/12||Yes||Date of current record, using the date format supplied in the DateFormat or FXDateFormat strings|
|2||Currency||String||AUD||Yes||Must be a string with at least 3 characters|
|3||Value||Double||0.25||Yes||Value of exchange rate at given date|
The tuple (Date, Currency) must be unique. Duplicate index entries within the same file will generate an error.
Entries in the Date column must conform to the relevant date format string in the project’s configuration file.
Name of current index
Value of current index