Barfinex
All exchanges
Pepperstone

Pepperstone

Coming SoonForex Brokers
connectorType: "pepperstone"

Australian forex and CFD broker

Connection Architecture

Pepperstone
WebSocket / REST
Connector
libs/exchange-pepperstone
Provider
:8081/api
Detector
Advisor
Studio

The connector receives data from the exchange and feeds it to Provider (port 8081). From there — to Detector, Advisor, and Studio.

Technologies

Transport
REST Polling
Authentication
MT4/MT5 Login + Server
Data Format
JSON
Features
MT4/MT5

Best for

  • ECN/STP traders requiring the lowest possible spreads on major FX pairs and raw pricing feeds.
  • MT4/MT5 algo traders who want to bridge automated strategies with Barfinex signal generation.
  • Multi-asset CFD traders covering 1,200+ instruments with ASIC or FCA regulatory protection.

Connect via code

1Environment variables (.env)

PEPPERSTONE_LOGIN=your_login_here
PEPPERSTONE_PASSWORD=your_password_here
PEPPERSTONE_SERVER=your_server_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "pepperstone",
        "enabled": true,

        "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

# Verify connection
curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \
  https://localhost:8081/api/exchanges/runtime-proof

# Candles (last 7 days)
curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \
  "https://localhost:8081/api/candles/pepperstone/spot/BTCUSDT/h1?days=7"

Available via Barfinex API

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

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

Important

The SERVER credential identifies the MT4/MT5 trade server (e.g., Pepperstone-Edge-Live) — an incorrect server name will prevent connection.
Pepperstone offers separate live and demo server environments; use the correct server for each.
Supported Markets
SpotMargin
Founded2010
HeadquartersMelbourne, Australia
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

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