Capital.com (Unofficial) Trigger icon

Capital.com (Unofficial) Trigger

Stream live Capital.com market data over WebSocket

Capital.com (Unofficial) Trigger

AI-generated

Summary

Streams live Capital.com quote updates or OHLC candle updates for selected markets over WebSocket, emitting matching messages as n8n items. Requires Capital.com API credentials and reconnects after socket closure.

Inputs

  • Stream — Choose Prices for live quote/tick updates (default) or Candles for OHLC updates.
  • EPICs (required) — Comma-separated market EPICs to subscribe to. Values are trimmed; at least one and no more than 40 are allowed.
  • Resolutions — For Candles only, comma-separated candle resolutions; defaults to MINUTE.
  • Emit All Messages — Defaults to false, emitting only quote or OHLC data messages. When enabled, also emits other valid parsed WebSocket messages, such as acknowledgements and ping replies.

Output shape

A stream of items, each containing one emitted WebSocket message as JSON.

By default, only messages with destination quote or ohlc.event are emitted. The trigger maintains the connection with periodic pings and reconnects after socket closure; stopping the trigger closes the socket.

Links

Discussion