OANDA
Coming SoonForex Brokers
connectorType: "oanda"Leading forex and CFD broker
Connection Architecture
OANDA
WebSocket / REST→
Connector
libs/exchange-oanda→
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
SSEREST
Authentication
Bearer TokenData Format
JSONFeatures
Server-Sent Events
Best for
- Forex algo traders requiring a well-documented REST API with consistent historical data going back decades.
- Strategies needing real-time bid/ask streaming across 70+ major, minor, and exotic FX pairs.
- Risk-managed CFD portfolios covering indices, commodities, and metals alongside FX.
Connect via code
1Environment variables (.env)
OANDA_API_KEY=your_key_here OANDA_ACCOUNT_ID=your_account_id_here
2Connector configuration
// config/config.provider.json
{
"provider": {
"connectors": [
{
"connectorType": "oanda",
"enabled": true,
"key": "${OANDA_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/oanda/...
/api/trades/oanda/...
/api/orderbook/oanda/...
/api/account/oanda/...
/api/symbols/oanda/...
/api/assets/oanda/...
Studio graphical setup — in development, coming in the next release.
Important
Price streaming uses SSE (Server-Sent Events), not WebSocket — ensure your infrastructure handles persistent HTTP connections correctly.
Separate practice (fxTrade Practice) and live API base URLs must be configured explicitly.
Connect in Studio(soon)
Exchange Website