fx_spot_date
Calculate the T+2 spot value date for a currency pair from a weekday trade date and return the applicable convention.
Instructions
T+2 spot value date for a currency pair such as EURUSD or USD/JPY (USD, EUR, GBP, JPY, AUD, NZD) and a weekday trade date (YYYY-MM-DD). The result states the convention.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pair": "<pair>",
"trade_date": "<trade_date>"
},
"name": "fx_spot_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | ||
| trade_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||