Convert between USD and COP at official TRM
convert_usd_copConvert an amount between USD and COP using Colombia's official TRM exchange rate for a given date, defaulting to today.
Instructions
Convert an amount between USD and COP using the official TRM of a given date (defaults to today). Source: TRM certified by the Superintendencia Financiera de Colombia, published on datos.gov.co (dataset 32sa-8pi3).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | TRM date to use (YYYY-MM-DD, omit for today) | |
| amount | Yes | Amount to convert | |
| direction | Yes | Conversion direction |