Barfinex
Loading
All exchanges
IG Markets

IG Markets

Coming SoonForex Brokers
connectorType: "ig_markets"

Forex and CFD trading provider

Connection Architecture

IG Markets
WebSocket / REST
Connector
libs/exchange-ig-markets
Provider
:8081/api
Detector
Advisor
Studio

The connector feeds exchange data to Provider. Detector receives market data, Studio receives read views, and Advisor sees only signed candidate evidence.

Technologies

Transport
WebSocketREST
Authentication
API Key + Username + Password
Data Format
JSON

Best for

  • FX and CFD traders needing the widest possible instrument universe under a single regulated broker.
  • Strategies spanning forex, equity CFDs, and commodity CFDs in a unified execution environment.
  • Traders who need both spread betting (UK) and CFD accounts from the same provider.

Connect via code

1Environment variables (.env)

IG_MARKETS_API_KEY=your_key_here
IG_MARKETS_USERNAME=your_username_here
IG_MARKETS_PASSWORD=your_password_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "ig_markets",
        "enabled": true,
        "key": "${IG_MARKETS_API_KEY}",
        "markets": [
          { "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
        ],
        "subscriptions": [
          { "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
          { "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
          { "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
        ]
      }
    ]
  }
}

3Verify and query data

Public verification
1. Configure credentials in the private Provider environment.
2. Verify connector status in the internal Studio/Provider console.
3. Use Barfinex public pages to inspect market data.

Operator Provider commands and tokens remain in internal runbooks only.

Available via Barfinex API

/api/candles/ig_markets/...
/api/trades/ig_markets/...
/api/orderbook/ig_markets/...
/api/account/ig_markets/...
/api/symbols/ig_markets/...
/api/assets/ig_markets/...

Studio graphical setup — in development, coming in the next release.

Important

Uses the same three-credential authentication as IG Group (API key + username + password) with session token refresh required.
IG Markets and IG Group share the same underlying REST API — ensure you target the correct account environment.
Supported Markets
SpotMargin
Websitewww.ig.com
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

Have questions or want to explore Barfinex? Send us a message.