Broker — IC Markets EU + cTrader Open API

Decision

IC Markets EU (icmarkets.eu) is the chosen broker for mi-casa. It covers all five tracked symbols under a single account and exposes a fully open, WebSocket-capable API (cTrader Open API) suited for programmatic trade execution and real-time tick data streaming.


Why IC Markets EU

CriterionDetail
Single broker for all 5 symbolsEUR/USD, XAU/USD (Gold), WTI/USD (Oil), BTC/USD, and ETH/USD are all available as CFDs — no split-broker approach needed
EU-regulated (CySEC)Strong investor protections, €20,000 compensation fund per client, negative balance protection
cTrader platformThe only major platform with a fully open, WebSocket-capable API (cTrader Open API by Spotware) for programmatic execution and real-time streaming
ECN/STP executionNo dealing desk, tight spreads, ~66ms average execution
No local gatewayUnlike IBKR’s TWS API, no local process required

Symbol coverage

SymbolSupportedNotes
EUR/USDForex pair
XAU/USDCFD (Gold)
WTI/USDCFD (Oil)
BTC/USDCFD (Crypto)
ETH/USDCFD (Crypto)

Account Type — Raw Spread

The Raw Spread account is the lowest-cost option for algorithmic/frequent trading.

Account typeSpread (from)Commission per lot (round-turn)Minimum deposit
Raw Spread0.0 pips$7 per lot$200
Standard0.8 pipsNone$200

The Raw Spread account has lower effective cost per trade at any reasonable volume because the zero spread offsets the flat commission. It is the standard choice for algo traders.


Live Tick Data — cTrader Open API (WebSocket)

IC Markets EU runs on the cTrader platform, which exposes the cTrader Open API (by Spotware) for live tick streaming.

Connection details

PropertyValue
WebSocket endpointwss://live1.p.ctrader.com:5035
AuthOAuth2 via connect.spotware.com — register an app to get a Client ID + Client Secret
Demo endpointAvailable for development/testing before going live

Tick subscription flow

  1. Authenticate via OAuth2 — exchange credentials for an access token
  2. Open WebSocket to wss://live1.p.ctrader.com:5035
  3. Send ProtoOASubscribeSpotsReq (Protobuf message) with target symbol ID(s)
  4. Listen for ProtoOASpotEvent messages — bid/ask per symbol, real-time

Resources

Production note: The cTrader Open API is now the sole market data source for both live ticks and historical backfill (see OHLC Service — Candle Data Flow).


Previous Options Evaluated

The following options were evaluated before settling on IC Markets EU:

OptionReason not chosen
OandaCrypto (BTC/ETH) coverage is region-dependent; not guaranteed for EU accounts
Interactive Brokers (IBKR)TWS API requires a local gateway process; Client Portal API auth is more complex; higher account requirements
Split approach (Oanda + Binance)Two broker integrations to maintain; dual credentials and error-handling surface; added operational complexity