realtime_bars_stream_subscribe
Subscribe to 5-second realtime bars for a contract, enabling MCP-compatible AI agents to stream live Interactive Brokers market data.
Instructions
Subscribe to 5-second realtime bars.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "realtime_bars_stream_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conId | No | ||
| symbol | No | ||
| useRTH | No | ||
| secType | No | ||
| currency | No | ||
| exchange | No | ||
| whatToShow | No | TRADES, MIDPOINT, BID, ASK |