This function is a method for exchange rates and amounts. It translates an amount in a base currency into an amount in a target currency for a key date by applying the exchange rates valid on that date. The following must be established for this method:
The amount and the base currency
The translation date (key date)
The exchange rate category
The target currency
The exchange rate category is required in order to read the correct exchange rate for the translation. The two following call variants (interface parameters) are provided:
Input/Output |
Variant 1 |
Variant 2 |
---|---|---|
Input |
Base currency |
Base currency |
Input |
Base amount (to be translated) |
Base amount (to be translated) |
Input |
Target currency |
Target currency |
Input |
Key date |
Exchange rate (base/target currency) |
Input |
Exchange Rate Category |
- |
Output |
Amount (in target currency) |
Amount (in target currency) |
Output |
Event log |
Event log |
The system reads the exchange rate required for translating the currency in accordance with variant 1 from the market database. As the exchange rate is supplied directly for variant 2, you do not need to store it in the market data tables. It could be the result of a simulation process, such as in the case for market risk applications.