get_exchange_rate
Retrieve the Central Bank's PTAX buy/sell exchange rate for a currency on a specified business date. Use it to access official currency quotes for historical dates.
Instructions
Get the buy/sell exchange rate of a currency on a specific date.
Returns the Central Bank's PTAX rates (buy/sell) for the given date. Note: quotes are only available on business days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Quote date in YYYY-MM-DD format. Use a business day; weekends and holidays have no quote. | |
| currency | Yes | Foreign currency symbol (e.g. USD, EUR). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||