Interactive Brokers Trigger
AI-generatedSummary
Stream real-time market data updates for a specified security from Interactive Brokers, triggering the workflow based on selected data modes and filtering criteria.
Inputs
- Data Mode (required) — Choose to receive either tick-by-tick market data updates or aggregated 5-second OHLC bars.
- Symbol (required) — The stock or security symbol to monitor for real-time quotes.
- Security Type (required) — The type of security to monitor, such as Stock, Option, Future, or Forex.
- Exchange — Specifies the exchange to use for market data, defaulting to 'SMART'.
- Currency — The currency of the contract, defaulting to 'USD'.
- Trigger On — For tick data mode, controls whether to trigger on all updates, only price changes, or bid/ask updates.
- Minimum Price Change (%) — For tick data mode with price change triggering, the minimum percentage price change required to trigger (0 means any change).
- Update Interval (Seconds) — For tick data mode, specifies the minimum interval between workflow triggers to throttle executions.
- Snapshot Mode — For tick data mode, option to request a one-time snapshot instead of continuous streaming.
- Include Regulatory Snapshot — For tick data mode, whether to include regulatory snapshot data in the feed.
- What to Show — For 5-second bars mode, selects the type of data to show: Trades, Midpoint, Bid, or Ask.
- Use Regular Trading Hours — For 5-second bars mode, specifies whether to use only regular trading hours or include all hours.
Output shape
emits a stream of JSON objects representing either tick updates or 5-second bar data for the specified symbol, each output as a workflow execution trigger
For ticks mode, triggered data can be filtered by trigger conditions and throttled by update interval; for bars mode, a complete OHLC bar is emitted every 5 seconds during connection. Connection errors and reconnection events are logged internally, and workflow triggers are emitted only on matching conditions.