forex_weekly
Retrieve weekly forex time series data for specific currency pairs. Specify input and output currencies, and choose response format as JSON or CSV.
Instructions
Fetches weekly 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"
}