Barfinex
All exchanges
Saxo Bank

Saxo Bank

Coming SoonEuropean Brokers
connectorType: "saxo_bank"

Multi-asset trading and investment platform

Connection Architecture

Saxo Bank
WebSocket / REST
Connector
libs/exchange-saxo-bank
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
WebSocketREST
Authentication
OAuth 2.0
Data Format
JSON
Features
OAuth 2.0UIC Resolution

Best for

  • Professional and institutional traders requiring the widest multi-asset universe in a single gateway.
  • FX and fixed-income desks needing deep liquidity across major and exotic currency pairs.
  • Portfolio managers who combine equities, bonds, and derivatives under one custodian.

Connect via code

1Environment variables (.env)

SAXO_APP_KEY=your_app_key_here
SAXO_APP_SECRET=your_app_secret_here
SAXO_ACCESS_TOKEN=your_access_token_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "saxo_bank",
        "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/saxo_bank/spot/BTCUSDT/h1?days=7"

Available via Barfinex API

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

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

Important

Access tokens expire every 20 minutes; implement the OAuth2 refresh flow before each API call.
Saxo OpenAPI requires a registered application via the developer portal — retail accounts alone are not sufficient.
Supported Markets
SpotFuturesMargin
Founded1992
HeadquartersCopenhagen, Denmark
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

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