Forex Intraday Prices
GetForexIntradayPricesGet price candles within the day for ONE forex currency pair (EUR/USD), newest first: open, high, low, close in the second currency, volume in the first and trades, around the clock. interval is any whole minutes from 1min (default) to 240min, or 1hour to 4hour, counted from midnight UTC. Defaults to the last 7 days (30 for hourly); startDate and endDate set another, back to the pair's first trade. A period without trades has no candle. A cut answer names the next endTime. Candles are added some minutes after they end; the answer says how far they reach. Plus reads a candle 15 minutes after it ends, Free gets an upgrade note. Rates are one exchange's trades. GetForexPrices has daily candles, GetForexQuote the latest rate.
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>"
},
"name": "GetForexIntradayPrices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Currency pair, e.g. EUR/USD; EURUSD and EUR-USD also work | |
| endDate | No | Last UTC day in YYYY-MM-DD format (default: today) | |
| endTime | No | Return only candles that start before this RFC 3339 time; replaces endDate | |
| interval | No | Candle size: whole minutes from 1min to 240min (e.g. 5min, 15min), or 1hour to 4hour (default: 1min) | 1min |
| startDate | No | First UTC day in YYYY-MM-DD format (default: 7 days before the end, 30 for hourly intervals) | |
| maxResults | No | Maximum candles to return, newest first (default: 60, max: 500) |