get_intraday_bars
Retrieve intraday OHLCV bars for one Bloomberg security over a UTC date range; set event type (trade/bid/ask) and bar interval from 1 to 1440 minutes.
Instructions
Intraday OHLCV bars for a single security (BLPAPI IntradayBarRequest).
Bloomberg keeps roughly 140 days of intraday history.
Args: security: A single Bloomberg ticker, e.g. "IBM US Equity". start_datetime: ISO-8601, interpreted as UTC, e.g. "2024-01-15T13:30:00". end_datetime: ISO-8601, interpreted as UTC. event_type: TRADE | BID | ASK | BEST_BID | BEST_ASK. interval_minutes: Bar width, 1-1440.
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": {
"security": "<security>",
"start_datetime": "<start_datetime>",
"end_datetime": "<end_datetime>"
},
"name": "get_intraday_bars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| security | Yes | ||
| event_type | No | TRADE | |
| end_datetime | Yes | ||
| start_datetime | Yes | ||
| interval_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||