forex_monthly
Fetch monthly FX time series data for specified currency pairs using the Alpha Vantage API. Input from and to symbols (e.g., EUR/USD) to retrieve data in JSON or CSV format.
Instructions
Fetches monthly time series data for a Forex pair.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
datatype | No | Data format for the response. | json |
from_symbol | Yes | The currency symbol to convert from (e.g., "EUR"). | |
to_symbol | Yes | The currency symbol to convert to (e.g., "USD"). |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"description": "Parameters for fetching weekly/monthly Forex time series data.",
"properties": {
"datatype": {
"default": "json",
"description": "Data format for the response.",
"enum": [
"json",
"csv"
],
"type": "string"
},
"from_symbol": {
"description": "The currency symbol to convert from (e.g., \"EUR\").",
"type": "string"
},
"to_symbol": {
"description": "The currency symbol to convert to (e.g., \"USD\").",
"type": "string"
}
},
"required": [
"from_symbol",
"to_symbol"
],
"type": "object"
}