convert_currency_specific_date
Convert currency values for a specific date using historical exchange rates. If the exact date is unavailable, the closest prior date's rate is applied. Supports accurate financial analysis and record-keeping.
Instructions
Convert an amount from one currency to another using the exchange rates for a specific date. If there is no exchange rate available for the specific date, the rate for the closest available date before the specified date will be used.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | The amount in the source currency to convert. | |
from_currency | Yes | The source currency code. | |
specific_date | Yes | The specific date for which the conversion is requested in the YYYY-MM-DD format. | |
to_currency | Yes | The target currency code. |